/* style/promotions-new-user-bonus.css */
/* body đã padding-top: var(--header-offset)；trang này không được viết lại biến đó */

.page-promotions-new-user-bonus {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --background-dark: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  background-color: var(--background-dark);
  color: var(--text-main); /* Mặc định cho nền tối */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-promotions-new-user-bonus__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-main);
}

.page-promotions-new-user-bonus__light-bg {
  background-color: #f8f8f8; /* Nền sáng hơn cho các phần nội dung */
  color: #333333; /* Chữ tối trên nền sáng */
}

.page-promotions-new-user-bonus__text-main {
  color: var(--text-main);
}

.page-promotions-new-user-bonus__text-secondary {
  color: var(--text-secondary);
}

.page-promotions-new-user-bonus__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px 20px; /* Chỉ 10px padding-top, body đã bù trừ header */
  text-align: center;
  overflow: hidden;
  min-height: 500px;
}

.page-promotions-new-user-bonus__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.7); /* Giảm độ sáng để chữ dễ đọc hơn */
}

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Nền bán trong suốt để chữ nổi bật */
  border-radius: 10px;
}

.page-promotions-new-user-bonus__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-user-bonus__description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__btn-primary,
.page-promotions-new-user-bonus__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-new-user-bonus__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-promotions-new-user-bonus__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-user-bonus__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  background: var(--primary-color);
  color: #ffffff;
}

.page-promotions-new-user-bonus__button-full-width {
  width: 100%;
  max-width: 400px;
  margin-top: 20px;
}

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

.page-promotions-new-user-bonus__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

.page-promotions-new-user-bonus__dark-bg .page-promotions-new-user-bonus__section-title {
  color: var(--gold-color);
}

.page-promotions-new-user-bonus__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions-new-user-bonus__steps-grid,
.page-promotions-new-user-bonus__offer-cards-grid,
.page-promotions-new-user-bonus__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-promotions-new-user-bonus__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-promotions-new-user-bonus__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-bonus__step-image,
.page-promotions-new-user-bonus__offer-image,
.page-promotions-new-user-bonus__tip-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-promotions-new-user-bonus__step-title,
.page-promotions-new-user-bonus__offer-title,
.page-promotions-new-user-bonus__tip-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-promotions-new-user-bonus__step-description,
.page-promotions-new-user-bonus__offer-description,
.page-promotions-new-user-bonus__tip-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions-new-user-bonus__terms-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-promotions-new-user-bonus__term-item {
  background-color: var(--card-bg);
  border: 1px solid var(--divider-color);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-promotions-new-user-bonus__term-item::before {
  content: '✓';
  color: var(--glow-color);
  font-weight: bold;
  margin-right: 5px;
  flex-shrink: 0;
}

.page-promotions-new-user-bonus__inline-link {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-promotions-new-user-bonus__inline-link:hover {
  color: var(--gold-color);
}

.page-promotions-new-user-bonus__faq-list {
  margin-top: 30px;
}

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

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider-color);
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-question {
  border-bottom: 1px solid var(--border-color);
}

.page-promotions-new-user-bonus__faq-qtext {
  flex-grow: 1;
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--glow-color);
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions-new-user-bonus__faq-answer {
  padding: 15px 20px;
  color: var(--text-secondary);
  font-size: 0.95em;
}

/* Details/Summary原生样式重置 */
.page-promotions-new-user-bonus__faq-item summary {
  list-style: none;
}
.page-promotions-new-user-bonus__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions-new-user-bonus__conclusion-section {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }
  .page-promotions-new-user-bonus__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-promotions-new-user-bonus__btn-primary,
  .page-promotions-new-user-bonus__btn-secondary {
    width: 80%;
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions-new-user-bonus__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    min-height: 400px;
  }
  .page-promotions-new-user-bonus__hero-content {
    padding: 15px;
  }
  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-promotions-new-user-bonus__description {
    font-size: 1em;
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
  }
  .page-promotions-new-user-bonus__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions-new-user-bonus__steps-grid,
  .page-promotions-new-user-bonus__offer-cards-grid,
  .page-promotions-new-user-bonus__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions-new-user-bonus__card {
    padding: 20px;
  }
  .page-promotions-new-user-bonus__step-image,
  .page-promotions-new-user-bonus__offer-image,
  .page-promotions-new-user-bonus__tip-image {
    height: 180px;
  }
  .page-promotions-new-user-bonus__btn-primary,
  .page-promotions-new-user-bonus__btn-secondary,
  .page-promotions-new-user-bonus a[class*="button"],
  .page-promotions-new-user-bonus a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-new-user-bonus__cta-buttons,
  .page-promotions-new-user-bonus__button-group,
  .page-promotions-new-user-bonus__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

  /* Hình ảnh và video responsive */
  .page-promotions-new-user-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-new-user-bonus__section,
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}