/* style/promotions.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-promotions {
  color: var(--text-main);
  background-color: var(--background-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  color: var(--text-main);
  background-color: var(--card-bg);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gold-color);
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

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

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

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.page-promotions__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  transform: translateY(-3px);
}

/* General Section Styling */
.page-promotions__intro-section {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-promotions__types-section,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__cta-final {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-promotions__why-choose-section {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-promotions__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--gold-color);
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-promotions p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-promotions a {
  color: var(--glow-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions a:hover {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-promotions__highlight {
  color: var(--gold-color);
  font-weight: 700;
}

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

.page-promotions__promotion-card {
  background-color: var(--deep-green);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-color);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-promotions__promotion-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  flex-grow: 1;
}

.page-promotions__card-button {
  margin-top: 20px;
  width: auto;
  align-self: flex-start;
}

/* Guide List */
.page-promotions__guide-list {
  list-style: none;
  counter-reset: guide-counter;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-promotions__guide-list li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-promotions__guide-list li::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--button-gradient);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(42, 209, 111, 0.4);
}

.page-promotions__guide-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

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

.page-promotions__terms-list li {
  background-color: var(--deep-green);
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-promotions__terms-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-promotions__terms-list p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Advantage List */
.page-promotions__advantage-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-promotions__advantage-list li {
  background-color: var(--deep-green);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-promotions__advantage-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-promotions__advantage-list p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: var(--deep-green);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2);
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

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

.page-promotions__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.page-promotions__faq-answer p {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-promotions__cta-final-content {
  max-width: 800px;
}

.page-promotions__cta-buttons--center {
  margin-top: 30px;
}

/* Dark background contrast */
.page-promotions__dark-bg {
  color: var(--text-main);
}

.page-promotions__dark-bg h2,
.page-promotions__dark-bg h3 {
  color: var(--gold-color);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__section {
    padding: 40px 0;
  }

  .page-promotions__container {
    padding: 0 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: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .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;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-promotions__promotion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card-image {
    height: 180px;
  }

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

  .page-promotions__guide-list li {
    padding-left: 50px;
    margin-bottom: 25px;
  }

  .page-promotions__guide-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  .page-promotions__guide-title,
  .page-promotions__terms-title,
  .page-promotions__advantage-title {
    font-size: 1.2rem;
  }

  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  /* Image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* Video responsiveness (not explicitly in this page content, but for general rule compliance) */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-promotions__video-section {
    padding-top: 10px !important;
  }
}

/* Contrast fixes for specific elements if needed - based on theme */
.page-promotions p a, .page-promotions li a {
  color: var(--glow-color); /* Ensure links stand out */
}

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