:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg-color: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
  --text-dark-contrast: #333333; /* For light backgrounds */
  --text-light-contrast: #ffffff; /* For dark backgrounds */
}

.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light-contrast); /* Default for dark body background */
  background-color: var(--background-color);
}

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

.page-promotions__section-title,
.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive H1 font size */
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-light-contrast);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-promotions__section-description,
.page-promotions__hero-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-main-color);
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px; /* Adjusted padding */
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px; /* Space between image and content */
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(255, 140, 26, 0.5);
}

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-promotions__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.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;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: var(--text-light-contrast);
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-promotions__btn-secondary {
  background: var(--card-bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-promotions__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light-contrast);
  transform: translateY(-2px);
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-promotions__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Introduction Section */
.page-promotions__introduction-section {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--text-light-contrast);
}

.page-promotions__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-promotions__feature-item {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-promotions__feature-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

/* Promo Categories Section */
.page-promotions__promo-categories {
  padding: 80px 0;
  background-color: var(--card-bg-color);
  color: var(--text-light-contrast);
}

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

.page-promotions__promo-card {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-promotions__card-text {
  color: var(--text-main-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How To Claim Section */
.page-promotions__how-to-claim {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--text-light-contrast);
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__step-item {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-promotions__step-text {
  color: var(--text-main-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Featured Promos Section */
.page-promotions__featured-promos {
  padding: 80px 0;
  background-color: var(--card-bg-color);
  color: var(--text-light-contrast);
}

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

.page-promotions__promo-card-item {
  background-color: var(--background-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

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

.page-promotions__promo-card-item .page-promotions__card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-promotions__promo-card-item .page-promotions__card-title {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-promotions__promo-card-item .page-promotions__card-text {
  color: var(--text-main-color);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-promotions__card-date {
  font-size: 0.9em;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--text-light-contrast);
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--primary-color);
  background-color: rgba(255, 140, 26, 0.1);
  list-style: none; /* For details/summary */
}

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

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

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

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

/* Call to Action Section */
.page-promotions__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--primary-color);
  background: linear-gradient(90deg, var(--deep-orange-color) 0%, var(--primary-color) 100%);
  color: var(--text-light-contrast);
}

/* Dark background sections */
.page-promotions__dark-section {
  background-color: var(--background-color);
  color: var(--text-light-contrast);
}

/* Light background sections - for contrast if body is dark */
.page-promotions__light-bg {
  background-color: var(--background-color);
  color: var(--text-light-contrast);
}

.page-promotions__card-bg {
  background-color: var(--card-bg-color);
  color: var(--text-light-contrast);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__section-title,
  .page-promotions__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }
  .page-promotions__hero-image-wrapper {
    margin-bottom: 30px;
  }
  .page-promotions__hero-content {
    padding: 0 15px;
  }
  .page-promotions__feature-list,
  .page-promotions__promo-grid,
  .page-promotions__steps-list,
  .page-promotions__promo-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__section-title,
  .page-promotions__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 15px;
  }
  .page-promotions__section-description,
  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-promotions__hero-section,
  .page-promotions__introduction-section,
  .page-promotions__promo-categories,
  .page-promotions__how-to-claim,
  .page-promotions__featured-promos,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 40px 0;
  }
  .page-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__hero-image-wrapper {
    margin-bottom: 20px !important;
  }
  .page-promotions__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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__promo-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__feature-list,
  .page-promotions__promo-grid,
  .page-promotions__steps-list,
  .page-promotions__faq-list {
    gap: 20px;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-promotions__faq-answer {
    padding: 10px 20px 15px 20px;
  }
  .page-promotions__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }
  .page-promotions__promo-card-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}