/* style/promotions-welcome-bonus.css */

/* Base Styles & Typography */
.page-promotions-welcome-bonus {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--primary-bg); /* Inherit from shared.css */
}

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

.page-promotions-welcome-bonus__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

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

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

.page-promotions-welcome-bonus h3 {
  font-size: 24px;
  font-weight: 600;
  color: #0A192F;
  margin-bottom: 15px;
}

.page-promotions-welcome-bonus p {
  margin-bottom: 15px;
}

.page-promotions-welcome-bonus a {
  color: #0A192F;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* --- Fixed Nav Bar Spacing --- */
.page-promotions-welcome-bonus__hero-banner {
  padding-top: 120px; /* Desktop: Account for fixed header */
  background: linear-gradient(135deg, #0A192F, #1A2E47);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.page-promotions-welcome-bonus__hero-content {
  flex: 1;
  padding: 40px;
  text-align: left;
  z-index: 1;
  max-width: 600px;
}

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

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

.page-promotions-welcome-bonus__hero-description a {
  color: #FFD700;
  font-weight: bold;
}

.page-promotions-welcome-bonus__hero-description a:hover {
  color: #ffffff;
}

.page-promotions-welcome-bonus__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1;
}

.page-promotions-welcome-bonus__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-promotions-welcome-bonus__cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-promotions-welcome-bonus__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-promotions-welcome-bonus__btn--primary {
  background-color: #FFD700;
  color: #0A192F;
  border-color: #FFD700;
}

.page-promotions-welcome-bonus__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-promotions-welcome-bonus__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-2px);
}

.page-promotions-welcome-bonus__btn--small {
  padding: 10px 20px;
  font-size: 16px;
}

/* Benefits Section */
.page-promotions-welcome-bonus__section--benefits {
  background-color: #f8f9fa;
}

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

.page-promotions-welcome-bonus__benefit-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #FFD700;
}

.page-promotions-welcome-bonus__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-promotions-welcome-bonus__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-promotions-welcome-bonus__benefit-title {
  color: #0A192F;
  font-size: 22px;
  margin-bottom: 15px;
}

.page-promotions-welcome-bonus__benefit-text {
  font-size: 16px;
  color: #555555;
}

.page-promotions-welcome-bonus__benefit-text a {
  color: #0A192F;
  font-weight: bold;
}

/* Guide Section */
.page-promotions-welcome-bonus__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions-welcome-bonus__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  border-bottom: 5px solid #FFD700;
}

.page-promotions-welcome-bonus__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700;
  color: #0A192F;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  border: 3px solid #0A192F;
}

.page-promotions-welcome-bonus__step-title {
  margin-top: 30px;
  color: #0A192F;
}

.page-promotions-welcome-bonus__step-text {
  color: #555555;
  margin-bottom: 20px;
}

.page-promotions-welcome-bonus__step-text a {
  color: #0A192F;
  font-weight: bold;
}

/* Terms Section */
.page-promotions-welcome-bonus__section--terms {
  background-color: #f0f0f0;
}

.page-promotions-welcome-bonus__text-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 17px;
  color: #555555;
}

.page-promotions-welcome-bonus__text-block a {
  color: #0A192F;
  font-weight: bold;
}

.page-promotions-welcome-bonus__terms-list {
  list-style: none;
  padding: 0;
}

.page-promotions-welcome-bonus__terms-item {
  background-color: #ffffff;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions-welcome-bonus__terms-heading {
  color: #0A192F;
  font-size: 20px;
  margin-bottom: 10px;
}

.page-promotions-welcome-bonus__terms-text {
  color: #555555;
  font-size: 16px;
}

.page-promotions-welcome-bonus__terms-text a {
  color: #0A192F;
  font-weight: bold;
}

/* Tips Section */
.page-promotions-welcome-bonus__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions-welcome-bonus__tip-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid #FFD700;
}

.page-promotions-welcome-bonus__tip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-promotions-welcome-bonus__tip-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-promotions-welcome-bonus__tip-title {
  color: #0A192F;
  font-size: 22px;
  margin-bottom: 15px;
}

.page-promotions-welcome-bonus__tip-text {
  font-size: 16px;
  color: #555555;
}

.page-promotions-welcome-bonus__tip-text a {
  color: #0A192F;
  font-weight: bold;
}

/* FAQ Section */
.page-promotions-welcome-bonus__section--faq {
  background-color: #f8f9fa;
}

.page-promotions-welcome-bonus__faq-list {
  max-width: 900px;
  margin: 0 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;
  padding: 0 15px;
  opacity: 0;
}

.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
  max-height: 2000px !important; /* Ensure enough space for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  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: #fff;
  border: 1px solid #e0e0e0;
  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: #f5f5f5;
  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: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-promotions-welcome-bonus__faq-question h3 a {
  color: #0A192F;
  font-weight: bold;
}

.page-promotions-welcome-bonus__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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: #333;
  transform: rotate(45deg); /* Change from + to X or - */
}

.page-promotions-welcome-bonus__faq-answer p {
  color: #555555;
  font-size: 16px;
}

.page-promotions-welcome-bonus__faq-answer p a {
  color: #0A192F;
  font-weight: bold;
}

/* Final CTA Section */
.page-promotions-welcome-bonus__section--cta-final {
  background-color: #0A192F;
  color: #ffffff;
  text-align: center;
}

.page-promotions-welcome-bonus__text-light {
  color: #f0f0f0;
}

.page-promotions-welcome-bonus__text-light a {
  color: #FFD700;
  font-weight: bold;
}

.page-promotions-welcome-bonus__text-light a:hover {
  color: #ffffff;
}

.page-promotions-welcome-bonus__section--cta-final .page-promotions-welcome-bonus__section-title {
  color: #FFD700;
}

.page-promotions-welcome-bonus__section--cta-final .page-promotions-welcome-bonus__section-title::after {
  background-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-welcome-bonus__hero-banner {
    flex-direction: column;
    text-align: center;
    padding-top: 100px; /* Adjust for tablet fixed header */
  }

  .page-promotions-welcome-bonus__hero-content {
    padding: 30px;
    text-align: center;
    max-width: 100%;
  }

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

  .page-promotions-welcome-bonus__hero-image-wrapper {
    padding: 30px;
  }

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

  .page-promotions-welcome-bonus h3 {
    font-size: 22px;
  }

  .page-promotions-welcome-bonus__benefit-grid,
  .page-promotions-welcome-bonus__guide-steps,
  .page-promotions-welcome-bonus__tips-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions-welcome-bonus__step-number {
    top: -25px;
  }
}

@media (max-width: 768px) {
  .page-promotions-welcome-bonus {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions-welcome-bonus__hero-banner {
    padding-top: 100px; /* Mobile: Account for fixed header */
    min-height: auto;
  }

  .page-promotions-welcome-bonus__hero-content {
    padding: 20px;
  }

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

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

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

  .page-promotions-welcome-bonus__btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }

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

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

  .page-promotions-welcome-bonus h3 {
    font-size: 20px;
  }

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

  .page-promotions-welcome-bonus__benefit-icon,
  .page-promotions-welcome-bonus__tip-icon {
    width: 80px;
    height: 80px;
  }

  .page-promotions-welcome-bonus__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-promotions-welcome-bonus__faq-question h3 {
    font-size: 15px;
    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;
  }

  /* Ensure all images and containers are 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__hero-banner,
  .page-promotions-welcome-bonus__hero-content,
  .page-promotions-welcome-bonus__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}