/* style/promotions.css */
.page-promotions {
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #08160F; /* Background */
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #0A4B2C; /* Deep Green */
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-promotions__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

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

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

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background: #11271B; /* Card BG */
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-promotions__btn-secondary:hover {
  background: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

.page-promotions__overview-section,
.page-promotions__types-section,
.page-promotions__terms-section,
.page-promotions__guide-section,
.page-promotions__faq-section,
.page-promotions__conclusion-section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-promotions__overview-section {
  background-color: #08160F; /* Background */
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-promotions__text-block {
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__promotion-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__promotion-card--reverse {
  flex-direction: row-reverse;
}

.page-promotions__card-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-promotions__card-content {
  flex: 2;
}

.page-promotions__card-title {
  font-size: 2rem;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__card-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-promotions__terms-list,
.page-promotions__guide-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-promotions__terms-list li,
.page-promotions__guide-list li {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  display: flex;
  align-items: flex-start;
}

.page-promotions__terms-list li strong {
  color: #F2C14E; /* Gold */
  margin-right: 10px;
  min-width: 120px;
}

.page-promotions__guide-list li::before {
  content: counter(list-item) ". ";
  counter-increment: list-item;
  color: #57E38D; /* Glow */
  font-weight: 700;
  margin-right: 10px;
  min-width: 25px;
}

.page-promotions__guide-list ol {
  counter-reset: list-item;
}

.page-promotions__link-text {
  color: #57E38D; /* Glow */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-promotions__link-text:hover {
  color: #F2C14E; /* Gold */
}

.page-promotions__faq-list {
  margin-top: 30px;
}

.page-promotions__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-promotions__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-promotions__faq-item[open] .page-promotions__faq-answer {
  max-height: 500px; /* Adjust as needed */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-promotions__container,
  .page-promotions__overview-section,
  .page-promotions__types-section,
  .page-promotions__terms-section,
  .page-promotions__guide-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-promotions__main-title {
    font-size: 2rem;
  }

  .page-promotions__hero-description {
    font-size: 1rem;
  }

  .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: 1rem;
  }

  .page-promotions__promotion-card {
    flex-direction: column !important;
    gap: 20px;
    padding: 20px;
  }

  .page-promotions__card-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Enforce minimum image size */
    min-height: 200px !important;
  }

  .page-promotions__card-title {
    font-size: 1.5rem;
  }

  .page-promotions__card-description,
  .page-promotions__text-block,
  .page-promotions__terms-list li,
  .page-promotions__guide-list li,
  .page-promotions__faq-question,
  .page-promotions__faq-answer {
    font-size: 0.95rem;
  }

  .page-promotions__terms-list li strong {
    min-width: 90px;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all image containers are responsive */
  .page-promotions__hero-section,
  .page-promotions__promotion-card,
  .page-promotions__card-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}