/* style/promotions-new-member-bonus.css */
/* body đã padding-top: var(--header-offset)；trang này cấm viết lại biến đó */

:root {
  --mv66-primary-color: #11A84E;
  --mv66-secondary-color: #22C768;
  --mv66-bg-dark: #08160F;
  --mv66-card-bg: #11271B;
  --mv66-text-main: #F2FFF6;
  --mv66-text-secondary: #A7D9B8;
  --mv66-border-color: #2E7A4E;
  --mv66-glow-color: #57E38D;
  --mv66-gold-color: #F2C14E;
  --mv66-divider-color: #1E3A2A;
  --mv66-deep-green: #0A4B2C;
  --mv66-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-promotions-new-member-bonus {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--mv66-text-main); /* Mặc định cho nền tối của body */
  background-color: var(--mv66-bg-dark);
}

.page-promotions-new-member-bonus__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Chỉ một khoảng cách nhỏ, body đã xử lý header offset */
  background-color: var(--mv66-bg-dark);
  overflow: hidden;
}

.page-promotions-new-member-bonus__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-promotions-new-member-bonus__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-promotions-new-member-bonus__hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
  color: var(--mv66-text-main);
}

.page-promotions-new-member-bonus__main-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--mv66-gold-color);
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions-new-member-bonus__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--mv66-text-secondary);
}

.page-promotions-new-member-bonus__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-promotions-new-member-bonus__btn-primary,
.page-promotions-new-member-bonus__btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Cho phép xuống dòng */
  word-wrap: break-word; /* Ngắt từ khi cần */
  max-width: 100%;
}

.page-promotions-new-member-bonus__btn-primary {
  background: var(--mv66-btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-promotions-new-member-bonus__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-promotions-new-member-bonus__btn-secondary {
  background: transparent;
  color: var(--mv66-secondary-color);
  border: 2px solid var(--mv66-secondary-color);
}

.page-promotions-new-member-bonus__btn-secondary:hover {
  background: rgba(34, 199, 104, 0.1);
  transform: translateY(-3px);
}

.page-promotions-new-member-bonus__btn-large {
  font-size: 1.2em;
  padding: 18px 35px;
}

.page-promotions-new-member-bonus__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-promotions-new-member-bonus__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--mv66-gold-color);
}

.page-promotions-new-member-bonus__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--mv66-text-secondary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-member-bonus__benefits-section {
  background-color: var(--mv66-bg-dark);
  padding: 80px 0;
  color: var(--mv66-text-main);
}

.page-promotions-new-member-bonus__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-promotions-new-member-bonus__benefit-card,
.page-promotions-new-member-bonus__feature-card {
  background-color: var(--mv66-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--mv66-border-color);
  transition: transform 0.3s ease;
}

.page-promotions-new-member-bonus__benefit-card:hover,
.page-promotions-new-member-bonus__feature-card:hover {
  transform: translateY(-5px);
}

.page-promotions-new-member-bonus__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Đảm bảo hình ảnh không bị lỗi hiển thị */
}

.page-promotions-new-member-bonus__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--mv66-primary-color);
}

.page-promotions-new-member-bonus__card-text {
  color: var(--mv66-text-secondary);
}

.page-promotions-new-member-bonus__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-promotions-new-member-bonus__how-to-claim-section {
  background-color: var(--mv66-deep-green);
  padding: 80px 0;
  color: var(--mv66-text-main);
}

.page-promotions-new-member-bonus__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-promotions-new-member-bonus__step-card {
  position: relative;
  padding-top: 60px; /* Để chứa icon số bước */
}

.page-promotions-new-member-bonus__step-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--mv66-btn-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  color: #ffffff;
  border: 3px solid var(--mv66-gold-color);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
}

.page-promotions-new-member-bonus__terms-section {
  background-color: var(--mv66-bg-dark);
  padding: 80px 0;
  color: var(--mv66-text-main);
}

.page-promotions-new-member-bonus__terms-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-member-bonus__terms-list li {
  background-color: var(--mv66-card-bg);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 5px solid var(--mv66-primary-color);
  color: var(--mv66-text-secondary);
}

