:root {
  --primary-color: #11A84E;
  --accent-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #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 for the page content, ensuring contrast with shared body background */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text for dark background */
  background-color: var(--background-color); /* Inherited from body via shared.css */
}

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

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

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

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-promotions__light-bg .page-promotions__section-title {
  color: var(--deep-green-color);
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

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

.page-promotions__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 800;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__description {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  max-width: 100%; /* Ensure button fits container */
}

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--glow-color);
  color: var(--background-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Promotions Grid */
.page-promotions__types-section {
  padding: 80px 0;
}

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

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

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

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

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

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

.page-promotions__card-button {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
}

/* How to Claim Section */
.page-promotions__claim-section {
  padding: 80px 0;
}

.page-promotions__guide-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-promotions__guide-steps {
  flex: 1;
}

.page-promotions__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-promotions__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--background-color);
}

.page-promotions__list-item strong {
  color: var(--deep-green-color);
}

.page-promotions__view-all-button {
  margin-top: 20px;
}

.page-promotions__guide-image {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 80px 0;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 80px 0;
}

.page-promotions__why-choose-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-promotions__why-choose-image {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__feature-list {
  flex: 1;
  list-style: none;
  padding: 0;
}

.page-promotions__feature-list .page-promotions__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: var(--background-color);
  text-align: left;
}

.page-promotions__feature-list .page-promotions__list-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-main);
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
}

.page-promotions__faq-item[open] > .page-promotions__faq-question {
  border-bottom: 1px solid var(--border-color);
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-question::marker {
  display: none;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold-color);
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

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

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

.page-promotions__cta-final .page-promotions__description {
  margin-bottom: 40px;
}

.page-promotions__final-button {
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions__hero-image {
    max-height: 60vh;
  }

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

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

  .page-promotions__guide-content,
  .page-promotions__why-choose-grid {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions__guide-image,
  .page-promotions__why-choose-image {
    max-width: 80%;
    order: -1; /* Image first on mobile */
    margin-bottom: 30px;
  }

  .page-promotions__feature-list .page-promotions__list-item {
    text-align: left; /* Keep text aligned left */
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
  }

  .page-promotions__container,
  .page-promotions__hero-content,
  .page-promotions__promotions-grid,
  .page-promotions__faq-list,
  .page-promotions__cta-buttons {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-promotions__hero-image,
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__guide-image,
  .page-promotions__why-choose-image {
    max-width: 100% !important;
  }

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-promotions__text-block,
  .page-promotions__list-item,
  .page-promotions__card-text {
    font-size: 0.95em;
  }

  .page-promotions__promotion-card {
    margin-bottom: 20px;
  }

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

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

  .page-promotions__ordered-list {
    padding-left: 20px;
  }
}