.page-promotions {
  color: #ffffff; /* Text color for dark body 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;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: var(--header-offset, 120px) 0 60px 0; /* Apply header offset */
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-promotions__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
  color: #FFFF00; /* Custom font color for emphasis */
}

.page-promotions__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-promotions__hero-button {
  display: inline-block;
  padding: 18px 40px;
  font-size: 1.3em;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Overview Section */
.page-promotions__overview-section {
  background-color: #1a1a1a; /* Dark body background */
  padding: 80px 0;
  color: #ffffff;
}

.page-promotions__overview-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-promotions__overview-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px 30px;
  border-radius: 10px;
  font-size: 1.1em;
  color: #ffffff;
  flex: 1 1 calc(33% - 40px);
  text-align: center;
  min-width: 280px;
  box-sizing: border-box;
}

/* Promotions List Section */
.page-promotions__promotions-list-section {
  background-color: #0d0d0d; /* Slightly darker than body for contrast */
  padding: 80px 0;
  color: #ffffff;
}

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

.page-promotions__promotion-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  filter: none; /* No filter for original image color */
}

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

.page-promotions__card-title {
  font-size: 1.8em;
  color: #FFFF00; /* Custom font color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1em;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

/* Benefits Section */
.page-promotions__benefits-section {
  background-color: #1a1a1a;
  padding: 80px 0;
  color: #ffffff;
}

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

.page-promotions__benefit-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__benefit-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* No filter for original image color */
}

.page-promotions__benefit-title {
  font-size: 1.5em;
  color: #FFFF00; /* Custom font color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__benefit-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  background-color: #0d0d0d;
  padding: 80px 0;
  color: #ffffff;
}

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

.page-promotions__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-promotions__step-title {
  font-size: 1.6em;
  color: #FFFF00; /* Custom font color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__step-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-promotions__how-to-claim-image {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 50px auto 0 auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  filter: none; /* No filter for original image color */
}

/* Terms Section */
.page-promotions__terms-section {
  background-color: #1a1a1a;
  padding: 80px 0;
  color: #ffffff;
}

.page-promotions__terms-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 40px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #0d0d0d;
  padding: 80px 0;
  color: #ffffff;
}

.page-promotions__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00; /* Custom font color */
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-item[open] > .page-promotions__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 15px 25px 20px 25px;
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
}

/* Remove default details arrow */
.page-promotions__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-promotions__faq-item summary {
  list-style: none;
}

/* Final CTA Section */
.page-promotions__cta-final-section {
  background-color: #017439; /* Brand primary color */
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 18px 40px;
  font-size: 1.3em;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Button Styles */
.page-promotions__btn-primary {
  background-color: #C30808; /* Custom Register/Login color */
  color: #FFFF00; /* Custom Register/Login font color */
  border: 2px solid #C30808;
}

.page-promotions__btn-primary:hover {
  background-color: #ff3333;
  transform: translateY(-3px);
}

.page-promotions__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }
  .page-promotions__hero-description {
    font-size: 1.2em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__overview-item {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__hero-title {
    font-size: 2.5em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__hero-button,
  .page-promotions__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
  }
  .page-promotions__overview-item,
  .page-promotions__promotion-card,
  .page-promotions__benefit-item,
  .page-promotions__step-item {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-promotions__card-title {
    font-size: 1.5em;
  }
  .page-promotions__card-description {
    font-size: 0.9em;
  }
  .page-promotions__faq-question {
    font-size: 1.1em;
  }
  .page-promotions__faq-answer {
    font-size: 0.9em;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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;
  }
  /* Mobile image, video, container responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__promotions-list-section,
  .page-promotions__benefits-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-final-section,
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-promotions__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 2em;
  }
  .page-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-promotions__hero-button,
  .page-promotions__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__overview-item,
  .page-promotions__promotion-card,
  .page-promotions__benefit-item,
  .page-promotions__step-item {
    padding: 20px;
  }
  .page-promotions__card-title {
    font-size: 1.3em;
  }
}

/* Global BEM color contrast classes for dark body background */
.page-promotions__dark-bg {
  color: #ffffff; /* Deep dark background requires light text */
}

.page-promotions__light-bg {
  color: #333333; /* Light background requires dark text */
  background: #ffffff;
}

/* Button contrast */
.page-promotions__btn-primary {
  background: #C30808; /* Red button */
  color: #FFFF00; /* Yellow text */
}

.page-promotions__btn-secondary {
  background: #ffffff; /* White button */
  color: #017439; /* Green text */
  border: 2px solid #017439;
}

/* Ensure all text within .page-promotions is light on dark body background */
.page-promotions p,
.page-promotions li,
.page-promotions__section-description,
.page-promotions__card-description,
.page-promotions__benefit-description,
.page-promotions__step-description,
.page-promotions__faq-answer {
  color: #e0e0e0; /* Slightly off-white for readability on dark background */
}