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

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

.page-promo__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  max-height: 500px; /* Limit height to keep it a banner */
}

.page-promo__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 20px;
}

.page-promo__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

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

.page-promo__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-promo__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
}

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

.page-promo__section-intro {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

.page-promo__card {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promo__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-promo__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 4px solid #FCBC45;
}

.page-promo__card-title {
  font-size: 1.5em;
  color: #000000;
  margin: 25px 15px 15px 15px;
  font-weight: bold;
  line-height: 1.3;
}

.page-promo__card-text {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
  padding: 0 20px;
  flex-grow: 1;
}

.page-promo__card-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

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

.page-promo__referral-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  background-color: #000000;
  color: #FFFFFF;
  padding: 50px;
  border-radius: 12px;
  margin-bottom: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-promo__referral-image {
  width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
}

.page-promo__referral-content {
  width: 50%;
  text-align: left;
}

.page-promo__referral-title {
  font-size: 2em;
  color: #FCBC45;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promo__referral-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-promo__referral-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promo__referral-button:hover {
  background-color: #e0a53a;
}

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

.page-promo__info-item {
  background-color: #f8f8f8;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.page-promo__info-text {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-promo__info-button {
  display: inline-block;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

.page-promo__info-button:hover {
  color: #e0a53a;
}

.page-promo__advantage-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 60px auto;
  max-width: 900px;
}

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

.page-promo__advantage-title {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promo__advantage-text {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.6;
}

.page-promo__faq-container {
  max-width: 900px;
  margin: 0 auto 60px auto;
}

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

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

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

.page-promo__final-cta {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-promo__final-cta-title {
  font-size: 2.8em;
  color: #FCBC45;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-promo__final-cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #E0E0E0;
}

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

.page-promo__cta-button--register {
  background-color: #FCBC45;
  color: #000000;
}

.page-promo__cta-button--register:hover {
  background-color: #e0a53a;
}

.page-promo__cta-button--login {
  background-color: #FFFFFF;
  color: #000000;
}

.page-promo__cta-button--login:hover {
  background-color: #f0f0f0;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 2.8em;
  }
  .page-promo__hero-description {
    font-size: 1.1em;
  }
  .page-promo__section-title {
    font-size: 2.2em;
  }
  .page-promo__referral-section {
    flex-direction: column;
    text-align: center;
  }
  .page-promo__referral-image, .page-promo__referral-content {
    width: 100%;
  }
  .page-promo__referral-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-promo__hero-section {
    padding-top: var(--header-offset, 120px);
    padding: 30px 15px;
  }
  .page-promo__hero-title {
    font-size: 2.2em;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promo__content-area {
    padding: 40px 15px;
  }
  .page-promo__section-title {
    font-size: 1.8em;
  }
  .page-promo__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-promo__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promo__card-image {
    height: 200px; /* Adjust height for smaller screens, but ensure >= 200px */
  }
  .page-promo__card-title {
    font-size: 1.3em;
  }
  .page-promo__card-text {
    font-size: 0.9em;
  }
  .page-promo__referral-section {
    padding: 30px;
  }
  .page-promo__referral-title {
    font-size: 1.8em;
  }
  .page-promo__referral-text {
    font-size: 1em;
  }
  .page-promo__referral-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promo__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promo__info-item {
    padding: 20px;
  }
  .page-promo__info-title {
    font-size: 1.2em;
  }
  .page-promo__final-cta {
    padding: 40px 15px;
  }
  .page-promo__final-cta-title {
    font-size: 2.2em;
  }
  .page-promo__final-cta-description {
    font-size: 1em;
  }
  /* Ensure content images do not overflow */
  .page-promo__hero-image,
  .page-promo__card-image,
  .page-promo__referral-image,
  .page-promo__info-item img, /* if any */
  .page-promo__advantage-item img, /* if any */
  .page-promo__faq-item img /* if any */ {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }
  /* CSS for images within .page-promo, ensuring minimum display size */
  .page-promo img {
    max-width: 100%;
    height: auto;
    /* Enforce minimum display size for content images */
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 1.8em;
  }
  .page-promo__hero-description {
    font-size: 0.9em;
  }
  .page-promo__final-cta-title {
    font-size: 1.8em;
  }
  .page-promo__final-cta-buttons {
    flex-direction: column;
  }
}