.page-index-promotion-details {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-index-promotion-details__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A192F; /* Fallback background if image fails */
}

.page-index-promotion-details__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-index-promotion-details__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 800px;
  padding: 20px;
  z-index: 1;
}

.page-index-promotion-details__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-promotion-details__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.page-index-promotion-details__hero-button,
.page-index-promotion-details__button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-promotion-details__hero-button:hover,
.page-index-promotion-details__button:hover {
  background-color: #e0b800;
  color: #000000;
}

.page-index-promotion-details__button--secondary {
  background-color: #0A192F;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-promotion-details__button--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
}

.page-index-promotion-details__overview-section,
.page-index-promotion-details__featured-promotions-section,
.page-index-promotion-details__how-to-claim-section,
.page-index-promotion-details__terms-section,
.page-index-promotion-details__why-phlboss-section,
.page-index-promotion-details__faq-section {
  padding: 60px 0;
  background-color: rgba(10, 25, 47, 0.8); /* Slightly transparent dark blue */
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-index-promotion-details__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-index-promotion-details__section-description {
  font-size: 1.1em;
  color: #e0e0e0;
  text-align: justify;
  margin-bottom: 20px;
}

.page-index-promotion-details__promo-grid,
.page-index-promotion-details__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-promotion-details__promo-card,
.page-index-promotion-details__step-item {
  background-color: #1a1a1a; /* Dark background for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-promotion-details__promo-card:hover,
.page-index-promotion-details__step-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-index-promotion-details__promo-card-image,
.page-index-promotion-details__step-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index-promotion-details__step-image {
  height: 200px; /* Slightly different height for step images */
}

.page-index-promotion-details__promo-card-content,
.page-index-promotion-details__step-item-content {
  padding: 25px;
}

.page-index-promotion-details__promo-card-title,
.page-index-promotion-details__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-promotion-details__promo-card-description,
.page-index-promotion-details__step-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-index-promotion-details__promo-card-button,
.page-index-promotion-details__step-button {
  display: block;
  width: fit-content;
  margin-top: 20px;
  background-color: #FFD700;
  color: #0A192F;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
}

.page-index-promotion-details__promo-card-button:hover,
.page-index-promotion-details__step-button:hover {
  background-color: #e0b800;
  color: #000000;
}

.page-index-promotion-details__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-index-promotion-details__terms-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
}

.page-index-promotion-details__terms-list li strong {
  color: #FFD700;
}

.page-index-promotion-details__text-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-index-promotion-details__text-link:hover {
  text-decoration: underline;
}

.page-index-promotion-details__why-phlboss-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-index-promotion-details__why-phlboss-image {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-index-promotion-details__why-phlboss-text {
  flex: 2 1 500px;
}

.page-index-promotion-details__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-index-promotion-details__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

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

.page-index-promotion-details__faq-item.active .page-index-promotion-details__faq-answer {
  max-height: 200px; /* Adjust as needed for content length */
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-index-promotion-details__hero-title {
    font-size: 3em;
  }
  .page-index-promotion-details__hero-description {
    font-size: 1.1em;
  }
  .page-index-promotion-details__section-title {
    font-size: 2.2em;
  }
  .page-index-promotion-details__promo-card-title,
  .page-index-promotion-details__step-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-index-promotion-details__hero-title {
    font-size: 2.5em;
  }
  .page-index-promotion-details__hero-description {
    font-size: 1em;
  }
  .page-index-promotion-details__section-title {
    font-size: 1.8em;
  }
  .page-index-promotion-details__hero-button,
  .page-index-promotion-details__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-promotion-details__promo-grid,
  .page-index-promotion-details__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-index-promotion-details__why-phlboss-content {
    flex-direction: column;
  }
  .page-index-promotion-details__why-phlboss-image {
    max-width: 100%;
  }
  .page-index-promotion-details__overview-section img,
  .page-index-promotion-details__featured-promotions-section img,
  .page-index-promotion-details__how-to-claim-section img,
  .page-index-promotion-details__terms-section img,
  .page-index-promotion-details__why-phlboss-section img,
  .page-index-promotion-details__faq-section img {
    max-width: 100%;
    height: auto;
  }
  .page-index-promotion-details__hero-image {
    height: 400px; /* Adjust hero image height for mobile */
  }
  .page-index-promotion-details__promo-card-image,
  .page-index-promotion-details__step-image {
    height: 180px;
  }
  .page-index-promotion-details__faq-question {
    font-size: 1.2em;
  }
  .page-index-promotion-details__faq-answer {
    font-size: 0.95em;
  }
  /* Content area images must not be smaller than 200px, but responsive */
  .page-index-promotion-details img {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-index-promotion-details__hero-title {
    font-size: 2em;
  }
  .page-index-promotion-details__hero-description {
    font-size: 0.9em;
  }
  .page-index-promotion-details__section-title {
    font-size: 1.5em;
  }
  .page-index-promotion-details__hero-image {
    height: 300px;
  }
  .page-index-promotion-details__promo-card-image,
  .page-index-promotion-details__step-image {
    height: 150px;
  }
}