/* style/promo.css */
.page-promo {
  font-family: Arial, sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-promo__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promo__hero-container {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

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

.page-promo__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

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

.page-promo__cta-button {
  display: inline-block;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promo__cta-button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
}

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

.page-promo__cta-button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

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

.page-promo__introduction-section,
.page-promo__promo-grid-section,
.page-promo__how-to-claim-section,
.page-promo__faq-section,
.page-promo__cta-final-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-promo__introduction-section,
.page-promo__how-to-claim-section,
.page-promo__cta-final-section {
  text-align: center;
}

.page-promo__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-promo__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promo__promo-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px 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(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-promo__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

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

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

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

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

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

.page-promo__card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-promo__card-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FCBC45" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.83"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #333333;
}

.page-promo__card-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: auto; /* Pushes button to the bottom */
}

.page-promo__card-button:hover {
  background-color: #e0a538;
  transform: translateY(-2px);
}

.page-promo__how-to-claim-section {
  background-color: #f0f0f0;
  border-radius: 12px;
  padding: 60px 40px;
}

.page-promo__claim-steps {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto 0;
}

.page-promo__claim-steps li {
  font-size: 1.15em;
  margin-bottom: 25px;
  padding-left: 50px;
  position: relative;
  line-height: 1.5;
  color: #333333;
}

.page-promo__step-number {
  position: absolute;
  left: 0;
  top: 0;
  background-color: #000000;
  color: #FCBC45;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-promo__claim-steps li a {
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
}

.page-promo__claim-steps li a:hover {
  color: #FCBC45;
}

.page-promo__cta-button--explore {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 40px;
}

.page-promo__cta-button--explore:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-promo__faq-section {
  background-color: #FFFFFF;
}

.page-promo__faq-items {
  margin-top: 40px;
}

.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;
  color: #000000;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-promo__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #FCBC45;
}

.page-promo__faq-question.active::after {
  content: '-';
}

.page-promo__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
  display: none;
}

.page-promo__faq-answer.active {
  display: block;
}

.page-promo__faq-answer a {
  color: #000000;
  text-decoration: underline;
}

.page-promo__faq-answer a:hover {
  color: #FCBC45;
}

.page-promo__cta-final-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.page-promo__cta-final-section .page-promo__section-title {
  color: #FCBC45;
}

.page-promo__cta-final-section .page-promo__section-text {
  color: #f0f0f0;
}

.page-promo__cta-button--register-large {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3em;
  margin-top: 30px;
  border-radius: 10px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 2.8em;
  }
  .page-promo__hero-description {
    font-size: 1.2em;
  }
  .page-promo__section-title {
    font-size: 2.2em;
  }
  .page-promo__promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promo__hero-section {
    padding: 60px 15px 30px;
  }
  .page-promo__hero-title {
    font-size: 2.2em;
  }
  .page-promo__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-promo__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }
  .page-promo__introduction-section,
  .page-promo__promo-grid-section,
  .page-promo__how-to-claim-section,
  .page-promo__faq-section,
  .page-promo__cta-final-section {
    padding: 40px 15px;
  }
  .page-promo__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-promo__section-text {
    font-size: 0.95em;
  }
  .page-promo__card-image {
    height: 200px;
  }
  .page-promo__card-title {
    font-size: 1.4em;
  }
  .page-promo__card-description {
    font-size: 0.9em;
  }
  .page-promo__card-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-promo__claim-steps li {
    font-size: 1em;
    padding-left: 40px;
    margin-bottom: 20px;
  }
  .page-promo__step-number {
    width: 30px;
    height: 30px;
    font-size: 1.1em;
  }
  .page-promo__faq-question {
    font-size: 1.1em;
  }
  .page-promo__faq-answer {
    font-size: 0.9em;
  }
  .page-promo__cta-button--register-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Content area images must not overflow */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 1.8em;
  }
  .page-promo__hero-description {
    font-size: 0.9em;
  }
  .page-promo__cta-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-promo__section-title {
    font-size: 1.6em;
  }
  .page-promo__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-promo__claim-steps li {
    padding-left: 35px;
  }
  .page-promo__step-number {
    width: 28px;
    height: 28px;
    font-size: 1em;
  }
}