/* style/promo.css */
.page-promo {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #FFFFFF */
  background-color: var(--secondary-color); /* This will be #FFFFFF from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

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

.page-promo__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7); /* Darken image slightly for text readability, not changing color */
}

.page-promo__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background for text */
  padding: 30px;
  border-radius: 10px;
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

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

.page-promo__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text for login button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: 20px;
  font-size: 1.1em;
}

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

.page-promo__button--secondary {
  background-color: #000000; /* Primary color */
  color: #FFFFFF; /* White text for secondary button */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: inline-block;
  font-size: 1em;
}

.page-promo__button--secondary:hover {
  background-color: #333333;
}

.page-promo__intro-section,
.page-promo__promo-grid,
.page-promo__vip-section,
.page-promo__faq-section,
.page-promo__cta-section,
.page-promo__terms-section {
  padding: 60px 0;
  text-align: center;
}

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

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

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

.page-promo__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-promo__promo-card:hover {
  transform: translateY(-5px);
}

.page-promo__card-image {
  width: 100%;
  height: 250px;
  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-top: 0;
  margin-bottom: 15px;
  color: #000000;
}

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

.page-promo__card-button {
  align-self: flex-start;
}

.page-promo__vip-section {
  background-color: #000000; /* Primary color */
  color: #FFFFFF;
  padding: 80px 0;
}

.page-promo__vip-section .page-promo__section-title {
  color: #FFFFFF;
}

.page-promo__vip-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-promo__vip-image {
  flex: 1;
  min-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.page-promo__vip-text {
  flex: 2;
  min-width: 300px;
  font-size: 1.1em;
}

.page-promo__vip-text p {
  margin-bottom: 25px;
  color: #F0F0F0;
}

.page-promo__vip-button {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.page-promo__vip-button:hover {
  background-color: #e0a53b;
}

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

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

.page-promo__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-promo__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-promo__faq-question--active::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

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

.page-promo__cta-section {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text for CTA section */
  padding: 80px 0;
}

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

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

.page-promo__cta-button {
  margin: 0 15px;
}

.page-promo__terms-section {
  padding: 40px 0;
  background-color: #EFEFEF;
}

.page-promo__terms-text {
  font-size: 0.9em;
  color: #777777;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

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

.page-promo__terms-text a:hover {
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 3em;
  }
  .page-promo__section-title {
    font-size: 2em;
  }
  .page-promo__promo-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-promo {
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }

  .page-promo__hero-title {
    font-size: 2.5em;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__button--primary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-promo__section-title {
    font-size: 1.8em;
  }
  .page-promo__section-description {
    font-size: 0.95em;
  }

  .page-promo__promo-grid {
    padding: 40px 0;
  }
  .page-promo__grid-layout {
    grid-template-columns: 1fr;
  }

  .page-promo__promo-card {
    margin: 0 auto;
    max-width: 400px;
  }

  .page-promo__vip-content {
    flex-direction: column;
    text-align: center;
  }
  .page-promo__vip-image {
    width: 100%;
    max-width: 400px;
  }
  .page-promo__vip-text {
    text-align: center;
  }
  .page-promo__vip-button {
    margin-top: 20px;
  }

  .page-promo__faq-section {
    padding: 40px 0;
  }

  .page-promo__cta-section {
    padding: 60px 0;
  }
  .page-promo__cta-button {
    display: block;
    margin: 15px auto;
    max-width: 250px;
  }

  /* Critical: Ensure all images within .page-promo are responsive and don't overflow */
  .page-promo img {
    max-width: 100%;
    height: auto;
    display: block; /* Important for preventing extra space */
  }

  /* Content area image size check: Ensure no image display size is less than 200px */
  /* The HTML attributes width="400" height="300" combined with max-width: 100%; height: auto; ensures they scale down but don't become tiny */
  /* The smallest effective width would be the container width, which is at least 200px on small screens. */
  .page-promo__card-image,
  .page-promo__vip-image {
    min-width: 200px;
    min-height: 200px;
    /* These min-dimensions ensure images are not too small if their containers allow it. */
    /* max-width: 100%; height: auto; will prevent overflow */
  }
}