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

/* Base styles for the page, ensuring text contrast with the dark body background */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Light text for dark background */
  background-color: var(--background-color-page); /* Page specific background */
  line-height: 1.6;
  overflow-x: hidden;
}

.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(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__section-description {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: var(--deep-green);
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 600px; /* Limit height for hero image */
  margin-bottom: 40px;
}

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

.page-promotions__main-title {
  font-weight: 800;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-size: clamp(36px, 5vw, 60px); /* Larger but clamped H1 */
}

.page-promotions__hero-description {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.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: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-promotions__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

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

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

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 16px;
}

.page-promotions__btn-large {
  padding: 18px 35px;
  font-size: 20px;
}

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

.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(--card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.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: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-promotions__card-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* VIP Section */
.page-promotions__vip-section {
  padding: 80px 0;
  background-color: var(--deep-green);
  text-align: center;
}

.page-promotions__vip-benefits {
  list-style: none;
  padding: 0;
  margin: 40px auto 60px auto;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.page-promotions__vip-benefits li {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  font-size: 18px;
  color: var(--text-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Icons for VIP benefits (placeholder, would be SVG/font icons) */
.page-promotions__icon {
  width: 24px;
  height: 24px;
  background-color: var(--gold-color);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
.page-promotions__icon--vip { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99l-7-3.5V5.5l7 3.5 7-3.5v2.99l-7 3.5z"/></svg>'); }
.page-promotions__icon--manager { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>'); }
.page-promotions__icon--gift { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 12c0-1.1-.9-2-2-2h-2V7c0-1.66-1.34-3-3-3s-3 1.34-3 3v3H6c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h2v3c0 1.66 1.34 3 3 3s3-1.34 3-3v-3h2c1.1 0 2-.9 2-2v-2zm-8 7c0 .55-.45 1-1 1s-1-.45-1-1v-3h2v3zm4-7h-4V7c0-.55.45-1 1-1s1 .45 1 1v3z"/></svg>'); }
.page-promotions__icon--event { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>'); }
.page-promotions__icon--priority { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99l-7-3.5V5.5l7 3.5 7-3.5v2.99l-7 3.5z"/></svg>'); }

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

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

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

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

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

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-promotions__faq-question:hover {
  background-color: rgba(var(--primary-color), 0.1);
}

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

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-color);
  margin-left: 15px;
  width: 24px;
  text-align: center;
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: rgba(var(--primary-color), 0.1);
}

/* Call to Action Section */
.page-promotions__call-to-action {
  padding: 80px 0;
  background-color: var(--primary-color);
  text-align: center;
  background-image: linear-gradient(135deg, var(--deep-green) 0%, var(--primary-color) 100%);
}

.page-promotions__call-to-action .page-promotions__section-title {
  color: var(--text-main);
}

.page-promotions__call-to-action .page-promotions__section-description {
  color: var(--text-main);
  margin-bottom: 60px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-image {
    max-height: 500px;
  }
  .page-promotions__main-title {
    font-size: clamp(32px, 4.5vw, 55px);
  }
  .page-promotions__hero-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__vip-section,
  .page-promotions__guide-section,
  .page-promotions__faq-section,
  .page-promotions__call-to-action {
    padding: 40px 0;
  }

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

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

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

  .page-promotions__hero-description,
  .page-promotions__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

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

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

  .page-promotions__vip-benefits {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 15px;
    margin-bottom: 40px;
  }

  .page-promotions__faq-list {
    padding: 0 15px;
    max-width: 100%;
  }

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

  .page-promotions__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 15px;
  }

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__step-card,
  .page-promotions__faq-item,
  .page-promotions__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(24px, 9vw, 36px);
  }
  .page-promotions__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-promotions__hero-image {
    max-height: 250px;
  }
  .page-promotions__card-image {
    height: 150px;
  }
}