.page-promo-welcome-bonus {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-promo-welcome-bonus__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2342;
  color: #ffffff;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-promo-welcome-bonus__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

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

.page-promo-welcome-bonus__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #F2C94C;
  line-height: 1.1;
}

.page-promo-welcome-bonus__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-promo-welcome-bonus__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promo-welcome-bonus__button {
  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, transform 0.3s ease;
  white-space: nowrap;
}

.page-promo-welcome-bonus__button--primary {
  background-color: #F2C94C;
  color: #0A2342;
  border: 2px solid #F2C94C;
}

.page-promo-welcome-bonus__button--primary:hover {
  background-color: #e0b43c;
  transform: translateY(-3px);
}

.page-promo-welcome-bonus__button--secondary {
  background-color: transparent;
  color: #F2C94C;
  border: 2px solid #F2C94C;
}

.page-promo-welcome-bonus__button--secondary:hover {
  background-color: rgba(242, 201, 76, 0.1);
  transform: translateY(-3px);
}

.page-promo-welcome-bonus__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

/* General Section Styles */
.page-promo-welcome-bonus__how-it-works-section,
.page-promo-welcome-bonus__bonus-details-section,
.page-promo-welcome-bonus__why-kinggame-section,
.page-promo-welcome-bonus__faq-section,
.page-promo-welcome-bonus__related-promos-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-promo-welcome-bonus__section-title {
  font-size: 2.8em;
  color: #0A2342;
  margin-bottom: 20px;
}

.page-promo-welcome-bonus__section-intro {
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

/* How It Works Section */
.page-promo-welcome-bonus__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promo-welcome-bonus__step-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promo-welcome-bonus__step-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  max-width: 100%; /* Ensure image fits card */
}

