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

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

.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 */
  background-color: var(--background);
  overflow: hidden;
}

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

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

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

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-promotions__cta-button {
  display: inline-block;
  background: var(--button);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-promotions__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-promotions__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-secondary);
}

/* Section backgrounds */
.page-promotions__dark-section {
  background-color: var(--background);
  color: var(--text-secondary);
}

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

/* Intro Section */
.page-promotions__intro-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--divider);
}

/* Promotion Types Grid */
.page-promotions__promo-types-section {
  padding: 80px 0;
}

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

.page-promotions__promo-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
}

.page-promotions__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__promo-card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-main);
  margin: 0 20px 15px;
}

.page-promotions__promo-card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__promo-card-button {
  margin: 0 auto;
  padding: 12px 25px;
  font-size: 1rem;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--divider);
}

.page-promotions__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-promotions__step-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--border);
}

.page-promotions__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--deep-green);
  color: var(--text-main);
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-promotions__step-description {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: justify;
}

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

/* Terms and Conditions Section */
.page-promotions__terms-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--divider);
}

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

.page-promotions__terms-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  border: 1px solid var(--border);
}

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

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

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

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

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

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

.page-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: justify;
}

/* Bottom CTA Section */
.page-promotions__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

/* --- Responsive Design --- */
@media (min-width: 769px) {
  .page-promotions__step-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .page-promotions__step-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
  }

  .page-promotions__main-title {
    font-size: 2rem;
  }

  .page-promotions__hero-description {
    font-size: 1rem;
  }

  .page-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 10px;
  }

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

  .page-promotions__text-block {
    font-size: 0.95rem;
  }

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

  .page-promotions__promo-card-image {
    height: 180px;
  }

  .page-promotions__promo-card-title {
    font-size: 1.3rem;
  }

  .page-promotions__promo-card-description {
    font-size: 0.9rem;
  }

  .page-promotions__step-item {
    padding: 20px;
  }

  .page-promotions__step-title {
    font-size: 1.4rem;
  }

  .page-promotions__step-description {
    font-size: 0.9rem;
  }

  .page-promotions__terms-item, .page-promotions__faq-question, .page-promotions__faq-answer {
    font-size: 0.95rem;
  }

  /* Mobile responsive for all images */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure images take full width of their container */
    height: auto !important;
    display: block !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__intro-section,
  .page-promotions__promo-types-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom-section,
  .page-promotions__promo-grid,
  .page-promotions__step-list,
  .page-promotions__terms-list,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

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

  /* Ensure buttons adapt on mobile */
  .page-promotions__cta-button,
  .page-promotions__promo-card-button {
    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-bottom-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions__promo-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .page-promotions__step-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .page-promotions__step-item {
    align-items: center;
    text-align: center;
  }
}

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

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

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

.page-promotions__main-title, .page-promotions__section-title, .page-promotions__promo-card-title, .page-promotions__step-title, .page-promotions__terms-item strong, .page-promotions__faq-question {
  color: var(--text-main);
}

.page-promotions__cta-button {
  color: #ffffff;
}

.page-promotions__step-number {
  color: var(--text-main);
}

.page-promotions__faq-toggle {
  color: var(--gold);
}

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