.page-promotions-new-member-bonus__text-block {
  font-size: 1.05em;
  margin-bottom: 30px;
  color: var(--mv66-text-secondary);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-member-bonus__why-choose-section {
  background-color: var(--mv66-deep-green);
  padding: 80px 0;
  color: var(--mv66-text-main);
}

.page-promotions-new-member-bonus__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions-new-member-bonus__feature-icon {
  width: 200px; /* Kích thước tối thiểu 200px */
  height: 150px; /* Kích thước tối thiểu 200px */
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
}

.page-promotions-new-member-bonus__faq-section {
  background-color: var(--mv66-bg-dark);
  padding: 80px 0;
  color: var(--mv66-text-main);
}

.page-promotions-new-member-bonus__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-new-member-bonus__faq-item {
  background-color: var(--mv66-card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--mv66-border-color);
  overflow: hidden;
}

.page-promotions-new-member-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--mv66-primary-color);
  cursor: pointer;
  list-style: none; /* Cho details/summary */
}

.page-promotions-new-member-bonus__faq-question::-webkit-details-marker {
  display: none; /* Ẩn marker mặc định cho Chrome */
}

.page-promotions-new-member-bonus__faq-toggle {
  font-size: 1.5em;
  color: var(--mv66-gold-color);
  transition: transform 0.3s ease;
}

.page-promotions-new-member-bonus__faq-item[open] .page-promotions-new-member-bonus__faq-toggle {
  transform: rotate(45deg); /* Xoay dấu + thành X hoặc - */
}

.page-promotions-new-member-bonus__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--mv66-text-secondary);
}

.page-promotions-new-member-bonus__faq-answer p {
  margin: 0;
}

.page-promotions-new-member-bonus__final-cta-section {
  background-color: var(--mv66-primary-color);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  background-image: url('[GALLERY:bg:1920x400:mv66_final_cta_background,abstract_green_pattern,gold_accents]') !important;
  background-size: cover;
  background-position: center;
}

.page-promotions-new-member-bonus__final-cta-section .page-promotions-new-member-bonus__section-title {
  color: var(--mv66-gold-color);
}

.page-promotions-new-member-bonus__final-cta-section .page-promotions-new-member-bonus__section-description {
  color: #ffffff;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-promotions-new-member-bonus__main-title {
    font-size: 2.8em;
  }

  .page-promotions-new-member-bonus__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-member-bonus__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-promotions-new-member-bonus__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions-new-member-bonus__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-promotions-new-member-bonus__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-promotions-new-member-bonus__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions-new-member-bonus__btn-primary,
  .page-promotions-new-member-bonus__btn-secondary,
  .page-promotions-new-member-bonus a[class*="button"],
  .page-promotions-new-member-bonus a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-new-member-bonus__content-area {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions-new-member-bonus__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-promotions-new-member-bonus__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-promotions-new-member-bonus__benefits-grid,
  .page-promotions-new-member-bonus__steps-grid,
  .page-promotions-new-member-bonus__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-new-member-bonus__card-image,
  .page-promotions-new-member-bonus__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Đảm bảo kích thước tối thiểu */
    min-height: 150px !important; /* Đảm bảo kích thước tối thiểu */
  }

  .page-promotions-new-member-bonus__benefit-card,
  .page-promotions-new-member-bonus__feature-card,
  .page-promotions-new-member-bonus__step-card {
    padding: 20px;
  }

  .page-promotions-new-member-bonus__card-title {
    font-size: 1.3em;
  }

  .page-promotions-new-member-bonus__terms-list li {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  .page-promotions-new-member-bonus__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-promotions-new-member-bonus__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9em;
  }

  .page-promotions-new-member-bonus__final-cta-section {
    padding: 60px 15px;
  }

  /* Các container chứa hình ảnh/video/nút cần đảm bảo không tràn */
  .page-promotions-new-member-bonus__hero-image-wrapper,
  .page-promotions-new-member-bonus__cta-buttons,
  .page-promotions-new-member-bonus__benefits-grid,
  .page-promotions-new-member-bonus__steps-grid,
  .page-promotions-new-member-bonus__features-grid,
  .page-promotions-new-member-bonus__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

}

@media (max-width: 480px) {
  .page-promotions-new-member-bonus__main-title {
    font-size: 1.8em;
  }

  .page-promotions-new-member-bonus__section-title {
    font-size: 1.6em;
  }

  .page-promotions-new-member-bonus__btn-primary,
  .page-promotions-new-member-bonus__btn-secondary {
    padding: 12px 20px;
    font-size: 0.95em;
  }

  .page-promotions-new-member-bonus__btn-large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}