/* style/promotions-welcome-bonus.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-register-bg: #C30808;
  --button-register-text: #FFFF00;
  --border-color: #e0e0e0;
  --background-light: #f9f9f9;
}

.page-promotions-welcome-bonus {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--secondary-color); /* Body background is white */
}

/* Hero Section */
.page-promotions-welcome-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); /* Adjust for fixed header */
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 50%, rgba(1, 116, 57, 0.8) 100%); /* Green gradient */
  color: var(--text-light);
}

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

.page-promotions-welcome-bonus__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-promotions-welcome-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.3);
  filter: none !important; /* Ensure no image filters are used */
}

.page-promotions-welcome-bonus__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-promotions-welcome-bonus__hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--button-register-text); /* Yellow for H1 on dark green */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.page-promotions-welcome-bonus__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-welcome-bonus__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-promotions-welcome-bonus__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-welcome-bonus__btn-register {
  background: var(--button-register-bg);
  color: var(--button-register-text);
  border: 2px solid var(--button-register-text);
  box-shadow: 0 5px 15px rgba(195, 8, 8, 0.4);
}

.page-promotions-welcome-bonus__btn-register:hover {
  background: #a80707; /* Manually darkened */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(195, 8, 8, 0.5);
}

.page-promotions-welcome-bonus__btn-download {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--text-light);
  box-shadow: 0 5px 15px rgba(1, 116, 57, 0.4);
}

.page-promotions-welcome-bonus__btn-download:hover {
  background: #005f2f; /* Manually darkened */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(1, 116, 57, 0.5);
}

/* General Section Styling */
.page-promotions-welcome-bonus__section {
  padding: 80px 20px;
  text-align: center;
}

.page-promotions-welcome-bonus__container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.page-promotions-welcome-bonus__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  color: var(--primary-color);
}

.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__section-title {
  color: var(--button-register-text); /* Yellow on dark green */
}

.page-promotions-welcome-bonus__light-bg {
  background-color: var(--secondary-color); /* White */
  color: var(--text-dark); /* Dark text */
}

.page-promotions-welcome-bonus__dark-bg {
  background-color: var(--primary-color); /* Dark green */
  color: var(--text-light); /* Light text */
}

.page-promotions-welcome-bonus__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-welcome-bonus__text-block a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__text-block a {
  color: var(--button-register-text);
}

.page-promotions-welcome-bonus__image-container {
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-promotions-welcome-bonus__image-container img {
  width: 100%;
  height: auto;
  max-width: 800px; /* Specific max-width for content images */
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the image */
  filter: none !important; /* Ensure no image filters are used */
}

/* How to Claim Section */
.page-promotions-welcome-bonus__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions-welcome-bonus__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-welcome-bonus__step-item h3 {
  color: var(--button-register-text); /* Yellow for step titles */
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-promotions-welcome-bonus__step-item p {
  color: var(--text-light);
  font-size: 1.05em;
}

.page-promotions-welcome-bonus__step-item a {
  color: var(--button-register-text); /* Yellow link on dark background */
  text-decoration: underline;
}

.page-promotions-welcome-bonus__step-item a:hover {
  color: #ffff33;
}

/* Terms Section */
.page-promotions-welcome-bonus__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions-welcome-bonus__terms-item {
  background: var(--background-light); /* Light grey on white background */
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-promotions-welcome-bonus__terms-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-promotions-welcome-bonus__terms-item p {
  color: var(--text-dark);
}

/* Benefits Section */
.page-promotions-welcome-bonus__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-promotions-welcome-bonus__benefit-card {
  background: rgba(255, 255, 255, 0.15); /* Semi-transparent white on dark green */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-welcome-bonus__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-welcome-bonus__benefit-title {
  color: var(--button-register-text); /* Yellow for benefit titles */
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-promotions-welcome-bonus__benefit-card p {
  color: var(--text-light);
  font-size: 1.05em;
}

/* FAQ Section */
.page-promotions-welcome-bonus__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-welcome-bonus__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promotions-welcome-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 15px;
  opacity: 0;
}

.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--background-light); /* Light grey background for answer */
  border-radius: 0 0 5px 5px;
}

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

.page-promotions-welcome-bonus__faq-question:hover {
  background: var(--background-light); /* Light grey on hover */
  border-color: #d0d0d0;
}

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

.page-promotions-welcome-bonus__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color); /* Dark green for question text */
}

.page-promotions-welcome-bonus__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color); /* Dark green for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

/* Final CTA Section */
.page-promotions-welcome-bonus__cta-final-section {
  padding-bottom: 100px;
}

.page-promotions-welcome-bonus__btn-register-final {
  background: var(--button-register-bg);
  color: var(--button-register-text);
  border: 2px solid var(--button-register-text);
  box-shadow: 0 5px 15px rgba(195, 8, 8, 0.4);
  font-size: 1.2em;
  padding: 18px 45px;
  margin-top: 40px;
}

.page-promotions-welcome-bonus__btn-register-final:hover {
  background: #a80707;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(195, 8, 8, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-welcome-bonus__hero-content h1 {
    font-size: 2.8em;
  }
  .page-promotions-welcome-bonus__hero-description {
    font-size: 1.2em;
  }
  .page-promotions-welcome-bonus__section-title {
    font-size: 2em;
  }
  .page-promotions-welcome-bonus__text-block,
  .page-promotions-welcome-bonus__step-item p,
  .page-promotions-welcome-bonus__terms-item p,
  .page-promotions-welcome-bonus__benefit-card p {
    font-size: 1em;
  }
  .page-promotions-welcome-bonus__step-item h3 {
    font-size: 1.3em;
  }
  .page-promotions-welcome-bonus__terms-item h3 {
    font-size: 1.2em;
  }
  .page-promotions-welcome-bonus__benefit-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-promotions-welcome-bonus__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions-welcome-bonus__hero-image img {
    border-radius: 8px;
  }

  .page-promotions-welcome-bonus__hero-content h1 {
    font-size: 2.2em;
  }

  .page-promotions-welcome-bonus__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

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

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

  .page-promotions-welcome-bonus__section {
    padding: 50px 15px;
  }

  .page-promotions-welcome-bonus__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions-welcome-bonus__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions-welcome-bonus__text-block {
    font-size: 1em;
  }

  /* Images responsive */
  .page-promotions-welcome-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions-welcome-bonus__section,
  .page-promotions-welcome-bonus__card,
  .page-promotions-welcome-bonus__container,
  .page-promotions-welcome-bonus__cta-buttons,
  .page-promotions-welcome-bonus__button-group,
  .page-promotions-welcome-bonus__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-welcome-bonus__step-item,
  .page-promotions-welcome-bonus__terms-item,
  .page-promotions-welcome-bonus__benefit-card {
    padding: 20px;
  }

  .page-promotions-welcome-bonus__step-item h3 {
    font-size: 1.2em;
  }

  .page-promotions-welcome-bonus__terms-item h3 {
    font-size: 1.1em;
  }

  .page-promotions-welcome-bonus__benefit-title {
    font-size: 1.3em;
  }

  /* FAQ mobile styles */
  .page-promotions-welcome-bonus__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-promotions-welcome-bonus__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-promotions-welcome-bonus__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-promotions-welcome-bonus__faq-answer {
    padding: 0 15px;
  }
  
  .page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
    padding: 15px !important;
  }
  
  .page-promotions-welcome-bonus__btn-register-final {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}

/* Ensure no image filters are used globally for this page */
.page-promotions-welcome-bonus img {
  filter: none !important;
}