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

:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --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 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-main); /* Default text color for the page content */
  background-color: var(--color-background); /* Body background is dark, so use light text */
}

/* Ensure all content sections have appropriate padding */
.page-promotions-new-user-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--color-deep-green);
}

.page-promotions-new-user-bonus__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area */
}

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: var(--color-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions-new-user-bonus__description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

.page-promotions-new-user-bonus__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__cta-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #37e07a 0%, #17b35d 100%);
}

.page-promotions-new-user-bonus__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-promotions-new-user-bonus__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 30px;
}

.page-promotions-new-user-bonus__introduction-section,
.page-promotions-new-user-bonus__how-to-claim-section,
.page-promotions-new-user-bonus__terms-section,
.page-promotions-new-user-bonus__why-choose-section,
.page-promotions-new-user-bonus__faq-section,
.page-promotions-new-user-bonus__cta-final-section {
  padding: 80px 0;
  background-color: var(--color-background);
}

.page-promotions-new-user-bonus__introduction-section {
  border-bottom: 1px solid var(--color-divider);
}

.page-promotions-new-user-bonus__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-promotions-new-user-bonus__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

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

.page-promotions-new-user-bonus__image-wrapper {
  text-align: center;
}

.page-promotions-new-user-bonus__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-promotions-new-user-bonus__steps-grid,
.page-promotions-new-user-bonus__terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions-new-user-bonus__step-card,
.page-promotions-new-user-bonus__term-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promotions-new-user-bonus__step-card:hover,
.page-promotions-new-user-bonus__term-card:hover {
  transform: translateY(-5px);
}

.page-promotions-new-user-bonus__step-title,
.page-promotions-new-user-bonus__term-title {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions-new-user-bonus__step-card p,
.page-promotions-new-user-bonus__term-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.page-promotions-new-user-bonus__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

.page-promotions-new-user-bonus__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

.page-promotions-new-user-bonus__disclaimer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.page-promotions-new-user-bonus__disclaimer a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions-new-user-bonus__disclaimer a:hover {
  text-decoration: underline;
}

.page-promotions-new-user-bonus__why-choose-section {
  background-color: var(--color-deep-green);
  border-bottom: 1px solid var(--color-divider);
}

.page-promotions-new-user-bonus__advantage-title {
  font-size: 1.6rem;
  color: var(--color-gold);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions-new-user-bonus__advantage-title:first-of-type {
  margin-top: 0;
}

.page-promotions-new-user-bonus__cta-button--secondary {
  background: var(--color-primary);
  border: 2px solid var(--color-secondary);
  color: #ffffff;
  margin-top: 30px;
}

.page-promotions-new-user-bonus__cta-button--secondary:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

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

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

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--color-text-main);
  cursor: pointer;
  background-color: var(--color-card-bg);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-promotions-new-user-bonus__faq-question:hover {
  background-color: var(--color-deep-green);
}

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

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 20px;
  color: var(--color-gold);
}

.page-promotions-new-user-bonus__faq-answer {
  padding: 0 30px 20px;
  font-size: 1rem;
  color: var(--color-text-secondary);
}

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

.page-promotions-new-user-bonus__cta-final-section {
  text-align: center;
  padding: 100px 0;
  background-color: var(--color-background);
}

.page-promotions-new-user-bonus__cta-button--final {
  padding: 20px 50px;
  font-size: 1.3rem;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions-new-user-bonus__content-grid,
  .page-promotions-new-user-bonus__content-grid--reverse {
    grid-template-columns: 1fr;
  }

  .page-promotions-new-user-bonus__content-grid--reverse .page-promotions-new-user-bonus__image-wrapper {
    order: -1;
  }

  .page-promotions-new-user-bonus__hero-image-wrapper {
    max-height: 400px;
  }

  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-promotions-new-user-bonus__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .page-promotions-new-user-bonus__introduction-section,
  .page-promotions-new-user-bonus__how-to-claim-section,
  .page-promotions-new-user-bonus__terms-section,
  .page-promotions-new-user-bonus__why-choose-section,
  .page-promotions-new-user-bonus__faq-section,
  .page-promotions-new-user-bonus__cta-final-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions-new-user-bonus__container {
    padding: 0 15px !important;
  }

  .page-promotions-new-user-bonus__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important;
  }

  .page-promotions-new-user-bonus__hero-image-wrapper {
    max-height: 300px;
  }

  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

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

  .page-promotions-new-user-bonus__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions-new-user-bonus__cta-button--large,
  .page-promotions-new-user-bonus__cta-button--final {
    padding: 15px 30px;
    font-size: 1.1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions-new-user-bonus__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-promotions-new-user-bonus__subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-promotions-new-user-bonus__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-new-user-bonus__image-wrapper,
  .page-promotions-new-user-bonus__image-wrapper--full {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions-new-user-bonus__steps-grid,
  .page-promotions-new-user-bonus__terms-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-promotions-new-user-bonus__step-card,
  .page-promotions-new-user-bonus__term-card {
    padding: 20px;
  }

  .page-promotions-new-user-bonus__step-title,
  .page-promotions-new-user-bonus__term-title {
    font-size: 1.3rem;
  }

  .page-promotions-new-user-bonus__advantage-title {
    font-size: 1.4rem;
  }

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

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

  .page-promotions-new-user-bonus__cta-wrapper {
    margin-top: 40px;
  }

  .page-promotions-new-user-bonus__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-promotions-new-user-bonus__cta-buttons > * {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Contrast Fixes - Dark background (#08160F) implies light text */
.page-promotions-new-user-bonus p,
.page-promotions-new-user-bonus li,
.page-promotions-new-user-bonus__text-block p {
  color: var(--color-text-main); /* Light text on dark background */
}

.page-promotions-new-user-bonus__card,
.page-promotions-new-user-bonus__faq-item {
  background-color: var(--color-card-bg);
  color: var(--color-text-main);
}

.page-promotions-new-user-bonus__btn-primary {
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: #ffffff;
}

.page-promotions-new-user-bonus__btn-secondary {
  background: var(--color-primary);
  color: #ffffff;
  border: 2px solid var(--color-secondary);
}

.page-promotions-new-user-bonus__btn-secondary:hover {
  background: var(--color-secondary);
}

.page-promotions-new-user-bonus a {
  color: var(--color-secondary);
}

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

.page-promotions-new-user-bonus__disclaimer a {
  color: var(--color-secondary);
}