/* style/promotions.css */

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

.page-promotions {
  color: var(--color-text-main); /* Assuming dark body background from shared.css */
  background-color: var(--color-background);
}

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

.page-promotions__section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-promotions__card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--color-text-main);
}

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

.page-promotions__card-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--color-text-main);
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-promotions__card-text {
  font-size: 1em;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  cursor: pointer;
  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(--color-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

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

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-promotions__btn-small {
  padding: 8px 20px;
  font-size: 0.9em;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
}

.page-promotions__btn-small:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for section */
  overflow: hidden;
  background-color: var(--color-background);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  margin-top: -100px; /* Overlap slightly for visual flow */
  background-color: var(--color-card-bg);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border);
}

.page-promotions__main-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: 1px;
}

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

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

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 80px 0;
  background-color: var(--color-background);
}

.page-promotions__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__feature-card {
  align-items: center;
  text-align: center;
  padding: 40px 25px;
}

.page-promotions__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Featured Offers Section */
.page-promotions__featured-offers-section {
  padding: 80px 0;
  background-color: #0d1a14; /* Slightly lighter background for contrast */
  color: var(--color-text-main);
}

.page-promotions__offer-card {
  flex-direction: row;
  align-items: center;
  margin-bottom: 40px;
  padding: 40px;
}

.page-promotions__offer-card:last-child {
  margin-bottom: 0;
}

.page-promotions__offer-image {
  width: 40%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 30px;
}

.page-promotions__offer-content {
  flex: 1;
}

.page-promotions__product-offers-list {
  margin-top: 20px;
  border-top: 1px dashed var(--color-divider);
  padding-top: 20px;
}

.page-promotions__sub-title {
  font-size: 1.3em;
  color: var(--color-primary);
  margin-top: 15px;
  margin-bottom: 5px;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 80px 0;
  background-color: var(--color-background);
}

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

.page-promotions__step-card {
  align-items: center;
  text-align: center;
  padding: 35px 25px;
}

.page-promotions__step-number {
  font-size: 3em;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 15px;
  line-height: 1;
}

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

/* Terms & Conditions Section */
.page-promotions__terms-conditions-section {
  padding: 80px 0;
  background-color: #0d1a14;
  color: var(--color-text-main);
}

.page-promotions__terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__term-item .page-promotions__card-title {
  color: var(--color-primary);
}

.page-promotions__view-all-terms {
  display: block;
  margin-top: 40px;
  text-align: center;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: var(--color-background);
}

.page-promotions__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-promotions__faq-item {
  padding: 25px 30px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  background-color: var(--color-card-bg);
}

.page-promotions__faq-item[open] {
  background-color: var(--color-deep-green);
  border-color: var(--color-primary);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--color-text-main);
  list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

.page-promotions__faq-answer {
  margin-top: 15px;
  font-size: 1em;
  color: var(--color-text-secondary);
  line-height: 1.6;
  padding-top: 15px;
  border-top: 1px dashed var(--color-divider);
}

.page-promotions__view-all-faq {
  display: block;
  margin-top: 40px;
  text-align: center;
}

/* Conclusion Section */
.page-promotions__conclusion-section {
  padding: 80px 0;
  background-color: #0d1a14;
  color: var(--color-text-main);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-promotions__offer-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-promotions__offer-image {
    width: 80%;
    margin-right: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-promotions__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-promotions__main-title {
    font-size: clamp(28px, 8vw, 45px);
  }

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

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

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

  .page-promotions__why-choose-section,
  .page-promotions__featured-offers-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-conditions-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion-section {
    padding: 40px 0;
  }

  .page-promotions__section-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-promotions__section-description {
    font-size: 0.95em;
  }

  .page-promotions__offer-image {
    width: 100%;
  }

  .page-promotions__feature-card,
  .page-promotions__step-card,
  .page-promotions__term-item {
    padding: 25px 20px;
  }

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

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

  .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__faq-question {
    font-size: 1.1em;
  }

  .page-promotions__faq-answer {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-content {
    margin-top: -40px;
  }

  .page-promotions__main-title {
    font-size: clamp(24px, 9vw, 38px);
  }

  .page-promotions__cta-buttons {
    gap: 10px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    font-size: 1em;
    padding: 10px 20px;
  }
}