.page-promotions {
  color: #ffffff; /* Body background is dark (#121212), so text should be light */
  background-color: #121212;
  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__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, #017439, #005a2e); /* Brand green gradient */
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.page-promotions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register/Login font color for prominence */
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}

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

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #C30808; /* Specific red for CTA */
  color: #FFFF00; /* Specific yellow for CTA font */
  border: 2px solid #C30808;
}

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

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

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

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFFF00; /* Use yellow for titles for good contrast on dark background */
  font-weight: bold;
}

.page-promotions__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  opacity: 0.8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-promotions__benefit-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-promotions__benefit-icon {
  width: 100%; /* Ensure images are not small icons */
  height: auto;
  max-width: 250px; /* Example max width for a 'feature icon' */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-promotions__benefit-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-promotions__benefit-description {
  font-size: 1em;
  opacity: 0.9;
}

.page-promotions__current-promos {
  padding: 80px 0;
  background-color: #121212;
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

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

.page-promotions__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promo-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-promotions__promo-description {
  font-size: 1em;
  margin-bottom: 20px;
  opacity: 0.9;
}

.page-promotions__categories-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-promotions__category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 15px;
}

.page-promotions__category-tab {
  padding: 12px 25px;
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: bold;
  font-size: 1.05em;
}

.page-promotions__category-tab:hover,
.page-promotions__category-tab--active {
  background-color: #017439;
  color: #FFFF00;
}

.page-promotions__category-content {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-promotions__category-content-title {
  font-size: 2em;
  margin-bottom: 25px;
  color: #FFFF00;
}

.page-promotions__category-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 0 auto 30px auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-promotions__category-content-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-promotions__how-to-participate {
  padding: 80px 0;
  background-color: #121212;
}

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

.page-promotions__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #017439;
  margin-right: 20px;
  line-height: 1;
}

.page-promotions__step-content {
  flex-grow: 1;
}

.page-promotions__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-promotions__step-description {
  font-size: 1em;
  opacity: 0.9;
}

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

.page-promotions__terms-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 40px;
  font-size: 1.1em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__terms-item {
  margin-bottom: 10px;
  opacity: 0.9;
}

.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #121212;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: #FFFF00;
  background-color: #017439;
}

.page-promotions__faq-question:hover {
  background-color: #005a2e;
}

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

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

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #ffffff;
  opacity: 0.9;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px;
}

.page-promotions__cta-bottom {
  padding: 80px 0;
  background-color: #017439; /* Brand green background */
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-promotions__cta-image {
  width: 100%;
  height: auto;
  max-width: 900px;
  margin-top: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }

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

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

  .page-promotions__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions__hero-title {
    font-size: 2.2em;
  }

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

  .page-promotions__section-title {
    font-size: 1.8em;
  }

  .page-promotions__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__benefits-grid,
  .page-promotions__promo-grid,
  .page-promotions__steps-list {
    grid-template-columns: 1fr;
  }

  .page-promotions__promo-card {
    flex-direction: column;
  }

  .page-promotions__promo-image {
    height: 200px;
  }

  .page-promotions__category-tabs {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .page-promotions__category-tab {
    width: 100%;
    max-width: 300px; /* Limit width for tabs on mobile */
    box-sizing: border-box;
  }

  .page-promotions__category-content {
    padding: 30px 20px;
  }

  .page-promotions__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-promotions__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__hero-image-wrapper,
  .page-promotions__benefits-section,
  .page-promotions__current-promos,
  .page-promotions__categories-section,
  .page-promotions__how-to-participate,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__benefit-card,
  .page-promotions__step-item,
  .page-promotions__category-content,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .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-wrap: wrap !important;
    gap: 10px;
  }

  .page-promotions__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}