/* style/resources-188k-registration-bonus-guide.css */

/* Căn chỉnh padding-top cho phần nội dung đầu tiên để không bị header cố định che khuất */
.page-resources-188k-registration-bonus-guide__first-section {
  padding-top: 120px; /* Desktop */
}

@media (max-width: 768px) {
  .page-resources-188k-registration-bonus-guide__first-section {
    padding-top: 100px; /* Mobile */
  }
}

.page-resources-188k-registration-bonus-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Mặc định cho nền tối của body */
  background-color: #121212; /* Nền body từ shared.css */
}

.page-resources-188k-registration-bonus-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-188k-registration-bonus-guide__section {
  padding: 60px 0;
  text-align: center;
}

/* Màu nền thông minh */
.page-resources-188k-registration-bonus-guide__dark-bg {
  background-color: #0d0d0d; /* Nền tối hơn cho các section */
  color: #ffffff;
}

.page-resources-188k-registration-bonus-guide__light-bg {
  background-color: #f9f9f9;
  color: #333333;
}

.page-resources-188k-registration-bonus-guide__section-title {
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffffff;
  font-weight: 700;
}

.page-resources-188k-registration-bonus-guide__light-bg .page-resources-188k-registration-bonus-guide__section-title {
  color: #003366;
}

.page-resources-188k-registration-bonus-guide__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-188k-registration-bonus-guide__light-bg .page-resources-188k-registration-bonus-guide__text-block {
  color: #555555;
}

/* Hero Banner Section */
.page-resources-188k-registration-bonus-guide__hero-banner {
  background: linear-gradient(135deg, #003366, #1a4a7e);
  padding: 80px 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-resources-188k-registration-bonus-guide__hero-banner .page-resources-188k-registration-bonus-guide__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-resources-188k-registration-bonus-guide__hero-content {
  flex: 1;
  max-width: 60%;
  padding-left: 20px;
}

.page-resources-188k-registration-bonus-guide__hero-title {
  font-size: 48px;
  color: #ffd700; /* Vàng */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-188k-registration-bonus-guide__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-188k-registration-bonus-guide__hero-image-wrapper {
  flex: 1;
  max-width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-188k-registration-bonus-guide__hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  display: block;
}

/* Buttons */
.page-resources-188k-registration-bonus-guide__btn-primary {
  display: inline-block;
  background-color: #FFA500; /* Cam */
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-188k-registration-bonus-guide__btn-primary:hover {
  background-color: #ffb732;
  transform: translateY(-2px);
}

.page-resources-188k-registration-bonus-guide__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #ffd700;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #ffd700;
  cursor: pointer;
}

.page-resources-188k-registration-bonus-guide__btn-secondary:hover {
  background-color: #ffd700;
  color: #000000;
  transform: translateY(-2px);
}

.page-resources-188k-registration-bonus-guide__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Card Styles */
.page-resources-188k-registration-bonus-guide__card {
  background: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  height: 100%;
  box-sizing: border-box;
}

.page-resources-188k-registration-bonus-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-188k-registration-bonus-guide__card .page-resources-188k-registration-bonus-guide__text-contrast-fix {
  color: #333333; /* Đảm bảo màu chữ tối trên nền trắng */
}

/* Guide Grid */
.page-resources-188k-registration-bonus-guide__guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-188k-registration-bonus-guide__guide-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-resources-188k-registration-bonus-guide__guide-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-resources-188k-registration-bonus-guide__guide-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #003366;
}

.page-resources-188k-registration-bonus-guide__guide-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Terms Grid */
.page-resources-188k-registration-bonus-guide__terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-188k-registration-bonus-guide__term-item {
  text-align: left;
}

.page-resources-188k-registration-bonus-guide__term-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #003366;
}

.page-resources-188k-registration-bonus-guide__term-description {
  font-size: 16px;
  color: #555555;
}

/* Benefits Grid */
.page-resources-188k-registration-bonus-guide__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-188k-registration-bonus-guide__benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-resources-188k-registration-bonus-guide__benefit-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-resources-188k-registration-bonus-guide__benefit-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #003366;
}

.page-resources-188k-registration-bonus-guide__benefit-description {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

/* FAQ Section */
.page-resources-188k-registration-bonus-guide__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-resources-188k-registration-bonus-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-188k-registration-bonus-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-188k-registration-bonus-guide__faq-item.active .page-resources-188k-registration-bonus-guide__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #2a2a2a;
  border-radius: 0 0 5px 5px;
}

.page-resources-188k-registration-bonus-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-188k-registration-bonus-guide__faq-question:hover {
  background: #222222;
  border-color: #444444;
}

