/* style/promo.css */
.page-promo {
  color: #333333; /* Dark text for light body background */
}

.page-promo__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #000000; /* Dark background for hero content area */
  color: #FFFFFF;
  text-align: center;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-promo__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-promo__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  z-index: 2;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-promo__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

.page-promo__hero-title-link {
  color: #FCBC45; /* Login color for highlight */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promo__hero-title-link:hover {
  color: #FFFFFF;
}

.page-promo__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-promo__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-promo__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-promo__button--primary:hover {
  background-color: #e0a030;
}

.page-promo__button--secondary {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-promo__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #e0a030;
}

.page-promo__promotions-grid-section,
.page-promo__why-claim-section,
.page-promo__how-to-claim-section,
.page-promo__faq-section,
.page-promo__related-links-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

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

.page-promo__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promo__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.page-promo__promotion-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promo__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-promo__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  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;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.3;
}

.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-text {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-promo__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  align-self: flex-start;
}

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

.page-promo__feature-item {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-promo__feature-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
}

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

.page-promo__step-item {
  text-align: center;
  position: relative;
  padding-top: 60px;
}

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

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

.page-promo__step-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
}

.page-promo__step-description a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-promo__step-description a:hover {
  text-decoration: underline;
}

.page-promo__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-promo__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

.page-promo__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

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

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

.page-promo__related-link {
  display: block;
  padding: 15px 20px;
  background-color: #e0e0e0;
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-promo__related-link:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-promo__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-promo__floating-button {
  display: block;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

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

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

.page-promo__floating-button--login {
  background-color: #FCBC45;
  color: #000000;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 2.5em;
  }
  .page-promo__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-promo__hero-section {
    padding: 40px 15px;
  }
  .page-promo__hero-content {
    width: 95%;
    padding: 15px;
  }
  .page-promo__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-promo__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-promo__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-promo__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-promo__promotions-grid-section,
  .page-promo__why-claim-section,
  .page-promo__how-to-claim-section,
  .page-promo__faq-section,
  .page-promo__related-links-section {
    padding: 40px 15px;
  }
  .page-promo__section-title {
    font-size: 1.8em;
  }
  .page-promo__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-promo__grid,
  .page-promo__features-grid,
  .page-promo__steps,
  .page-promo__links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promo__card-title {
    font-size: 1.5em;
  }
  .page-promo__feature-title,
  .page-promo__step-title,
  .page-promo__faq-question {
    font-size: 1.3em;
  }
  .page-promo__floating-buttons {
    flex-direction: row;
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    bottom: 15px;
    justify-content: space-around;
  }
  .page-promo__floating-button {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9em;
  }

  /* Critical: Prevent image overflow on mobile */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
  .page-promo__card-image {
    height: 200px; /* Adjust height for mobile cards */
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 1.5em;
  }
  .page-promo__hero-description {
    font-size: 0.9em;
  }
  .page-promo__section-title {
    font-size: 1.6em;
  }
  .page-promo__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-promo__floating-buttons {
    gap: 8px;
  }
  .page-promo__floating-button {
    padding: 8px 10px;
    font-size: 0.85em;
  }
}