/* style/promotions-new-user-bonus.css */

/* Biến màu tùy chỉnh */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

.page-promotions-new-user-bonus {
  background-color: var(--color-background);
  color: var(--color-text-main); /* Deep background, light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-promotions-new-user-bonus__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions-new-user-bonus__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-gold);
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-promotions-new-user-bonus__sub-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--color-text-main);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
}

.page-promotions-new-user-bonus__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

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

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

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Min height for hero */
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
}

.page-promotions-new-user-bonus__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(17, 40, 27, 0.85); /* Slightly transparent dark green */
  border-radius: 10px;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border);
}

.page-promotions-new-user-bonus__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Flexible H1 font size */
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-promotions-new-user-bonus__hero-description {
  font-size: 1.2rem;
  color: var(--color-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__cta-button {
  display: inline-block;
  background: var(--color-button-gradient);
  color: var(--color-text-main);
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--color-glow);
}

.page-promotions-new-user-bonus__cta-button--large {
  padding: 18px 45px;
  font-size: 1.3rem;
  margin-top: 30px;
}

/* Content blocks with images */
.page-promotions-new-user-bonus__image-content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  text-align: left;
}

.page-promotions-new-user-bonus__image-content-block--reverse {
  flex-direction: row-reverse;
}

.page-promotions-new-user-bonus__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  object-fit: cover;
}

.page-promotions-new-user-bonus__text-content {
  flex: 1;
  max-width: 50%;
}

/* Lists */
.page-promotions-new-user-bonus__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--color-text-main);
}

.page-promotions-new-user-bonus__list-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
}

.page-promotions-new-user-bonus__numbered-list {
  list-style: none;
  padding: 0;
  counter-reset: list-counter;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__numbered-list .page-promotions-new-user-bonus__list-item {
  padding-left: 40px;
}

.page-promotions-new-user-bonus__numbered-list .page-promotions-new-user-bonus__list-item::before {
  counter-increment: list-counter;
  content: counter(list-counter) ".";
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.3em;
  left: 0;
  top: -2px;
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-promotions-new-user-bonus__faq-item {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-main);
  cursor: pointer;
  background: var(--color-deep-green);
  border-bottom: 1px solid var(--color-divider);
  list-style: none; /* For details/summary */
}

.page-promotions-new-user-bonus__faq-question::-webkit-details-marker {
  display: none;
}

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

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

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.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: 20px 25px;
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  background-color: var(--color-card-bg);
}

.page-promotions-new-user-bonus__faq-answer p {
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__cta-final {
  background-color: var(--color-deep-green);
  padding: 80px 0;
}

.page-promotions-new-user-bonus__cta-final .page-promotions-new-user-bonus__section-title {
  color: var(--color-gold);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.8);
}

.page-promotions-new-user-bonus__cta-final .page-promotions-new-user-bonus__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
  font-size: 1.15rem;
  color: var(--color-text-main);
}

.page-promotions-new-user-bonus__cta-banner-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border);
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__hero-content {
    margin-top: -60px;
  }

  .page-promotions-new-user-bonus__image-content-block {
    flex-direction: column;
    gap: 30px;
  }

  .page-promotions-new-user-bonus__content-image,
  .page-promotions-new-user-bonus__text-content {
    max-width: 100%;
    flex: none;
  }

  .page-promotions-new-user-bonus__image-content-block--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus__section {
    padding: 40px 0;
  }

  .page-promotions-new-user-bonus__hero-section {
    min-height: 400px;
    padding-top: 10px !important;
  }

  .page-promotions-new-user-bonus__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem) !important;
  }

  .page-promotions-new-user-bonus__hero-description {
    font-size: 1rem;
  }

  .page-promotions-new-user-bonus__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-promotions-new-user-bonus__cta-button--large {
    padding: 15px 35px;
    font-size: 1.1rem;
  }

  .page-promotions-new-user-bonus__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem) !important;
  }

  .page-promotions-new-user-bonus__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem) !important;
  }

  .page-promotions-new-user-bonus__text-block,
  .page-promotions-new-user-bonus__list-item,
  .page-promotions-new-user-bonus__faq-answer {
    font-size: 0.95rem;
  }

  /* Mobile responsive for images, videos, and buttons */
  .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,
  .page-promotions-new-user-bonus__hero-content,
  .page-promotions-new-user-bonus__image-content-block,
  .page-promotions-new-user-bonus__text-content,
  .page-promotions-new-user-bonus__faq-list,
  .page-promotions-new-user-bonus__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Buttons specific mobile styles */
  .page-promotions-new-user-bonus__cta-button,
  .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;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }

  .page-promotions-new-user-bonus__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-promotions-new-user-bonus__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions-new-user-bonus__hero-content {
    margin-top: -40px;
  }

  .page-promotions-new-user-bonus__hero-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem) !important;
  }

  .page-promotions-new-user-bonus__hero-description {
    font-size: 0.9rem;
  }

  .page-promotions-new-user-bonus__cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .page-promotions-new-user-bonus__cta-button--large {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-promotions-new-user-bonus__list-item {
    padding-left: 25px;
  }

  .page-promotions-new-user-bonus__list-item::before {
    font-size: 1em;
  }

  .page-promotions-new-user-bonus__numbered-list .page-promotions-new-user-bonus__list-item {
    padding-left: 35px;
  }

  .page-promotions-new-user-bonus__numbered-list .page-promotions-new-user-bonus__list-item::before {
    font-size: 1.1em;
  }
}