.page-promotions {
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --background-card: #11271B;
  --background-body: #08160F;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);

  background-color: var(--background-body);
  color: var(--text-main); /* Default text color for dark 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;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--background-body);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area */
}

.page-promotions__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect */
  background: var(--background-card);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 10;
  border: 1px solid var(--border-color);
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

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

.page-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-promotions__cta-button--secondary {
  background: var(--deep-green);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-promotions__cta-button--secondary:hover {
  background: linear-gradient(180deg, var(--deep-green) 0%, #083A1C 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-promotions__cta-button--small {
  padding: 10px 20px;
  font-size: 0.95rem;
}

/* General Section Styles */
.page-promotions__introduction-section,
.page-promotions__how-to-get-section,
.page-promotions__types-section,
.page-promotions__terms-conditions-section,
.page-promotions__faq-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-promotions__light-bg {
  background-color: #ffffff; /* Use a light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-promotions__light-bg .page-promotions__section-title,
.page-promotions__light-bg .page-promotions__step-title,
.page-promotions__light-bg .page-promotions__card-title {
  color: var(--deep-green); /* Dark green for titles on light background */
}

.page-promotions__light-bg p,
.page-promotions__light-bg li {
  color: #555555;
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--gold-color);
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-promotions p {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* How-To Section */
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-card {
  background: var(--background-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-promotions__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--glow-color);
}

.page-promotions__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-promotions__step-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 15px;
}

/* Promotion Types Section */
.page-promotions__promotion-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promotion-card {
  background: var(--background-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--glow-color);
}

.page-promotions__card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
}

.page-promotions__card-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-promotions__promotion-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: left;
  margin-bottom: 20px;
}

/* Terms & Conditions Section */
.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 40px auto 30px auto;
}

.page-promotions__terms-list li {
  background: var(--background-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-promotions__terms-list li strong {
  color: var(--gold-color);
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-promotions__faq-item {
  background: var(--background-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden; /* For transition */
}

.page-promotions__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--gold-color);
  cursor: pointer;
  list-style: none; /* Hide default marker */
  position: relative;
}

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

.page-promotions__faq-qtext {
  flex-grow: 1;
}

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

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

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

.page-promotions__faq-answer p {
  margin: 0;
  text-align: left;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

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

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

  .page-promotions__cta-button {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

  .page-promotions__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .page-promotions__introduction-section,
  .page-promotions__how-to-get-section,
  .page-promotions__types-section,
  .page-promotions__terms-conditions-section,
  .page-promotions__faq-section {
    padding: 50px 0;
  }

  .page-promotions__steps-grid,
  .page-promotions__promotion-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__step-card,
  .page-promotions__promotion-card {
    padding: 20px;
  }

  .page-promotions__step-image,
  .page-promotions__card-image {
    height: 150px;
  }

  .page-promotions__step-title,
  .page-promotions__card-title {
    font-size: 1.3rem;
  }

  .page-promotions p,
  .page-promotions li,
  .page-promotions__faq-answer p {
    font-size: 0.95rem;
  }

  .page-promotions__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

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

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

  .page-promotions__hero-image-wrapper,
  .page-promotions__steps-grid,
  .page-promotions__promotion-cards-grid,
  .page-promotions__promotion-card,
  .page-promotions__step-card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Ensure content images meet min size requirements */
.page-promotions img:not(.page-promotions__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Specific overrides for contrast safety, assuming dark background for main content */
.page-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions__light-bg .page-promotions__section-title {
  color: #000000;
}

.page-promotions__light-bg .page-promotions__cta-button {
  background: var(--button-gradient);
  color: #ffffff;
}

.page-promotions__light-bg .page-promotions__cta-button--secondary {
  background: #ffffff;
  color: var(--deep-green);
  border: 1px solid var(--deep-green);
}

.page-promotions__light-bg .page-promotions__cta-button--secondary:hover {
  background: #f0f0f0;
  color: var(--deep-green);
}

.page-promotions__light-bg .page-promotions__terms-list li {
  background: #f8f8f8;
  border-color: #e0e0e0;
  color: #444444;
}

.page-promotions__light-bg .page-promotions__terms-list li strong {
  color: #000000;
}