.page-resources-188k-registration-bonus-guide__faq-question:active {
  background: #282828;
}

.page-resources-188k-registration-bonus-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff; /* Đảm bảo chữ trắng trên nền tối */
}

.page-resources-188k-registration-bonus-guide__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffd700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-resources-188k-registration-bonus-guide__faq-item.active .page-resources-188k-registration-bonus-guide__faq-toggle {
  color: #FFA500;
  transform: rotate(45deg);
}

/* Call to Action Section */
.page-resources-188k-registration-bonus-guide__call-to-action {
  background: linear-gradient(135deg, #003366, #FFA500);
  padding: 80px 0;
}

.page-resources-188k-registration-bonus-guide__call-to-action-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-188k-registration-bonus-guide__call-to-action .page-resources-188k-registration-bonus-guide__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-resources-188k-registration-bonus-guide__call-to-action .page-resources-188k-registration-bonus-guide__text-block {
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-188k-registration-bonus-guide__hero-banner .page-resources-188k-registration-bonus-guide__container {
    flex-direction: column;
    text-align: center;
  }
  .page-resources-188k-registration-bonus-guide__hero-content {
    max-width: 100%;
    padding-left: 0;
  }
  .page-resources-188k-registration-bonus-guide__hero-image-wrapper {
    max-width: 80%;
    margin-top: 30px;
  }
  .page-resources-188k-registration-bonus-guide__hero-title {
    font-size: 40px;
  }
  .page-resources-188k-registration-bonus-guide__hero-description {
    font-size: 18px;
  }
  .page-resources-188k-registration-bonus-guide__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-resources-188k-registration-bonus-guide__hero-banner {
    padding: 60px 0;
  }
  .page-resources-188k-registration-bonus-guide__hero-title {
    font-size: 32px;
  }
  .page-resources-188k-registration-bonus-guide__hero-description {
    font-size: 16px;
  }
  .page-resources-188k-registration-bonus-guide__section {
    padding: 40px 0;
  }
  .page-resources-188k-registration-bonus-guide__section-title {
    font-size: 28px;
  }
  .page-resources-188k-registration-bonus-guide__text-block {
    font-size: 16px;
  }
  .page-resources-188k-registration-bonus-guide__btn-primary,
  .page-resources-188k-registration-bonus-guide__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-resources-188k-registration-bonus-guide__btn-large {
    padding: 15px 30px;
    font-size: 18px;
  }
  .page-resources-188k-registration-bonus-guide__guide-grid,
  .page-resources-188k-registration-bonus-guide__terms-grid,
  .page-resources-188k-registration-bonus-guide__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-188k-registration-bonus-guide__guide-icon,
  .page-resources-188k-registration-bonus-guide__benefit-icon {
    width: 100px;
    height: 100px;
  }
  .page-resources-188k-registration-bonus-guide__guide-title,
  .page-resources-188k-registration-bonus-guide__term-title,
  .page-resources-188k-registration-bonus-guide__benefit-title {
    font-size: 20px;
  }
  .page-resources-188k-registration-bonus-guide__guide-description,
  .page-resources-188k-registration-bonus-guide__term-description,
  .page-resources-188k-registration-bonus-guide__benefit-description {
    font-size: 15px;
  }
  .page-resources-188k-registration-bonus-guide__faq-question {
    padding: 15px;
  }
  .page-resources-188k-registration-bonus-guide__faq-question h3 {
    font-size: 16px;
  }
  .page-resources-188k-registration-bonus-guide__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-resources-188k-registration-bonus-guide__faq-item.active .page-resources-188k-registration-bonus-guide__faq-answer {
    padding: 15px !important;
  }
  .page-resources-188k-registration-bonus-guide__call-to-action {
    padding: 60px 0;
  }

  /* Mobile image adaptive styles */
  .page-resources-188k-registration-bonus-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-188k-registration-bonus-guide__section,
  .page-resources-188k-registration-bonus-guide__card,
  .page-resources-188k-registration-bonus-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Text contrast fix */
.page-resources-188k-registration-bonus-guide__text-contrast-fix {
  color: #333333; /* Default for light backgrounds */
}
.page-resources-188k-registration-bonus-guide__dark-bg .page-resources-188k-registration-bonus-guide__text-contrast-fix {
  color: #ffffff; /* For dark backgrounds */
}

/* Ensure strong elements have proper contrast */
.page-resources-188k-registration-bonus-guide strong {
  color: inherit; /* Inherit from parent for contrast */
  font-weight: bold;
}
.page-resources-188k-registration-bonus-guide__light-bg strong {
  color: #003366;
}
.page-resources-188k-registration-bonus-guide__dark-bg strong {
  color: #ffd700;
}