.page-promo-welcome-bonus__step-title {
  font-size: 1.8em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-promo-welcome-bonus__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Bonus Details Section */
.page-promo-welcome-bonus__bonus-details-section {
  background-color: #f0f4f7;
}

.page-promo-welcome-bonus__details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promo-welcome-bonus__detail-item {
  background-color: #ffffff;
  border-left: 5px solid #F2C94C;
  border-radius: 8px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-promo-welcome-bonus__detail-title {
  font-size: 1.6em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-promo-welcome-bonus__detail-text {
  font-size: 1em;
  color: #666666;
}

.page-promo-welcome-bonus__detail-text strong {
  color: #0A2342;
}

.page-promo-welcome-bonus__full-terms {
  margin-top: 50px;
  font-size: 1.1em;
  color: #555555;
}

.page-promo-welcome-bonus__full-terms a {
  color: #0A2342;
  text-decoration: none;
  font-weight: bold;
}

.page-promo-welcome-bonus__full-terms a:hover {
  text-decoration: underline;
}

/* Why Kinggame Section */
.page-promo-welcome-bonus__why-kinggame-section {
  background-color: #ffffff;
}

.page-promo-welcome-bonus__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promo-welcome-bonus__feature-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-promo-welcome-bonus__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  max-width: 100%;
}

.page-promo-welcome-bonus__feature-title {
  font-size: 1.8em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-promo-welcome-bonus__feature-description {
  font-size: 1em;
  color: #666666;
  flex-grow: 1;
}

.page-promo-welcome-bonus__feature-description a {
  color: #0A2342;
  text-decoration: none;
  font-weight: bold;
}

.page-promo-welcome-bonus__feature-description a:hover {
  text-decoration: underline;
}

.page-promo-welcome-bonus__cta-section {
  margin-top: 80px;
  background-color: #0A2342;
  color: #ffffff;
  padding: 50px 30px;
  border-radius: 10px;
}

.page-promo-welcome-bonus__cta-title {
  font-size: 2.2em;
  color: #F2C94C;
  margin-bottom: 15px;
}

.page-promo-welcome-bonus__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* FAQ Section */
.page-promo-welcome-bonus__faq-section {
  background-color: #f0f4f7;
}

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

.page-promo-welcome-bonus__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-promo-welcome-bonus__faq-question {
  width: 100%;
  background-color: #0A2342;
  color: #ffffff;
  padding: 20px 30px;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-promo-welcome-bonus__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-promo-welcome-bonus__faq-question.page-promo-welcome-bonus__faq-question--active {
  background-color: #1a3a5e;
}

.page-promo-welcome-bonus__faq-question.page-promo-welcome-bonus__faq-question--active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-promo-welcome-bonus__faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #f9f9f9;
}

.page-promo-welcome-bonus__faq-answer.page-promo-welcome-bonus__faq-answer--active {
  max-height: 200px; /* Adjust based on expected content height */
  padding: 20px 30px;
}

.page-promo-welcome-bonus__faq-answer p {
  margin: 0;
  color: #555555;
}

/* Related Promos Section */
.page-promo-welcome-bonus__related-promos-section {
  background-color: #ffffff;
}

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

.page-promo-welcome-bonus__promo-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-promo-welcome-bonus__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
}

.page-promo-welcome-bonus__promo-title {
  font-size: 1.6em;
  color: #0A2342;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-promo-welcome-bonus__promo-title a {
  color: #0A2342;
  text-decoration: none;
}

.page-promo-welcome-bonus__promo-title a:hover {
  text-decoration: underline;
}

.page-promo-welcome-bonus__promo-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

  .page-promo-welcome-bonus__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-promo-welcome-bonus {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

  .page-promo-welcome-bonus__hero-section {
    padding: 60px 0;
  }

  .page-promo-welcome-bonus__hero-title {
    font-size: 2.5em;
  }

  .page-promo-welcome-bonus__hero-description {
    font-size: 1.1em;
  }

  .page-promo-welcome-bonus__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-promo-welcome-bonus__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-promo-welcome-bonus__section-title {
    font-size: 2em;
  }

  .page-promo-welcome-bonus__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-promo-welcome-bonus__how-it-works-section,
  .page-promo-welcome-bonus__bonus-details-section,
  .page-promo-welcome-bonus__why-kinggame-section,
  .page-promo-welcome-bonus__faq-section,
  .page-promo-welcome-bonus__related-promos-section {
    padding: 60px 0;
  }

  .page-promo-welcome-bonus__steps-grid,
  .page-promo-welcome-bonus__details-grid,
  .page-promo-welcome-bonus__features-grid,
  .page-promo-welcome-bonus__promo-cards-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .page-promo-welcome-bonus__step-image,
  .page-promo-welcome-bonus__feature-image,
  .page-promo-welcome-bonus__promo-image {
    max-width: 100%;
    height: auto; /* Ensure images scale correctly */
    min-height: 200px; /* Minimum size requirement */
    width: 100%; /* Ensure images take full width of card */
    object-fit: cover;
  }

  .page-promo-welcome-bonus__faq-accordion {
    padding: 0 20px;
  }

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

  .page-promo-welcome-bonus__faq-answer {
    padding: 15px 20px;
  }

  .page-promo-welcome-bonus__cta-title {
    font-size: 1.8em;
  }

  .page-promo-welcome-bonus__cta-description {
    font-size: 1.1em;
  }
  
  /* Ensure no horizontal overflow for content area */
  .page-promo-welcome-bonus__container {
    padding: 0 15px;
  }
}

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

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

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

  .page-promo-welcome-bonus__step-title,
  .page-promo-welcome-bonus__detail-title,
  .page-promo-welcome-bonus__feature-title,
  .page-promo-welcome-bonus__promo-title {
    font-size: 1.5em;
  }
}

/* Ensure no image filter properties are used */
.page-promo-welcome-bonus img {
  filter: none; /* Explicitly disable any potential filter */
}

/* Content area image size constraint check */
.page-promo-welcome-bonus__step-card img,
.page-promo-welcome-bonus__feature-card img,
.page-promo-welcome-bonus__promo-card img {
  min-width: 200px;
  min-height: 200px;
}