/* style/promotions-welcome-bonus.css */
.page-promotions-welcome-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-promotions-welcome-bonus__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  color: #ffffff;
}

.page-promotions-welcome-bonus__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-promotions-welcome-bonus__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-promotions-welcome-bonus__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions-welcome-bonus__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-welcome-bonus__btn-primary,
.page-promotions-welcome-bonus__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
}

.page-promotions-welcome-bonus__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-promotions-welcome-bonus__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-promotions-welcome-bonus__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-promotions-welcome-bonus__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-promotions-welcome-bonus__overview-section,
.page-promotions-welcome-bonus__bonus-details-section,
.page-promotions-welcome-bonus__how-to-claim-section,
.page-promotions-welcome-bonus__faq-section,
.page-promotions-welcome-bonus__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions-welcome-bonus__dark-section {
  background-color: #1A202C;
  color: #ffffff;
}

.page-promotions-welcome-bonus__dark-section .page-promotions-welcome-bonus__section-title {
  color: #FFD700;
}

.page-promotions-welcome-bonus__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #FFD700;
}

.page-promotions-welcome-bonus__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-promotions-welcome-bonus__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-welcome-bonus__image-center {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-promotions-welcome-bonus__feature-card,
.page-promotions-welcome-bonus__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  color: #f0f0f0;
}

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

.page-promotions-welcome-bonus__feature-icon {
  width: 100%; /* Occupy card width */
  max-width: 400px; /* Max width for feature image */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions-welcome-bonus__feature-title,
.page-promotions-welcome-bonus__step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-promotions-welcome-bonus__feature-description,
.page-promotions-welcome-bonus__step-description {
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
}

.page-promotions-welcome-bonus__step-number {
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-promotions-welcome-bonus__terms-section {
  padding: 80px 0;
  text-align: left;
}

.page-promotions-welcome-bonus__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-welcome-bonus__terms-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  font-size: 1.1em;
  color: #cccccc;
}

.page-promotions-welcome-bonus__list-icon {
  color: #FFD700;
  font-size: 1.2em;
  margin-right: 15px;
  line-height: 1.5;
}

.page-promotions-welcome-bonus__terms-section .page-promotions-welcome-bonus__btn-primary {
  margin-top: 40px;
}

.page-promotions-welcome-bonus__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-promotions-welcome-bonus__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-promotions-welcome-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: #1A202C;
  transition: background-color 0.3s ease;
}

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

.page-promotions-welcome-bonus__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-toggle {
  transform: rotate(45deg);
}

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

.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px 25px;
}

.page-promotions-welcome-bonus__faq-answer p {
  margin: 0;
  color: #cccccc;
}

.page-promotions-welcome-bonus__cta-section .page-promotions-welcome-bonus__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions-welcome-bonus__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-promotions-welcome-bonus__hero-section {
    min-height: 450px;
    padding: 30px 20px; /* Adjust padding for mobile */
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-promotions-welcome-bonus__hero-description {
    font-size: 1em;
  }

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

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

  .page-promotions-welcome-bonus__feature-grid,
  .page-promotions-welcome-bonus__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-welcome-bonus__btn-primary,
  .page-promotions-welcome-bonus__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 5px 0;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-promotions-welcome-bonus__container,
  .page-promotions-welcome-bonus__overview-section,
  .page-promotions-welcome-bonus__bonus-details-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__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions-welcome-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-welcome-bonus__feature-icon {
    max-width: 100%;
  }

  .page-promotions-welcome-bonus__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-promotions-welcome-bonus__faq-answer {
    padding: 10px 20px 20px;
  }
  
  .page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
    padding: 15px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions-welcome-bonus__hero-title {
    font-size: 1.8em;
  }

  .page-promotions-welcome-bonus__section-title {
    font-size: 1.8em;
  }

  .page-promotions-welcome-bonus__btn-primary,
  .page-promotions-welcome-bonus__btn-secondary {
    font-size: 0.95em;
  }
}