:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-login-button-color: #C30808;
  --register-login-font-color: #FFFF00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-promotions-new-user-bonus {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--secondary-color); /* Matches the body background */
  line-height: 1.6;
}

.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: 38px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
  line-height: 1.3;
}

.page-promotions-new-user-bonus__section-title--light {
  color: var(--text-light);
}

.page-promotions-new-user-bonus__lead-text {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: var(--primary-color); 
  color: var(--text-light);
  overflow: hidden;
}

.page-promotions-new-user-bonus__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  z-index: 1;
}

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  margin-bottom: 40px;
}

.page-promotions-new-user-bonus__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__hero-content h1 {
  font-size: 52px;
  margin-bottom: 25px;
  line-height: 1.2;
  color: var(--register-login-font-color); /* Yellow for prominent title */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

.page-promotions-new-user-bonus__hero-content p {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-promotions-new-user-bonus__cta-button {
  display: inline-block;
  padding: 20px 50px;
  background: var(--register-login-button-color); /* Red button for CTA */
  color: var(--register-login-font-color); /* Yellow text for CTA */
  text-decoration: none;
  border-radius: 50px;
  font-size: 22px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-promotions-new-user-bonus__cta-button:hover {
  background: #E03A3A; /* Slightly lighter red on hover */
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-user-bonus__cta-button--red {
  background-color: var(--register-login-button-color);
  color: var(--register-login-font-color);
}

/* Intro Section */
.page-promotions-new-user-bonus__intro-section {
  padding: 90px 0;
  background-color: var(--secondary-color); /* White background */
}

.page-promotions-new-user-bonus__intro-section p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

.page-promotions-new-user-bonus__image-content {
  margin-top: 50px;
  text-align: center;
}

.page-promotions-new-user-bonus__image-content img {
  max-width: 900px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Eligibility Section */
.page-promotions-new-user-bonus__eligibility-section {
  padding: 90px 0;
  background-color: var(--primary-color); /* Dark green background */
  color: var(--text-light);
}

.page-promotions-new-user-bonus__eligibility-section h3 {
  color: var(--register-login-font-color); /* Yellow for card titles */
  font-size: 26px;
  margin-bottom: 20px;
  line-height: 1.4;
}

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

.page-promotions-new-user-bonus__card {
  background-color: var(--secondary-color); /* White card background */
  color: var(--text-dark);
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions-new-user-bonus__card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.page-promotions-new-user-bonus__card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  flex-grow: 1;
}

.page-promotions-new-user-bonus__btn-primary {
  display: inline-block;
  padding: 14px 35px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  font-size: 16px;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__btn-primary:hover {
  background-color: #005f2f; /* Darker green on hover */
  transform: translateY(-3px);
}

.page-promotions-new-user-bonus__cta-bottom {
  text-align: center;
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
}

.page-promotions-new-user-bonus__cta-bottom p {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 35px;
  color: var(--register-login-font-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Bonus Types Section */
.page-promotions-new-user-bonus__bonus-types-section {
  padding: 90px 0;
  background-color: var(--background-light); /* Light grey background */
}

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

.page-promotions-new-user-bonus__bonus-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-promotions-new-user-bonus__bonus-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-user-bonus__bonus-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-user-bonus__bonus-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions-new-user-bonus__bonus-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Terms Section */
.page-promotions-new-user-bonus__terms-section {
  padding: 90px 0;
  background-color: var(--primary-color); /* Dark green background */
  color: var(--text-light);
}

.page-promotions-new-user-bonus__text-block {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for text block */
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  max-width: 1000px;
  margin: 50px auto 0 auto;
}

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

.page-promotions-new-user-bonus__text-block p,
.page-promotions-new-user-bonus__text-block li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 18px;
  color: var(--text-light);
}

.page-promotions-new-user-bonus__text-block strong {
  color: var(--register-login-font-color); /* Yellow for emphasis */
}

.page-promotions-new-user-bonus__text-block ul {
  list-style: disc inside;
  margin-bottom: 30px;
  padding-left: 20px;
}

.page-promotions-new-user-bonus__btn-secondary {
  display: inline-block;
  padding: 14px 35px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid var(--primary-color);
  margin-top: 25px;
  font-size: 16px;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
}

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

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

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
  padding: 90px 0;
  background-color: var(--background-light); /* Light grey background */
}

.page-promotions-new-user-bonus__faq-item {
  margin-bottom: 18px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.page-promotions-new-user-bonus__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 20px;
  opacity: 0;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
  max-height: 2000px !important; /* !important for overriding, value large enough for any content */
  padding: 25px 20px !important;
  opacity: 1;
  background: var(--secondary-color);
  border-radius: 0 0 8px 8px;
}

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions-new-user-bonus__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-promotions-new-user-bonus__faq-question:active {
  background: #eeeeee;
}

.page-promotions-new-user-bonus__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Rotate to form an 'x' or use '-' */
}

/* Global image and button responsive styles */
.page-promotions-new-user-bonus img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-promotions-new-user-bonus__cta-button,
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-new-user-bonus__cta-buttons,
.page-promotions-new-user-bonus__button-group,
.page-promotions-new-user-bonus__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__hero-content h1 {
    font-size: 44px;
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: 32px;
  }
  .page-promotions-new-user-bonus__lead-text {
    font-size: 17px;
  }
  .page-promotions-new-user-bonus__eligibility-section h3 {
    font-size: 24px;
  }
  .page-promotions-new-user-bonus__bonus-card h3 {
    font-size: 22px;
  }
  .page-promotions-new-user-bonus__text-block p,
  .page-promotions-new-user-bonus__text-block li {
    font-size: 16px;
  }
  .page-promotions-new-user-bonus__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific padding-top */
    padding-bottom: 50px;
  }
  .page-promotions-new-user-bonus__hero-content h1 {
    font-size: 36px;
  }
  .page-promotions-new-user-bonus__hero-content p {
    font-size: 17px;
  }
  .page-promotions-new-user-bonus__cta-button {
    padding: 16px 40px;
    font-size: 19px;
  }

  .page-promotions-new-user-bonus__container {
    padding: 25px 15px;
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .page-promotions-new-user-bonus__lead-text {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-promotions-new-user-bonus__grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-promotions-new-user-bonus__card {
    padding: 30px;
  }
  .page-promotions-new-user-bonus__card h3 {
    font-size: 22px;
  }
  .page-promotions-new-user-bonus__bonus-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-promotions-new-user-bonus__bonus-card img {
    height: 200px;
  }
  .page-promotions-new-user-bonus__text-block {
    padding: 25px;
  }
  .page-promotions-new-user-bonus__text-block p,
  .page-promotions-new-user-bonus__text-block li {
    font-size: 15px;
  }
  .page-promotions-new-user-bonus__cta-bottom p {
    font-size: 20px;
  }

  /* FAQ mobile */
  .page-promotions-new-user-bonus__faq-question {
    padding: 18px;
    flex-wrap: wrap;
  }
  .page-promotions-new-user-bonus__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-promotions-new-user-bonus__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-promotions-new-user-bonus__faq-answer {
    padding: 0 18px;
  }
  .page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
    padding: 18px !important;
  }

  /* Ensure all images and containers are responsive */
  .page-promotions-new-user-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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-container,
  .page-promotions-new-user-bonus__grid,
  .page-promotions-new-user-bonus__bonus-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button adaptation */
  .page-promotions-new-user-bonus__cta-button,
  .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;
  }
}