.page-promotions {
  font-family: Arial, sans-serif;
  color: #ffffff; /* Light text on dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  line-height: 1.6;
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background-color: #1a1a1a; /* Dark background for hero section */
  overflow: hidden;
  text-align: center;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly transparent to let content stand out */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.page-promotions__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #FFD700; /* Primary gold color */
  color: #121212; /* Dark text for contrast */
  border: 2px solid #FFD700;
}

.page-promotions__btn-primary:hover {
  background-color: #e6c200;
  color: #121212;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Primary gold color for text */
  border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #121212;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions__btn-center {
  display: block;
  margin: 40px auto;
}

.page-promotions__current-offers-section,
.page-promotions__how-to-claim-section,
.page-promotions__jili-178-section,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__cta-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Primary gold color */
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__offer-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent background */
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions__offer-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-promotions__offer-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__offer-title {
  font-size: 1.6em;
  color: #FFD700; /* Primary gold color */
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-promotions__offer-title a:hover {
  color: #e6c200;
}

.page-promotions__offer-text {
  font-size: 1em;
  color: #c0c0c0;
  margin-bottom: 20px;
}

.page-promotions__offer-content .page-promotions__btn-primary {
  width: auto; /* Override general button width for card context */
  min-width: unset;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: auto; /* Push button to bottom */
}

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

.page-promotions__step-card {
  background-color: rgba(139, 0, 0, 0.7); /* Auxiliary dark red color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-promotions__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: #FFD700; /* Primary gold color */
  color: #121212; /* Dark text for contrast */
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: #FFD700; /* Primary gold color */
  margin-bottom: 15px;
}

.page-promotions__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-promotions__step-text a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

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

.page-promotions__how-to-claim-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: block;
}

.page-promotions__jili-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-promotions__feature-item {
  background-color: rgba(255, 215, 0, 0.15); /* Light gold background */
  border-left: 5px solid #FFD700; /* Gold accent */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promotions__feature-text {
  font-size: 1em;
  color: #c0c0c0;
}

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

.page-promotions__terms-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #8B0000; /* Dark red accent */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-promotions__faq-container {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700; /* Primary gold color */
  cursor: pointer;
  background-color: rgba(139, 0, 0, 0.5); /* Auxiliary dark red with transparency */
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(139, 0, 0, 0.7);
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg); 
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #c0c0c0;
}

.page-promotions__cta-section {
  background-color: #8B0000; /* Auxiliary dark red color */
  padding: 80px 20px;
  border-radius: 12px;
  margin: 60px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__cta-section .page-promotions__section-title {
  color: #ffffff;
}

.page-promotions__cta-section .page-promotions__section-description {
  color: #f0f0f0;
}

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

.page-promotions__cta-buttons .page-promotions__btn-primary {
  background-color: #FFD700;
  color: #121212;
  border-color: #FFD700;
}

.page-promotions__cta-buttons .page-promotions__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-promotions__cta-buttons .page-promotions__btn-secondary:hover {
  background-color: #ffffff;
  color: #8B0000;
}

/* Global image styles for responsiveness */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Image CSS size lower bound (content area) */
.page-promotions img:not(.page-promotions__step-icon) {
  min-width: 200px;
  min-height: 200px;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.5em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    min-height: 450px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-promotions__hero-title {
    font-size: 2em;
  }

  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-promotions__hero-buttons,
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-promotions__section-title {
    font-size: 1.8em;
  }

  .page-promotions__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-promotions__offers-grid,
  .page-promotions__steps-grid,
  .page-promotions__jili-features {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-promotions__offer-card {
    flex-direction: column;
  }

  .page-promotions__offer-image {
    height: 200px;
  }

  .page-promotions__offer-title {
    font-size: 1.4em;
  }

  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px;
  }

  /* Content area images must be responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__current-offers-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__jili-178-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-promotions__offer-content .page-promotions__btn-primary {
    width: 100%;
  }
}

/* Ensure no content causes horizontal scroll on mobile */
@media (max-width: 768px) {
  .page-promotions {
    overflow-x: hidden;
  }
}