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

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

.page-promo__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-promo__hero-content {
  max-width: 900px;
  z-index: 2;
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45;
  line-height: 1.2;
}

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

.page-promo__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

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

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

.page-promo__button--register:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-promo__button--login {
  background-color: transparent;
  color: #FCBC45;
  border: 2px solid #FCBC45;
}

.page-promo__button--login:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-2px);
}

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

.page-promo__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-promo__overview-section,
.page-promo__how-to-claim,
.page-promo__why-choose-jili8998,
.page-promo__details-list-section {
  padding: 60px 0;
  text-align: center;
}

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

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

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

.page-promo__featured-promos {
  padding: 60px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-promo__promo-grid {
  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: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promo__promo-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

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

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

.page-promo__button--claim,
.page-promo__button--details,
.page-promo__button--primary,
.page-promo__button--join {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px 20px;
  padding: 12px 20px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promo__button--claim:hover,
.page-promo__button--details:hover,
.page-promo__button--primary:hover,
.page-promo__button--join:hover {
  background-color: #e0a53b;
}

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

.page-promo__step-item {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-promo__step-description {
  font-size: 1.1em;
  color: #555555;
}

.page-promo__cta-buttons {
  margin-top: 40px;
}

.page-promo__button--primary {
  max-width: 400px;
  margin: 40px auto 0 auto;
}

.page-promo__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-promo__benefit-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promo__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.page-promo__benefit-description {
  font-size: 1.1em;
  color: #666666;
}

.page-promo__details-list-section {
  background-color: #f8f8f8;
}

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

.page-promo__detail-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-promo__detail-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-promo__detail-card .page-promo__card-title {
  font-size: 1.6em;
  color: #000000;
  margin: 20px 20px 10px 20px;
}

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

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

.page-promo__detail-card .page-promo__card-description {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-promo__cta-bottom {
  padding: 80px 20px;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

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

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

.page-promo__button--join {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
  background-color: #FCBC45;
  color: #000000;
}

.page-promo__button--join:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 3em;
  }
  .page-promo__section-title {
    font-size: 2.5em;
  }
  .page-promo__promo-card img,
  .page-promo__detail-card img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .page-promo {
    padding-top: var(--header-offset, 120px);
  }
  .page-promo__hero-section {
    padding: 60px 20px;
  }
  .page-promo__hero-title {
    font-size: 2.5em;
  }
  .page-promo__hero-description {
    font-size: 1.1em;
  }
  .page-promo__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promo__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-promo__section-title {
    font-size: 2em;
  }
  .page-promo__section-intro,
  .page-promo__section-text,
  .page-promo__step-description,
  .page-promo__benefit-description,
  .page-promo__card-description,
  .page-promo__cta-description {
    font-size: 1em;
  }
  .page-promo__promo-grid,
  .page-promo__benefits-list,
  .page-promo__detail-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-promo__promo-card img,
  .page-promo__detail-card img {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
    min-height: 200px; /* Ensure minimum height for content images */
    object-fit: cover;
  }
  .page-promo__promo-card,
  .page-promo__detail-card,
  .page-promo__benefit-item {
    margin: 0 10px;
  }
  .page-promo__cta-title {
    font-size: 2.2em;
  }
  .page-promo__button--join {
    width: 80%;
    padding: 15px 30px;
  }
  .page-promo__button--primary {
    width: 90%;
  }
  .page-promo__container {
    padding: 0 15px;
  }
  .page-promo__promo-card img, .page-promo__detail-card img {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 2em;
  }
  .page-promo__hero-description {
    font-size: 0.95em;
  }
  .page-promo__section-title {
    font-size: 1.8em;
  }
  .page-promo__card-title,
  .page-promo__step-title,
  .page-promo__benefit-title {
    font-size: 1.4em;
  }
  .page-promo__cta-title {
    font-size: 1.8em;
  }
  .page-promo__button {
    width: 90%;
  }
  .page-promo__button--join {
    width: 90%;
  }
}