.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background: linear-gradient(135deg, #017439, #0a0a0a);
  min-height: 600px;
  overflow: hidden;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text readability */
  border-radius: 10px;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  color: #FFFF00; /* Use custom color for login/register font */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.8;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for better text contrast */
}

.page-promotions__hero-cta-buttons,
.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__btn-primary:hover {
  background-color: #e02020;
}

.page-promotions__btn-secondary {
  background-color: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__btn-secondary:hover {
  background-color: #005f2e;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #017439; /* Brand color for titles on light background */
}

.page-promotions__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #333333; /* Dark text for light background */
}

/* Intro Section */
.page-promotions__intro-section {
  background-color: #ffffff; /* White background for contrast */
  color: #333333;
  padding: 60px 0;
}

/* Types Section */
.page-promotions__types-section {
  background-color: #0a0a0a; /* Dark background from body */
  color: #ffffff;
  padding: 60px 0;
}

.page-promotions__types-section .page-promotions__section-title,
.page-promotions__types-section .page-promotions__category-title {
  color: #FFFF00; /* Yellow for titles on dark background */
}

.page-promotions__types-section .page-promotions__section-description,
.page-promotions__types-section .page-promotions__category-description {
  color: #f0f0f0;
}

.page-promotions__promotion-category {
  margin-bottom: 60px;
}

.page-promotions__category-title {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  color: #017439; /* Brand color */
}

.page-promotions__category-description {
  font-size: 1.05em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #333333;
}

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

.page-promotions__card {
  background-color: #ffffff; /* White card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

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

.page-promotions__card-title {
  font-size: 1.4em;
  margin: 20px 20px 10px 20px;
  color: #017439; /* Brand color for card titles */
}

.page-promotions__card-link {
  text-decoration: none;
  color: inherit;
}

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

.page-promotions__card-text {
  font-size: 0.95em;
  padding: 0 20px 20px 20px;
  line-height: 1.5;
  flex-grow: 1;
}

/* VIP Section */
.page-promotions__vip-section {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-promotions__vip-section .page-promotions__section-title {
  color: #017439;
}

.page-promotions__vip-section .page-promotions__section-description {
  color: #333333;
}

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

.page-promotions__vip-benefit-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__vip-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-promotions__vip-benefit-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
}

.page-promotions__vip-benefit-text {
  font-size: 0.95em;
  color: #555555;
}

/* Guide Section */
.page-promotions__guide-section {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 60px 0;
}

.page-promotions__guide-section .page-promotions__section-title {
  color: #FFFF00;
}

.page-promotions__guide-section .page-promotions__section-description {
  color: #f0f0f0;
}

.page-promotions__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #017439;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__guide-step-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-promotions__guide-step-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-promotions__guide-step-text a {
  color: #FFFF00;
  text-decoration: none;
}

.page-promotions__guide-step-text a:hover {
  text-decoration: underline;
}

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

.page-promotions__terms-section .page-promotions__section-title {
  color: #017439;
}

.page-promotions__terms-section .page-promotions__section-description {
  color: #333333;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__terms-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__terms-item-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-promotions__terms-item-text {
  font-size: 1em;
  color: #555555;
}

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

.page-promotions__faq-section .page-promotions__section-title {
  color: #FFFF00;
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.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); /* Change to '−' visual */
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: rgba(0, 0, 0, 0.3); /* Slightly darker background for answer */
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

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

.page-promotions__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-promotions__faq-answer a {
  color: #FFFF00;
  text-decoration: none;
}

.page-promotions__faq-answer a:hover {
  text-decoration: underline;
}

/* Final CTA Section */
.page-promotions__cta-final {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-promotions__cta-final .page-promotions__section-title {
  color: #017439;
}

.page-promotions__cta-final .page-promotions__section-description {
  color: #333333;
}

.page-promotions__text-center {
  text-align: center;
}

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

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

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

  .page-promotions__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-promotions__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    min-height: auto;
  }

  .page-promotions__hero-content {
    padding: 15px;
  }

  .page-promotions__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

  .page-promotions__hero-image-wrapper {
    position: relative;
    height: 300px;
    margin-top: 30px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-promotions__hero-cta-buttons,
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-promotions__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-promotions__category-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-promotions__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card {
    padding-bottom: 15px;
  }

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

  .page-promotions__card-title {
    font-size: 1.2em;
    margin: 15px 15px 8px 15px;
  }

  .page-promotions__card-text {
    padding: 0 15px 15px 15px;
  }

  .page-promotions__vip-benefits {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__vip-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .page-promotions__vip-benefit-title {
    font-size: 1.1em;
  }

  .page-promotions__guide-item,
  .page-promotions__terms-item {
    padding: 20px;
  }

  .page-promotions__guide-step-title,
  .page-promotions__terms-item-title {
    font-size: 1.2em;
  }

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

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

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image responsiveness */
  .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,
  .page-promotions__hero-image-wrapper,
  .page-promotions__vip-benefits,
  .page-promotions__card-grid,
  .page-promotions__faq-list,
  .page-promotions__promotion-category {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }

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

  .page-promotions__category-title {
    font-size: 1.4em;
  }
}