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

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

.page-promotions__container {
  width: 100%;
  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;
  text-align: center;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-promotions__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-promotions__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Using clamp for responsive H1 */
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.page-promotions__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: var(--text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-promotions__cta-button--center {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button--secondary {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  color: var(--text-secondary);
}

.page-promotions__cta-button--secondary:hover {
  background: var(--deep-green-color);
  color: var(--text-main);
}

/* Intro Section */
.page-promotions__intro-section,
.page-promotions__claim-guide,
.page-promotions__terms-section,
.page-promotions__why-choose,
.page-promotions__faq-section,
.page-promotions__cta-final {
  padding: 60px 0;
  width: 100%;
  box-sizing: border-box;
}

.page-promotions__intro-title,
.page-promotions__types-title,
.page-promotions__claim-guide-title,
.page-promotions__terms-title,
.page-promotions__why-choose-title,
.page-promotions__faq-title,
.page-promotions__cta-final-title {
  font-size: 2.5em;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions__intro-text {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

/* Promotion Types Section */
.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions__promo-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

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

.page-promotions__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.page-promotions__promo-card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__promo-card-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__promo-card-button {
  display: inline-block;
  background: var(--button-gradient);
  color: var(--text-main);
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto; /* Push button to bottom */
}

.page-promotions__promo-card-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Claim Guide Section */
.page-promotions__claim-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__claim-step-item {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promotions__claim-step-item:hover {
  transform: translateY(-5px);
}

.page-promotions__claim-step-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__claim-step-description {
  font-size: 1em;
  color: var(--text-secondary);
}

/* Terms Section */
.page-promotions__terms-intro {
  font-size: 1.1em;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
}

.page-promotions__terms-list {
  list-style: disc;
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding-left: 20px;
}

.page-promotions__terms-list-item {
  margin-bottom: 15px;
  font-size: 1em;
}

.page-promotions__terms-list-item strong {
  color: var(--text-main);
}

/* Why Choose Section */
.page-promotions__why-choose-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-promotions__why-choose-text {
  flex: 1;
  min-width: 300px;
}

.page-promotions__why-choose-title {
  text-align: left;
  margin-bottom: 20px;
}

.page-promotions__why-choose-description {
  color: var(--text-secondary);
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__why-choose-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__why-choose-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 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.15em;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--divider-color);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid var(--border-color);
}

.page-promotions__faq-question::-webkit-details-marker, /* Hide default arrow for Webkit */
.page-promotions__faq-question::marker { /* Hide default arrow for Firefox/Edge */
  display: none;
  content: "";
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--text-secondary);
  background-color: var(--deep-green-color);
}

/* Final CTA Section */
.page-promotions__cta-final {
  text-align: center;
  background-color: var(--deep-green-color);
  padding: 80px 0;
  border-radius: 15px;
  margin-top: 60px;
}

.page-promotions__cta-final-title {
  color: var(--gold-color);
  font-size: 2.8em;
  margin-bottom: 25px;
}

.page-promotions__cta-final-description {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Global Image/Video/Button Responsive Styles */
.page-promotions img,
.page-promotions video {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-promotions__promo-card-button,
.page-promotions__cta-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions__hero-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

  .page-promotions__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-promotions__intro-section,
  .page-promotions__claim-guide,
  .page-promotions__terms-section,
  .page-promotions__why-choose,
  .page-promotions__faq-section,
  .page-promotions__cta-final {
    padding: 40px 0;
  }

  .page-promotions__intro-title,
  .page-promotions__types-title,
  .page-promotions__claim-guide-title,
  .page-promotions__terms-title,
  .page-promotions__why-choose-title,
  .page-promotions__faq-title,
  .page-promotions__cta-final-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__claim-steps {
    grid-template-columns: 1fr;
  }

  .page-promotions__why-choose-content {
    flex-direction: column-reverse; /* Text above image on mobile */
  }

  .page-promotions__why-choose-title {
    text-align: center;
  }

  .page-promotions__terms-list {
    padding-left: 15px;
  }

  /* Mobile specific image/video/button overrides */
  .page-promotions img,
  .page-promotions video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper,
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-promotions__cta-button,
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }

  .page-promotions__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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