.page-promotions-welcome-bonus {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #FFFFFF; /* Custom background color */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-promotions-welcome-bonus__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
  background: linear-gradient(135deg, #26A9E0, #007bb6); /* Light blue gradient */
  color: #FFFFFF;
  text-align: center;
}

.page-promotions-welcome-bonus__hero-image-wrapper {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.page-promotions-welcome-bonus__hero-section img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5; /* Use 16:5 for hero content image as per §0.5 */
  object-fit: cover;
  object-position: center;
  filter: brightness(0.8); /* Slightly darken image for text contrast if needed */
}

.page-promotions-welcome-bonus__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-promotions-welcome-bonus__main-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem); /* Adjusted clamp for H1 */
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-promotions-welcome-bonus__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-welcome-bonus__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.page-promotions-welcome-bonus__cta-button--primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #FFFFFF;
}

.page-promotions-welcome-bonus__cta-button--primary:hover {
  background-color: #d46c00;
  transform: translateY(-2px);
}

.page-promotions-welcome-bonus__cta-button--secondary {
  background-color: #26A9E0; /* Main color for secondary CTA */
  color: #FFFFFF;
  border: 1px solid #26A9E0;
}

.page-promotions-welcome-bonus__cta-button--secondary:hover {
  background-color: #1e87b6;
  border-color: #1e87b6;
  transform: translateY(-2px);
}

.page-promotions-welcome-bonus__cta-button--text-link {
  background: none;
  color: #26A9E0;
  padding: 0;
  font-weight: 600;
  text-decoration: underline;
}

.page-promotions-welcome-bonus__cta-button--text-link:hover {
  color: #1e87b6;
  text-decoration: none;
}

.page-promotions-welcome-bonus__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  color: #26A9E0;
  position: relative;
}

.page-promotions-welcome-bonus__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #EA7C07;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-promotions-welcome-bonus__benefits-section,
.page-promotions-welcome-bonus__how-to-claim-section,
.page-promotions-welcome-bonus__terms-section,
.page-promotions-welcome-bonus__faq-section,
.page-promotions-welcome-bonus__final-cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  padding-bottom: 60px;
}

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

.page-promotions-welcome-bonus__benefit-card,
.page-promotions-welcome-bonus__step-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promotions-welcome-bonus__benefit-card:hover,
.page-promotions-welcome-bonus__step-card:hover {
  transform: translateY(-5px);
}

.page-promotions-welcome-bonus__benefit-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it doesn't break layout */
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
}

.page-promotions-welcome-bonus__benefit-title,
.page-promotions-welcome-bonus__step-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-promotions-welcome-bonus__benefit-description,
.page-promotions-welcome-bonus__step-description {
  font-size: 1rem;
  color: #555555;
}

.page-promotions-welcome-bonus__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #EA7C07;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions-welcome-bonus__terms-content {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-promotions-welcome-bonus__terms-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #444444;
}

.page-promotions-welcome-bonus__terms-list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-promotions-welcome-bonus__terms-list li {
  margin-bottom: 10px;
  color: #555555;
}

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

.page-promotions-welcome-bonus__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions-welcome-bonus__faq-question {
  width: 100%;
  background-color: #f0f8ff; /* Light blue background for FAQ question */
  color: #26A9E0;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 15px 20px;
  text-align: left;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-promotions-welcome-bonus__faq-question:hover {
  background-color: #e0f2ff;
}

.page-promotions-welcome-bonus__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #FFFFFF;
}

.page-promotions-welcome-bonus__faq-answer p {
  padding: 15px 0;
  color: #555555;
  margin: 0;
}

/* JavaScript will add this class */
.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
  padding: 15px 20px;
}

.page-promotions-welcome-bonus__final-cta-section {
  text-align: center;
  background-color: #f0f8ff; /* Light blue background for final CTA */
  padding: 60px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-promotions-welcome-bonus__final-cta-text {
  font-size: 1.2rem;
  color: #444444;
  margin-bottom: 30px;
}

.page-promotions-welcome-bonus__final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive design */
@media (max-width: 850px) {
  .page-promotions-welcome-bonus__hero-section img {
    aspect-ratio: 16/9; /* Adjusted for better mobile display if 16:5 is too short */
  }

  .page-promotions-welcome-bonus__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions-welcome-bonus__final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-promotions-welcome-bonus__cta-button {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-promotions-welcome-bonus__hero-section img,
  .page-promotions-welcome-bonus__benefit-card img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-promotions-welcome-bonus__main-title {
    font-size: clamp(1.1rem, 4.5vw, 1.75rem); /* mobile H1 size */
  }

  .page-promotions-welcome-bonus__section-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }
}

@media (max-width: 549px) {
  .page-promotions-welcome-bonus__hero-content {
    padding: 15px;
  }

  .page-promotions-welcome-bonus__intro-text {
    font-size: 1rem;
  }

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

  .page-promotions-welcome-bonus__benefits-section,
  .page-promotions-welcome-bonus__how-to-claim-section,
.page-promotions-welcome-bonus__terms-section,
.page-promotions-welcome-bonus__faq-section,
.page-promotions-welcome-bonus__final-cta-section {
    padding: 15px;
    padding-bottom: 40px;
  }

  .page-promotions-welcome-bonus__terms-content,
  .page-promotions-welcome-bonus__faq-item {
    padding: 20px;
  }

  .page-promotions-welcome-bonus__faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }
}