.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-color);
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 500px;
  overflow: hidden;
  background-color: var(--deep-green);
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-main);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-main);
}

.page-promotions__intro-text {
  font-size: clamp(1em, 1.5vw, 1.3em);
  margin-bottom: 30px;
  color: var(--text-secondary);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.page-promotions__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.page-promotions__section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.page-promotions__dark-section {
  background-color: var(--deep-green);
}

.page-promotions__dark-bg {
  background-color: var(--card-bg);
}

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

.page-promotions__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold);
}

.page-promotions__section-description {
  font-size: clamp(1em, 1.2vw, 1.1em);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: var(--text-secondary);
}

.page-promotions__features-grid,
.page-promotions__promo-cards-grid,
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-main);
}

.page-promotions__card:hover {
  transform: translateY(-5px);
}

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-promotions__card p {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__promo-card .page-promotions__btn-primary {
  width: 100%;
  margin-top: auto; /* Push button to bottom */
}

.page-promotions__promo-card {
  display: flex;
  flex-direction: column;
}

.page-promotions__step-item {
  text-align: center;
}

.page-promotions__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: var(--button-gradient);
  border-radius: 50%;
  font-size: 2em;
  font-weight: 700;
  color: #ffffff;
  margin: 0 auto 20px auto;
}

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

.page-promotions__terms-list li {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-promotions__list-title {
  font-size: 1.25em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-promotions__list-title + p {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.page-promotions__cta-buttons--center {
  margin-top: 40px;
}

.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow);
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: '−';
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95em;
  color: var(--text-secondary);
}

.page-promotions__faq-answer p {
  margin-bottom: 10px;
}

.page-promotions__faq-answer .page-promotions__btn-secondary {
  margin-top: 15px;
}

.page-promotions__cta-final-section {
  padding: 100px 20px;
  text-align: center;
  background-color: var(--deep-green);
  background-image: url('[GALLERY:cta_banner:1920x400:cwin09,final_cta,promotion_call_to_action,online_betting]');
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-promotions__cta-final-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Overlay to darken image for text */
  z-index: 1;
}

.page-promotions__cta-final-content {
  position: relative;
  z-index: 2;
  color: var(--text-main);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }

  .page-promotions__section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__highlight-promos-section,
  .page-promotions__guide-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-final-section,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-promotions__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    min-height: 350px;
  }

  .page-promotions__main-title {
    font-size: 2.2em;
  }

  .page-promotions__intro-text {
    font-size: 1em;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-promotions__features-grid,
  .page-promotions__promo-cards-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card {
    padding: 25px;
  }

  .page-promotions__card-title {
    font-size: 1.3em;
  }

  .page-promotions__card p {
    font-size: 0.9em;
  }

  .page-promotions__card-image {
    height: 180px;
  }

  .page-promotions__step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.8em;
  }

  .page-promotions__terms-list li {
    padding: 20px;
  }

  .page-promotions__list-title {
    font-size: 1.15em;
  }

  .page-promotions__faq-question {
    font-size: 1.05em;
    padding: 18px 20px;
  }

  .page-promotions__faq-answer {
    padding: 0 20px 18px 20px;
  }

  .page-promotions__cta-final-section {
    padding: 60px 15px;
  }
}

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

  .page-promotions__section-title {
    font-size: 1.8em;
  }

  .page-promotions__card-title {
    font-size: 1.2em;
  }

  .page-promotions__faq-question {
    font-size: 1em;
  }
}

/* Color contrast safety */
.page-promotions {
  color: var(--text-main); /* Light text for dark background */
  background-color: var(--bg-color);
}

.page-promotions__card {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}

.page-promotions__dark-section {
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-promotions__faq-question,
.page-promotions__list-title {
  color: var(--text-main);
}

.page-promotions__intro-text,
.page-promotions__section-description,
.page-promotions__card p,
.page-promotions__faq-answer p {
  color: var(--text-secondary);
}

.page-promotions__section-title {
  color: var(--gold);
}