:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-btn-gradient-start: #2AD16F;
  --color-btn-gradient-end: #13994A;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

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

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

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color-btn-gradient-start);
  border-radius: 2px;
}

.page-promotions__intro-text {
  text-align: center;
  font-size: 1.1em;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  min-height: 500px;
  overflow: hidden;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
  filter: brightness(0.7);
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  color: var(--color-text-main);
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-gold);
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--color-text-secondary);
}

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--color-btn-gradient-start);
  background: linear-gradient(180deg, var(--color-btn-gradient-start) 0%, var(--color-btn-gradient-end) 100%);
  color: var(--color-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  opacity: 0.9;
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-promotions__btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(242, 193, 78, 0.1);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

/* General Content Sections */
.page-promotions__overview,
.page-promotions__featured-promos,
.page-promotions__how-to-claim,
.page-promotions__terms,
.page-promotions__faq,
.page-promotions__cta-final {
  padding: 80px 0;
  border-top: 1px solid var(--color-divider);
}

/* Featured Promotions */
.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions__promo-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no CSS filter is applied */
}

.page-promotions__card-content {
  padding: 25px;
}

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

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

.page-promotions__card-btn {
  width: 100%;
  text-align: center;
}

/* How to Claim Section */
.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 30px;
}

.page-promotions__step-item {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
}

.page-promotions__step-title {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 35px;
}

.page-promotions__step-title::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-gold);
  color: var(--color-background);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  font-weight: bold;
}

.page-promotions__steps-list {
  counter-reset: step-counter;
}

.page-promotions__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Terms and Conditions Section */
.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
}

.page-promotions__terms-list strong {
  color: var(--color-text-main);
}

/* FAQ Section */
.page-promotions__faq-list {
  display: grid;
  gap: 20px;
}

.page-promotions__faq-item {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--color-text-main);
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--color-gold);
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

.page-promotions__faq-question:hover {
  background-color: rgba(var(--color-primary), 0.1);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: var(--color-deep-green);
}

.page-promotions__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Prevent text from capturing click in details summary */
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  pointer-events: none; /* Prevent toggle from capturing click in details summary */
}

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

/* Hide default details marker */
.page-promotions__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-promotions__faq-item summary {
  list-style: none;
}

/* Final CTA Section */
.page-promotions__cta-final {
  text-align: center;
  padding-bottom: 100px;
}

/* Image responsiveness */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none; /* Ensure no CSS filter is applied */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__section-title {
    font-size: 2em;
    margin-bottom: 25px;
  }

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
    min-height: 400px;
  }

  .page-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-promotions__description {
    font-size: 1em;
  }

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

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

  .page-promotions__overview,
  .page-promotions__featured-promos,
  .page-promotions__how-to-claim,
  .page-promotions__terms,
  .page-promotions__faq,
  .page-promotions__cta-final {
    padding: 50px 0;
  }

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

  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__faq-item {
    margin-left: 0;
    margin-right: 0;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

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

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

  .page-promotions__step-title {
    font-size: 1.1em;
    padding-left: 30px;
  }

  .page-promotions__step-title::before {
    width: 24px;
    height: 24px;
    font-size: 0.8em;
  }

  .page-promotions__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Video responsiveness - if any video elements are added later */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions__video-section {
    padding-top: 10px !important;
  }
}

/* Ensure color contrast */
.page-promotions__dark-bg {
  background-color: var(--color-background);
  color: var(--color-text-main);
}

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

.page-promotions p,
.page-promotions li {
  color: var(--color-text-secondary);
}

.page-promotions__main-title,
.page-promotions__section-title,
.page-promotions__card-title,
.page-promotions__faq-question {
  color: var(--color-gold);
}

.page-promotions__btn-primary {
  color: var(--color-text-main);
}

.page-promotions__btn-secondary {
  color: var(--color-gold);
}

.page-promotions__step-title {
  color: var(--color-primary);
}

/* Ensure no filter on images */
.page-promotions img {
  filter: none;
}