:root {
  --win96-primary-color: #11A84E;
  --win96-secondary-color: #22C768;
  --win96-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --win96-card-bg: #11271B;
  --win96-background: #08160F;
  --win96-text-main: #F2FFF6;
  --win96-text-secondary: #A7D9B8;
  --win96-border: #2E7A4E;
  --win96-glow: #57E38D;
  --win96-gold: #F2C14E;
  --win96-divider: #1E3A2A;
  --win96-deep-green: #0A4B2C;
}

.page-promotions {
  background-color: var(--win96-background);
  color: var(--win96-text-main); /* Default text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

/* Fixed Header Spacing - First section should have minimal top padding */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Stacks image and content vertically */
  align-items: center;
  padding: 10px 0 60px 0; /* Minimal top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit image height to ensure content is not pushed too far down */
  overflow: hidden; /* Crop image if too tall */
  position: relative;
  z-index: 1;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 40px; /* Add normal spacing below the image */
  background: var(--win96-card-bg); /* Use solid card background for content */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: var(--win96-gold); /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__intro-text {
  font-size: 1.1em;
  color: var(--win96-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Ensure buttons adapt to container width */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions__btn-primary {
  background: var(--win96-button-gradient);
  color: var(--win96-text-main); /* White text for dark button */
  border: 2px solid var(--win96-primary-color);
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-promotions__btn-secondary:hover {
  background: var(--win96-primary-color);
  color: var(--win96-text-main);
  transform: translateY(-3px);
}

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

.page-promotions__overview-section,
.page-promotions__categories-section,
.page-promotions__terms-section {
  padding: 60px 0;
  background-color: var(--win96-background);
}

.page-promotions__dark-section {
  background-color: var(--win96-card-bg); /* Darker background for contrast */
  color: var(--win96-text-main);
  padding: 60px 0;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--win96-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-promotions__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--win96-text-secondary);
  text-align: justify;
}

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

.page-promotions__promo-card {
  background-color: var(--win96-card-bg);
  border: 1px solid var(--win96-border);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-promotions__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
}

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

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

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

.page-promotions__steps-list li {
  background-color: rgba(17, 168, 78, 0.1); /* Slightly transparent primary color */
  border: 1px solid var(--win96-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: var(--win96-gold);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__step-description {
  color: var(--win96-text-secondary);
  font-size: 1em;
}

.page-promotions__step-description a {
  color: var(--win96-secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__step-description a:hover {
  text-decoration: underline;
}

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  color: var(--win96-text-secondary);
  margin-top: 20px;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-promotions__terms-section a {
  color: var(--win96-secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__terms-section a:hover {
  text-decoration: underline;
}

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

.page-promotions__faq-item {
  background-color: var(--win96-card-bg);
  border: 1px solid var(--win96-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--win96-text-main);
  background-color: var(--win96-deep-green);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-promotions__faq-item[open] > .page-promotions__faq-question {
  background-color: var(--win96-primary-color); /* Highlight when open */
  color: var(--win96-text-main);
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--win96-gold);
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  color: var(--win96-text-main);
}

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

/* Ensure link colors are visible */
.page-promotions a {
  color: var(--win96-secondary-color);
  text-decoration: none;
}
.page-promotions a:hover {
  text-decoration: underline;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: 30px;
    padding: 30px 20px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-promotions__steps-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-promotions__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-promotions__hero-content {
    margin-top: 20px;
    padding: 25px 15px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-promotions__intro-text {
    font-size: 1em;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container of buttons */
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__container {
    padding: 20px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions__paragraph {
    font-size: 0.95em;
  }
  .page-promotions__promo-grid {
    grid-template-columns: 1fr; /* Single column layout for cards */
    gap: 20px;
  }
  .page-promotions__card-image {
    height: 180px; /* Slightly smaller height for mobile cards */
  }
  .page-promotions__card-title {
    font-size: 1.3em;
  }
  .page-promotions__steps-list {
    grid-template-columns: 1fr; /* Single column for steps */
    gap: 20px;
  }
  .page-promotions__step-title {
    font-size: 1.2em;
  }
  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__promo-card,
  .page-promotions__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* Video section (if present) top padding */
  .page-promotions__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

/* Ensure contrast for text on various backgrounds */
.page-promotions__hero-content,
.page-promotions__promo-card,
.page-promotions__steps-list li,
.page-promotions__faq-item {
  color: var(--win96-text-main); /* Light text on dark/brand backgrounds */
}

/* Specific contrast for links within dark sections */
.page-promotions__dark-section a {
  color: var(--win96-gold); /* Gold links on dark green background */
}
.page-promotions__dark-section a:hover {
  text-decoration: underline;
}