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

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --login-color: #EA7C07;
  --background-white: #FFFFFF;
  --black-color: #000000;
  --border-color: #e0e0e0;
}

.page-promotions-welcome-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light backgrounds */
  background-color: var(--background-white);
}

.page-promotions-welcome-bonus__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background-color: var(--primary-color);
}

.page-promotions-welcome-bonus__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 600px; /* Limit hero image height */
}

.page-promotions-welcome-bonus__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
  color: var(--text-color-light);
}

.page-promotions-welcome-bonus__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-color-light);
}

.page-promotions-welcome-bonus__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: var(--text-color-light);
}

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

.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.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions-welcome-bonus__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border: 2px solid var(--primary-color);
}

.page-promotions-welcome-bonus__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-promotions-welcome-bonus__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-promotions-welcome-bonus__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-promotions-welcome-bonus__btn-primary--large {
  padding: 18px 35px;
  font-size: 1.25rem;
}

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

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

.page-promotions-welcome-bonus__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-promotions-welcome-bonus__introduction .page-promotions-welcome-bonus__section-title,
.page-promotions-welcome-bonus__terms-conditions .page-promotions-welcome-bonus__section-title,
.page-promotions-welcome-bonus__why-choose-us .page-promotions-welcome-bonus__section-title,
.page-promotions-welcome-bonus__final-cta .page-promotions-welcome-bonus__section-title {
  color: var(--primary-color);
}

.page-promotions-welcome-bonus__how-to-claim .page-promotions-welcome-bonus__section-title,
.page-promotions-welcome-bonus__games-showcase .page-promotions-welcome-bonus__section-title,
.page-promotions-welcome-bonus__faq-section .page-promotions-welcome-bonus__section-title {
  color: var(--text-color-light);
}

.page-promotions-welcome-bonus__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions-welcome-bonus__text-block .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-promotions-welcome-bonus__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__text-block .highlight {
  color: var(--secondary-color);
}

.page-promotions-welcome-bonus__light-bg {
  background-color: var(--background-white);
  color: var(--text-color-dark);
}

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

.page-promotions-welcome-bonus__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure equal height */
  display: flex;
  flex-direction: column;
}

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

.page-promotions-welcome-bonus__step-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-welcome-bonus__step-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-color-light);
}

.page-promotions-welcome-bonus__step-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  flex-grow: 1; /* Allow description to grow */
}

.page-promotions-welcome-bonus__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

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

.page-promotions-welcome-bonus__terms-heading {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions-welcome-bonus__terms-description {
  font-size: 1rem;
  color: var(--text-color-dark);
}

.page-promotions-welcome-bonus__cta-buttons--centered {
  text-align: center;
  margin-top: 40px;
}

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

.page-promotions-welcome-bonus__game-category-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-promotions-welcome-bonus__game-category-card:hover {
  transform: translateY(-5px);
}

.page-promotions-welcome-bonus__category-image {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-welcome-bonus__category-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-color-light);
}

.page-promotions-welcome-bonus__category-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-promotions-welcome-bonus__why-choose-us .page-promotions-welcome-bonus__text-block .highlight {
  color: var(--primary-color);
}

.page-promotions-welcome-bonus__features-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions-welcome-bonus__feature-item {
  background-color: var(--background-white);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-promotions-welcome-bonus__feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: block;
  min-width: 200px; /* Ensure min size for content images */
  min-height: 200px;
  object-fit: contain; /* Icons might need contain */
}

.page-promotions-welcome-bonus__feature-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions-welcome-bonus__feature-description {
  font-size: 1rem;
  color: var(--text-color-dark);
  flex-grow: 1;
}

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

.page-promotions-welcome-bonus__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-color-light);
}

.page-promotions-welcome-bonus__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-color-light);
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-promotions-welcome-bonus__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions-welcome-bonus__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-welcome-bonus__faq-qtext {
  flex-grow: 1;
}

.page-promotions-welcome-bonus__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-promotions-welcome-bonus__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.page-promotions-welcome-bonus__final-cta .page-promotions-welcome-bonus__cta-content {
  text-align: center;
}

.page-promotions-welcome-bonus__final-cta .page-promotions-welcome-bonus__section-title {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-promotions-welcome-bonus__final-cta .page-promotions-welcome-bonus__text-block {
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-color-dark);
}

.page-promotions-welcome-bonus__final-cta .page-promotions-welcome-bonus__text-block .highlight {
  color: var(--primary-color);
}

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

  .page-promotions-welcome-bonus__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-promotions-welcome-bonus__hero-content {
    padding: 0 15px;
    margin-top: 20px;
  }

  .page-promotions-welcome-bonus__main-title {
    font-size: 2rem;
  }

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

  .page-promotions-welcome-bonus__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-promotions-welcome-bonus__btn-primary,
  .page-promotions-welcome-bonus__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

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

  .page-promotions-welcome-bonus__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-promotions-welcome-bonus__text-block {
    font-size: 1rem;
  }

  .page-promotions-welcome-bonus__steps-grid,
  .page-promotions-welcome-bonus__game-categories,
  .page-promotions-welcome-bonus__features-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-welcome-bonus__step-item,
  .page-promotions-welcome-bonus__game-category-card,
  .page-promotions-welcome-bonus__feature-item,
  .page-promotions-welcome-bonus__terms-item {
    padding: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions-welcome-bonus__step-image,
  .page-promotions-welcome-bonus__category-image,
  .page-promotions-welcome-bonus__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-promotions-welcome-bonus__step-title,
  .page-promotions-welcome-bonus__category-title,
  .page-promotions-welcome-bonus__feature-title {
    font-size: 1.3rem;
  }

  .page-promotions-welcome-bonus__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-promotions-welcome-bonus__faq-answer {
    padding: 10px 20px 20px;
    font-size: 0.95rem;
  }

  .page-promotions-welcome-bonus__cta-buttons--centered {
    margin-top: 30px;
  }

  .page-promotions-welcome-bonus__final-cta .page-promotions-welcome-bonus__text-block {
    margin-bottom: 30px;
  }

  .page-promotions-welcome-bonus__hero-image {
    max-height: 400px; /* Adjust hero image height for mobile */
  }
}

/* Contrast Fixes */
.page-promotions-welcome-bonus__dark-bg {
  color: var(--text-color-light); /* Deep color for text on dark background */
}

.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__step-item {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__game-category-card {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__faq-item summary {
  background-color: rgba(255, 255, 255, 0.08);
}

.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.18);
}