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

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

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

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

.page-promotions__dark-bg {
  background-color: var(--page-promotions-background);
  color: var(--page-promotions-text-main);
}

.page-promotions__light-bg {
  background-color: #f8f9fa; /* Fallback to light for contrast */
  color: #333333;
}

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-promotions__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small decorative padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

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

.page-promotions__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-promotions-gold);
}

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

/* Buttons */
.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.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

.page-promotions__btn-secondary:hover {
  background-color: var(--page-promotions-primary-color);
  color: var(--page-promotions-text-main);
}

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

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

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

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

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

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-promotions-gold);
}

.page-promotions__card-text {
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 20px;
  color: var(--page-promotions-text-secondary);
}

/* VIP Program */
.page-promotions__vip-program .page-promotions__section-title,
.page-promotions__vip-program .page-promotions__text-block {
  color: var(--page-promotions-text-main);
}

.page-promotions__vip-benefits {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 700px;
}

.page-promotions__vip-item {
  background-color: var(--page-promotions-card-bg);
  padding: 15px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  border-left: 5px solid var(--page-promotions-primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--page-promotions-text-main);
}

.page-promotions__vip-item::before {
  content: '⭐';
  margin-right: 15px;
  font-size: 1.2em;
}

/* Terms & Conditions */
.page-promotions__terms-conditions .page-promotions__section-title,
.page-promotions__terms-conditions .page-promotions__text-block {
  color: #333333;
}

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
  color: #333333;
}

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

/* How to Join */
.page-promotions__how-to-join .page-promotions__section-title,
.page-promotions__how-to-join .page-promotions__text-block {
  color: var(--page-promotions-text-main);
}

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

.page-promotions__step-item {
  text-align: center;
  background-color: var(--page-promotions-card-bg);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-promotions-border);
  color: var(--page-promotions-text-main);
}

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

.page-promotions__step-title {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--page-promotions-gold);
}

.page-promotions__step-text {
  font-size: 0.95em;
  color: var(--page-promotions-text-secondary);
}

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

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

/* FAQ Section */
.page-promotions__faq-section .page-promotions__section-title {
  color: #333333;
}

.page-promotions__faq-list {
  max-width: 800px;
  margin: 40px auto;
}

.page-promotions__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid #ddd;
}

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

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

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: '−';
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* CTA Bottom */
.page-promotions__cta-bottom {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--page-promotions-deep-green);
}

.page-promotions__cta-bottom .page-promotions__section-title {
  color: var(--page-promotions-text-main);
}

.page-promotions__cta-bottom .page-promotions__text-block {
  color: var(--page-promotions-text-secondary);
  margin-bottom: 30px;
}

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

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

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

  .page-promotions__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 20px;
  }

  .page-promotions__main-title {
    font-size: 2em !important;
    margin-bottom: 15px !important;
  }

  .page-promotions__description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

  .page-promotions__section-title {
    font-size: 2em !important;
    margin-bottom: 30px !important;
  }

  .page-promotions__text-block {
    font-size: 0.9em !important;
    margin-bottom: 30px !important;
  }

  .page-promotions__promo-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-promotions__promo-card,
  .page-promotions__step-item {
    margin-left: 15px;
    margin-right: 15px;
    width: auto !important;
  }

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

  .page-promotions__card-title {
    font-size: 1.3em !important;
  }

  .page-promotions__card-text {
    font-size: 0.85em !important;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px;
  }

  .page-promotions__vip-item,
  .page-promotions__terms-item,
  .page-promotions__faq-question,
  .page-promotions__faq-answer {
    font-size: 0.95em !important;
    padding: 15px 20px !important;
  }

  .page-promotions__cta-bottom {
    padding: 50px 15px !important;
  }

  /* Image and Video responsive rules */
  .page-promotions img {
    max-width: 100% !important;
    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__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;
  }
  .page-promotions__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}