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

/* --- Base Styles --- */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color for dark background */
  background-color: var(--background-color-base, #08160F); /* Page background */
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--gold-color, #F2C14E); /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8); /* Secondary text color */
}

.page-promotions__text-block a {
  color: var(--main-color, #11A84E);
  text-decoration: underline;
}

/* --- 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;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main, #F2FFF6);
  border: none;
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
  background: var(--main-color, #11A84E);
  color: var(--text-main, #F2FFF6);
  transform: translateY(-2px);
}

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%; /* Ensure container fills width */
  max-width: 100%; /* Ensure container fills width */
  box-sizing: border-box;
  overflow: hidden; /* Prevent overflow */
}

/* --- Hero Section --- */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: var(--background-color-base, #08160F);
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 40px; /* Space between image and content */
}

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  order: 2; /* Content below image */
  margin-bottom: 40px; /* Space before next section */
}

.page-promotions__hero-image {
  order: 1; /* Image above content */
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  color: var(--gold-color, #F2C14E);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Overview Section --- */
.page-promotions__overview-section {
  padding: 60px 0;
  background-color: var(--background-color-base, #08160F);
}

/* --- Promotion Types Section --- */
.page-promotions__types-section {
  padding: 60px 0;
  background-color: var(--card-bg-color, #11271B); /* Card background color for section */
}

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

.page-promotions__card {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: var(--text-main, #F2FFF6);
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: var(--gold-color, #F2C14E);
  margin: 20px 20px 10px 20px;
  font-weight: bold;
}

.page-promotions__card-text {
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  padding: 0 20px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin: 0 20px 20px 20px;
  align-self: flex-start; /* Align button to start */
}

/* --- How to Claim Section --- */
.page-promotions__how-to-claim-section {
  padding: 60px 0;
  background-color: var(--background-color-base, #08160F);
}

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

.page-promotions__list-item {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-promotions__list-title {
  font-size: 1.8em;
  color: var(--gold-color, #F2C14E);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__list-item p {
  color: var(--text-main, #F2FFF6);
  font-size: 1.05em;
}

.page-promotions__list-item a {
  color: var(--main-color, #11A84E);
  text-decoration: underline;
}

/* --- Terms Section --- */
.page-promotions__terms-section {
  padding: 60px 0;
  background-color: var(--card-bg-color, #11271B);
}

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

.page-promotions__terms-list .page-promotions__list-item {
  background-color: var(--background-color-base, #08160F); /* Invert colors for contrast */
}

/* --- FAQ Section --- */
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: var(--background-color-base, #08160F);
}

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

.page-promotions__faq-item {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--gold-color, #F2C14E); /* Question text color */
  cursor: pointer;
  background-color: var(--card-bg-color, #11271B);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: var(--deep-green-color, #0A4B2C);
}

.page-promotions__faq-qtext {
  flex-grow: 1;
  color: var(--gold-color, #F2C14E);
}

.page-promotions__faq-qtext a {
  color: var(--main-color, #11A84E);
  text-decoration: underline;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  color: var(--glow-color, #57E38D);
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: "−"; /* Change to minus sign when open */
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: var(--text-secondary, #A7D9B8);
  border-top: 1px solid var(--divider-color, #1E3A2A);
}

.page-promotions__faq-answer p {
  margin-top: 15px;
  color: var(--text-secondary, #A7D9B8);
}

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

/* --- Final CTA Section --- */
.page-promotions__cta-final-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background-color-base, #08160F);
}

/* Ensure contrast for all text elements */
.page-promotions h1, .page-promotions h2, .page-promotions h3, .page-promotions h4, .page-promotions h5, .page-promotions h6 {
  color: var(--gold-color, #F2C14E);
}
.page-promotions p, .page-promotions li, .page-promotions__text-block {
  color: var(--text-main, #F2FFF6);
}
.page-promotions__card-text, .page-promotions__hero-description, .page-promotions__faq-answer p {
  color: var(--text-secondary, #A7D9B8);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions__hero-content {
    margin-bottom: 30px;
  }

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

  .page-promotions__hero-description {
    font-size: 1.1em;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to prevent buttons touching edges */
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__promotion-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-promotions__card {
    padding-bottom: 0; /* Remove padding from card bottom, button has its own margin */
  }

  .page-promotions__btn-small {
    width: calc(100% - 40px); /* Adjust for card padding */
    margin: 0 20px 20px 20px;
  }

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

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

  /* --- Mobile Image/Video/Container Responsiveness (Mandatory) --- */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper,
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-promotions__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}