.page-promo {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  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__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
}

.page-promo__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

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

.page-promo__btn--primary:hover {
  background-color: #e0a53d;
}

.page-promo__btn--secondary {
  background-color: #000000; /* Primary color */
  color: #FFFFFF; /* Register button color */
  border: 2px solid #000000;
}

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

.page-promo__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-promo__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page-promo__hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000000; /* Fallback background */
}

.page-promo__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Slightly dim the image for text readability */
}

.page-promo__hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FFFFFF;
  padding: 40px 20px;
  max-width: 900px;
}

.page-promo__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promo__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-promo__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Why Choose jili50 Section */
.page-promo__why-jili50-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

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

.page-promo__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promo__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

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

/* Types of Promotions Section */
.page-promo__types-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-promo__promo-card {
  background-color: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promo__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-promo__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-promo__promo-card .page-promo__btn {
  margin-top: auto; /* Push button to bottom */
  align-self: center;
}

.page-promo__promo-title {
  font-size: 1.6em;
  color: #000000;
  padding: 20px 25px 10px;
  font-weight: bold;
}

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

/* How to Claim Section */
.page-promo__how-to-claim-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

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

.page-promo__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-promo__step-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-promo__step-description {
  color: #666666;
  font-size: 0.95em;
}

/* Terms & Conditions Section */
.page-promo__terms-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-promo__terms-content {
  margin-top: 40px;
  text-align: left;
}

.page-promo__terms-subtitle {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promo__terms-text {
  font-size: 1.05em;
  color: #555555;
  margin-bottom: 20px;
}

.page-promo__terms-section .page-promo__btn {
  margin-top: 40px;
}

/* Responsible Gaming Section */
.page-promo__responsible-gaming-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

.page-promo__responsible-gaming-content {
  margin-top: 40px;
  text-align: left;
}

.page-promo__text {
  font-size: 1.05em;
  color: #555555;
  margin-bottom: 20px;
}

/* Mobile App Section */
.page-promo__mobile-app-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-promo__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.page-promo__app-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-promo__app-details {
  max-width: 500px;
  text-align: left;
}

.page-promo__app-subtitle {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-promo__app-feature-item {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-promo__app-feature-item::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Detail Pages Section */
.page-promo__detail-pages-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-promo__detail-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promo__detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-promo__detail-description {
  color: #666666;
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-promo__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-promo__faq-accordion {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__faq-item {
  background-color: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promo__faq-question {
  font-size: 1.3em;
  color: #000000;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f0f0f0;
  margin: 0;
}

.page-promo__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-promo__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-promo__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: #555555;
}

.page-promo__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-promo__faq-answer p {
  margin-bottom: 10px;
}

.page-promo__faq-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-promo__faq-link:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-promo__cta-section {
  background-color: #000000;
  padding: 80px 0;
  color: #FFFFFF;
  text-align: center;
}

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

.page-promo__cta-section .page-promo__section-intro {
  color: #e0e0e0;
}

.page-promo__cta-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

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

@media (max-width: 768px) {
  .page-promo {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-promo__hero-section {
    min-height: 500px;
  }
  .page-promo__hero-title {
    font-size: 2.5em;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__hero-actions {
    flex-direction: column;
  }
  .page-promo__btn--large {
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
  }
  .page-promo__section-title {
    font-size: 1.8em;
  }
  .page-promo__section-intro {
    font-size: 0.95em;
  }
  .page-promo__feature-card, .page-promo__promo-card, .page-promo__step-card, .page-promo__detail-item {
    padding: 20px;
  }
  .page-promo__feature-title, .page-promo__promo-title, .page-promo__step-title, .page-promo__detail-title {
    font-size: 1.4em;
  }
  .page-promo__app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-promo__app-details {
    text-align: center;
  }
  .page-promo__app-features-list {
    text-align: left;
    margin: 20px auto;
    max-width: 300px;
  }
  .page-promo__app-subtitle {
    font-size: 1.6em;
  }
  /* Strict Rule: Mobile content area images must use max-width: 100%; height: auto; */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
  .page-promo__hero-image {
    max-width: none;
  }
  .page-promo__feature-image, .page-promo__promo-image, .page-promo__step-icon, .page-promo__app-image {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto;
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }
  .page-promo__faq-question {
    font-size: 1.1em;
  }
  .page-promo__faq-answer {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 2em;
  }
  .page-promo__hero-description {
    font-size: 0.9em;
  }
  .page-promo__section-title {
    font-size: 1.5em;
  }
  .page-promo__promo-grid, .page-promo__features-grid, .page-promo__steps-grid, .page-promo__detail-list {
    grid-template-columns: 1fr;
  }
  .page-promo__hero-actions .page-promo__btn {
    font-size: 1em;
    padding: 12px 25px;
  }
}