.page-promo {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure 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.5rem;
  color: #FFD700; /* Primary gold for titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promo__text-content {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-promo__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px 60px; /* Adjust top padding for spacing after header offset */
  overflow: hidden;
}

.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, NO COLOR CHANGE */
}

.page-promo__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

.page-promo__hero-title {
  font-size: 3.8rem;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
}

.page-promo__hero-description {
  font-size: 1.4rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-promo__button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  border: 2px solid #FFD700;
}

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

.page-promo__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-promo__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-promo__button--tertiary {
  background-color: #8B0000; /* Dark Red */
  color: #FFD700; /* Gold */
  border: 2px solid #8B0000;
}

.page-promo__button--tertiary:hover {
  background-color: #6e0000;
  transform: translateY(-2px);
}

.page-promo__button--small {
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 6px;
  background-color: #8B0000; /* Dark Red */
  color: #FFD700; /* Gold */
  border: 1px solid #8B0000;
}

.page-promo__button--small:hover {
  background-color: #6e0000;
  transform: translateY(-1px);
}

/* Why Jili77 Promos Section */
.page-promo__why-jili77-promos {
  padding: 60px 0;
  background: rgba(255, 215, 0, 0.05); /* Very subtle gold tint */
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

/* Featured Promotions Grid */
.page-promo__featured-promotions {
  padding: 60px 0;
}

.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: rgba(255, 255, 255, 0.08); /* Light transparent background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  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 8px 20px rgba(0, 0, 0, 0.5);
}

.page-promo__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.page-promo__card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-promo__card-title {
  font-size: 1.5rem;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-promo__card-title a {
  color: #FFD700; /* Gold for linked titles */
  text-decoration: none;
}

.page-promo__card-title a:hover {
  text-decoration: underline;
}

.page-promo__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Claim Section */
.page-promo__how-to-claim {
  padding: 60px 0;
  background: rgba(139, 0, 0, 0.1); /* Subtle dark red tint */
  border-top: 1px solid rgba(139, 0, 0, 0.2);
  border-bottom: 1px solid rgba(139, 0, 0, 0.2);
}

.page-promo__claim-steps-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-promo__claim-step {
  display: flex;
  align-items: flex-start;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promo__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #FFD700; /* Gold */
  margin-right: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.page-promo__step-title {
  font-size: 1.3rem;
  color: #FFD700; /* Gold */
  margin-bottom: 8px;
}

.page-promo__step-description {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-promo__claim-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promo__claim-actions {
  text-align: center;
  margin-top: 40px;
}

/* Terms Highlights Section */
.page-promo__terms-highlights {
  padding: 60px 0;
}

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

.page-promo__term-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700; /* Gold accent */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promo__term-title {
  font-size: 1.2rem;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promo__term-description {
  font-size: 0.95rem;
  color: #f0f0f0;
  line-height: 1.6;
}

/* Responsible Gaming Section */
.page-promo__responsible-gaming {
  padding: 60px 0;
  background-color: rgba(139, 0, 0, 0.15); /* Slightly darker red tint */
  text-align: center;
}

.page-promo__responsible-gaming-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-promo__faq {
  padding: 60px 0;
}

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

.page-promo__faq-question {
  font-size: 1.3rem;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-promo__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

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

.page-promo__faq-answer {
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-promo__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  margin-top: 15px;
}

.page-promo__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-promo__faq-answer a:hover {
  color: #e6c200;
}

/* Final Call to Action */
.page-promo__cta-final {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(255, 215, 0, 0.2)); /* Gold-red gradient */
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promo__cta-image {
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin: 40px auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

@media (max-width: 768px) {
  .page-promo__hero-section {
    padding: 60px 15px 40px;
  }
  .page-promo__hero-title {
    font-size: 2.5rem;
  }
  .page-promo__hero-description {
    font-size: 1.1rem;
  }
  .page-promo__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-promo__button {
    width: 100%;
    max-width: 300px;
  }
  .page-promo__section-title {
    font-size: 1.8rem;
  }
  .page-promo__text-content {
    font-size: 1rem;
  }
  .page-promo__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-promo__card-image {
    height: 200px;
  }
  .page-promo__claim-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-promo__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-promo__terms-list {
    grid-template-columns: 1fr;
  }
  /* Ensure all images within .page-promo are responsive and don't overflow */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 2rem;
  }
  .page-promo__hero-description {
    font-size: 1rem;
  }
  .page-promo__section-title {
    font-size: 1.5rem;
  }
  .page-promo__button {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-promo__card-title {
    font-size: 1.3rem;
  }
  .page-promo__step-title {
    font-size: 1.1rem;
  }
  .page-promo__faq-question {
    font-size: 1.1rem;
  }
}