/* style/promo.css */
.page-promo {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

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

/* Hero Section */
.page-promo__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 60px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-promo__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promo__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-promo__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
}

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

.page-promo__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-promo__cta-button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-3px);
}

.page-promo__cta-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-promo__cta-button--login:hover {
  background-color: #E0A030;
  transform: translateY(-3px);
}

.page-promo__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

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

/* Intro Section */
.page-promo__intro-section {
  padding: 60px 0;
  background-color: #F9F9F9;
  text-align: center;
}

.page-promo__intro-heading {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-promo__intro-text {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto;
  color: #555555;
}

/* Detail List Section */
.page-promo__detail-list-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-promo__detail-list-heading {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
  text-align: center;
}

.page-promo__detail-list-intro {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #555555;
  text-align: center;
}

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

.page-promo__promo-card {
  background-color: #F9F9F9;
  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;
}

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

.page-promo__card-image-wrapper {
  height: 250px;
  overflow: hidden;
}

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

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

.page-promo__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-promo__card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-promo__card-title a:hover {
  color: #FCBC45;
}

.page-promo__card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promo__card-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FCBC45;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-promo__card-button:hover {
  background-color: #E0A030;
}

/* How to Claim Section */
.page-promo__how-to-claim-section {
  padding: 60px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-promo__how-to-claim-heading {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-promo__how-to-claim-intro {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #F0F0F0;
}

.page-promo__how-to-claim-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-promo__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promo__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
  background-color: rgba(252, 188, 69, 0.2);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promo__step-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-promo__step-description {
  font-size: 0.95em;
  color: #E0E0E0;
}

.page-promo__how-to-claim-cta .page-promo__cta-button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-promo__how-to-claim-cta .page-promo__cta-button--primary:hover {
  background-color: #E0A030;
}

/* Terms Section */
.page-promo__terms-section {
  padding: 60px 0;
  background-color: #F9F9F9;
  text-align: center;
}

.page-promo__terms-heading {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-promo__terms-text {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto;
  color: #555555;
}

.page-promo__terms-link {
  color: #FCBC45;
  text-decoration: underline;
  font-weight: bold;
}

.page-promo__terms-link:hover {
  color: #E0A030;
}

/* FAQ Section */
.page-promo__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-promo__faq-heading {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #000000;
  text-align: center;
}

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

.page-promo__faq-question {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #000000;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-promo__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-promo__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-promo__faq-answer {
  font-size: 1em;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-promo__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  margin-top: 15px;
}

/* Final CTA Section */
.page-promo__cta-final-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-promo__cta-final-heading {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-promo__cta-final-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #F0F0F0;
}

.page-promo__cta-button--final {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-promo__cta-button--final:hover {
  background-color: #E0A030;
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-promo__hero-section {
    flex-direction: column;
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    padding-bottom: 40px;
  }

  .page-promo__hero-content {
    margin-bottom: 30px;
  }

  .page-promo__hero-title {
    font-size: 2.5em;
  }

  .page-promo__hero-description {
    font-size: 1.1em;
  }

  .page-promo__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-promo__cta-button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-promo__intro-heading,
  .page-promo__detail-list-heading,
  .page-promo__how-to-claim-heading,
  .page-promo__terms-heading,
  .page-promo__faq-heading,
  .page-promo__cta-final-heading {
    font-size: 2em;
  }

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

  .page-promo__how-to-claim-steps {
    grid-template-columns: 1fr;
  }

  .page-promo__card-image-wrapper {
    height: 200px;
  }

  /* Ensure content images are responsive and not too small */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
  .page-promo__card-image, .page-promo__hero-image {
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
  }
  .page-promo__promo-card img, .page-promo__card-image {
    width: 100%;
    height: auto; /* Allow height to adjust */
    max-width: 100%; /* Ensure no overflow */
    min-width: 200px;
    min-height: 200px;
  }
}

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

  .page-promo__intro-heading,
  .page-promo__detail-list-heading,
  .page-promo__how-to-claim-heading,
  .page-promo__terms-heading,
  .page-promo__faq-heading,
  .page-promo__cta-final-heading {
    font-size: 1.8em;
  }
}