.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css var(--dark-bg-1) */
}

.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 top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #1a1a1a; /* Fallback dark background */
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative; /* Ensure image is below content in DOM order, not covered by absolute positioning */
  z-index: 1;
}

.page-promotions__hero-content {
  position: relative; /* Position relative to allow z-index, but no absolute positioning for text over image */
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust as needed to bring content closer to image, but not over it */
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text readability */
  border-radius: 10px;
  box-sizing: border-box;
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-promotions__description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover {
  background-color: #1d8acb;
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* General Sections */
.page-promotions__introduction-section,
.page-promotions__categories-section,
.page-promotions__how-to-section,
.page-promotions__terms-section,
.page-promotions__cta-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Light background for content sections */
  color: #f0f0f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__introduction-section p,
.page-promotions__how-to-section p,
.page-promotions__terms-section p,
.page-promotions__cta-section p {
  color: #f0f0f0; /* Light text for readability on slightly dark background */
}

.page-promotions__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-promotions__section-title--light {
  color: #FFFFFF;
}

.page-promotions__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-promotions__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-promotions__text-link:hover {
  text-decoration: underline;
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__card-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__card-text {
  font-size: 0.95rem;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__card-button {
  width: 100%;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 6px;
}

/* How-To Section */
.page-promotions__ordered-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-promotions__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #f0f0f0;
  position: relative;
  padding-left: 60px;
}

.page-promotions__list-item strong {
  color: #26A9E0;
}

.page-promotions__list-item::before {
  content: counter(list-item);
  counter-increment: list-item;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #26A9E0;
  color: #FFFFFF;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Terms Section */
.page-promotions__terms-section {
  background-color: rgba(255, 255, 255, 0.05);
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #121212; /* Darker background for FAQ section */
  padding: 80px 0;
  color: #f0f0f0;
}

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

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #f0f0f0;
}

.page-promotions__faq-item summary {
  list-style: none;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #FFFFFF;
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-item[open] summary {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-promotions__faq-toggle {
  margin-left: 20px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #26A9E0;
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* CTA Section */
.page-promotions__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-promotions__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -80px;
    padding: 30px;
  }

  .page-promotions__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

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

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

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

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

  .page-promotions__cta-button,
  .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,
  .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;
    flex-direction: column !important;
    gap: 10px;
    overflow: hidden !important;
  }

  .page-promotions__hero-section,
  .page-promotions__introduction-section,
  .page-promotions__categories-section,
  .page-promotions__how-to-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 40px 0;
  }

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

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

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

  .page-promotions__card {
    padding: 20px;
  }

  .page-promotions__card-image {
    height: 180px;
  }

  .page-promotions__list-item {
    padding: 15px 15px 15px 50px;
    font-size: 0.95rem;
  }

  .page-promotions__list-item::before {
    width: 25px;
    height: 25px;
    font-size: 1rem;
    left: 15px;
  }

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

  .page-promotions__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.9rem;
  }

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

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* Ensure no image filters */
  .page-promotions img {
    filter: none !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-content {
    margin-top: -40px;
  }
  .page-promotions__cta-button {
    font-size: 1rem;
    padding: 12px 20px;
  }
  .page-promotions__button-group {
    flex-direction: column;
    gap: 15px;
  }
}

/* Color Contrast Adjustments (using brand colors) */
.page-promotions__dark-section {
  background: #121212;
  color: #ffffff;
}

.page-promotions__section-title {
  color: #26A9E0;
}

.page-promotions__card-title {
  color: #26A9E0;
}

.page-promotions__text-link {
  color: #26A9E0;
}

.page-promotions__list-item strong {
  color: #26A9E0;
}

.page-promotions__faq-toggle {
  color: #26A9E0;
}

.page-promotions__faq-item summary {
  color: #FFFFFF;
}

.page-promotions__faq-answer {
  color: #cccccc;
}

.page-promotions__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-promotions__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions__cta-button:active {
  transform: translateY(0);
}