/* 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: var(--dark-bg-1);
}

.page-promotions-welcome-bonus__hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px; /* Fixed header spacing for desktop */
  background: linear-gradient(135deg, #1A202C, #333C4E);
  text-align: center;
  overflow: hidden;
}

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

.page-promotions-welcome-bonus__main-title {
  font-size: 48px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions-welcome-bonus__hero-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-promotions-welcome-bonus__cta-button {
  display: inline-block;
  background: #FFD700;
  color: #1A202C;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-promotions-welcome-bonus__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.15;
  overflow: hidden;
}

.page-promotions-welcome-bonus__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px);
  transform: scale(1.1);
}

.page-promotions-welcome-bonus__section {
  padding: 60px 20px;
  background-color: var(--dark-bg-1);
  color: #ffffff;
}

.page-promotions-welcome-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions-welcome-bonus__container--center {
  text-align: center;
}

.page-promotions-welcome-bonus__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
}

.page-promotions-welcome-bonus__text-block {
  font-size: 17px;
  margin-bottom: 25px;
  text-align: justify;
}

.page-promotions-welcome-bonus__text-block--note {
  font-style: italic;
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background-color: rgba(255, 215, 0, 0.1);
  border-left: 5px solid #FFD700;
  border-radius: 5px;
}

.page-promotions-welcome-bonus__text-block a {
  color: #FFD700;
  text-decoration: underline;
}

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

.page-promotions-welcome-bonus__card {
  background: #2A313F;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #f0f0f0;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions-welcome-bonus__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions-welcome-bonus__card-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-promotions-welcome-bonus__card-img {
  max-width: 80%;
  max-height: 80%;
  display: block;
  height: auto;
}

.page-promotions-welcome-bonus__card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-promotions-welcome-bonus__card-list {
  list-style-type: disc;
  text-align: left;
  margin-left: 20px;
  font-size: 16px;
  color: #cccccc;
}

.page-promotions-welcome-bonus__card-list li {
  margin-bottom: 8px;
}

.page-promotions-welcome-bonus__card-link {
  color: #FFD700;
  text-decoration: underline;
  margin-top: 15px;
  display: inline-block;
}

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

.page-promotions-welcome-bonus__feature-item {
  background: #2A313F;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #f0f0f0;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions-welcome-bonus__feature-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-welcome-bonus__feature-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promotions-welcome-bonus__section--cta {
  background: linear-gradient(90deg, #1A202C, #333C4E);
  padding: 80px 20px;
}

.page-promotions-welcome-bonus__cta-button--large {
  padding: 18px 45px;
  font-size: 22px;
  margin-top: 30px;
}

/* FAQ container styles */
.page-promotions-welcome-bonus__faq-list {
  margin-top: 40px;
}

.page-promotions-welcome-bonus__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
  background: #2A313F;
}

/* FAQ default state - answer 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 25px;
  opacity: 0;
  color: #cccccc;
}

/* FAQ expanded state - 🚨 Use!important and sufficiently large max-height */
.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
  max-height: 2000px !important; /* 🚨 Use!important ensure priority, value large enough to contain any content */
  padding: 20px 25px !important;
  opacity: 1;
  background: #1A202C;
  border-radius: 0 0 8px 8px;
}

/* Question style */
.page-promotions-welcome-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #333C4E;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #FFD700;
}

.page-promotions-welcome-bonus__faq-question:hover {
  background: #444E60;
}

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

/* Question title style */
.page-promotions-welcome-bonus__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

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

.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-toggle {
  transform: rotate(45deg); /* Changed from '-' to rotate for visual consistency */
  color: #ffffff;
}

/* Responsive design */
@media (max-width: 1024px) {
  .page-promotions-welcome-bonus__main-title {
    font-size: 40px;
  }

  .page-promotions-welcome-bonus__hero-description {
    font-size: 16px;
  }

  .page-promotions-welcome-bonus__section-title {
    font-size: 30px;
  }

  .page-promotions-welcome-bonus__card-grid,
  .page-promotions-welcome-bonus__feature-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-promotions-welcome-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions-welcome-bonus__hero-banner {
    padding: 100px 15px 40px; /* Fixed header spacing for mobile */
  }

  .page-promotions-welcome-bonus__main-title {
    font-size: 32px;
  }

  .page-promotions-welcome-bonus__hero-description {
    font-size: 15px;
  }

  .page-promotions-welcome-bonus__cta-button {
    padding: 12px 25px;
    font-size: 18px;
  }

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

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

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

  .page-promotions-welcome-bonus__text-block {
    font-size: 16px;
  }

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

  .page-promotions-welcome-bonus__card,
  .page-promotions-welcome-bonus__feature-item {
    padding: 25px;
  }

  .page-promotions-welcome-bonus__card-title {
    font-size: 20px;
  }

  .page-promotions-welcome-bonus__feature-title {
    font-size: 18px;
  }

  .page-promotions-welcome-bonus__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-promotions-welcome-bonus__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }

  .page-promotions-welcome-bonus__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }

  .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__cta-button--large {
    padding: 15px 35px;
    font-size: 20px;
  }
}