/* style/promotions-vip-program.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #0d0d0d; /* Assuming a dark body background from shared.css */
  --button-register: #C30808;
  --button-login: #C30808;
  --button-font-color: #FFFF00;
}

.page-promotions-vip-program {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text for dark body background */
  background-color: var(--background-dark); /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-promotions-vip-program__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  overflow: hidden;
}

.page-promotions-vip-program__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-promotions-vip-program__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-promotions-vip-program__hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-light);
  max-width: 800px;
  padding: 20px;
}

.page-promotions-vip-program__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color); /* White text for dark background */
}

.page-promotions-vip-program__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--secondary-color); /* White text for dark background */
}

/* Section Titles */
.page-promotions-vip-program__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color); /* Default to white for dark sections */
}

.page-promotions-vip-program__light-bg .page-promotions-vip-program__section-title,
.page-promotions-vip-program__light-bg h3 {
  color: var(--primary-color); /* Primary color for light sections */
}

.page-promotions-vip-program__subtitle {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--secondary-color); /* Default to white for dark sections */
}

.page-promotions-vip-program__light-bg .page-promotions-vip-program__subtitle {
  color: var(--primary-color); /* Primary color for light sections */
}

/* Buttons */
.page-promotions-vip-program__btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid var(--primary-color);
}

.page-promotions-vip-program__btn-primary:hover {
  background-color: #005a2d;
  transform: translateY(-2px);
}

/* Common Section Styles */
.page-promotions-vip-program__introduction-section,
.page-promotions-vip-program__benefits-section,
.page-promotions-vip-program__tiers-section,
.page-promotions-vip-program__join-section,
.page-promotions-vip-program__faq-section,
.page-promotions-vip-program__conclusion-section {
  padding: 80px 0;
}

.page-promotions-vip-program__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-promotions-vip-program__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-promotions-vip-program__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
}

/* Benefits Section */
.page-promotions-vip-program__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-vip-program__benefit-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--text-light);
}

.page-promotions-vip-program__benefit-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-vip-program__benefit-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-promotions-vip-program__benefit-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-promotions-vip-program__benefit-description {
  font-size: 1em;
  color: var(--secondary-color);
}

.page-promotions-vip-program__cta-container {
  text-align: center;
  margin-top: 50px;
}

/* Tiers Section */
.page-promotions-vip-program__tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-vip-program__tier-card {
  background-color: var(--secondary-color);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-promotions-vip-program__tier-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions-vip-program__tier-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-promotions-vip-program__tier-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-promotions-vip-program__tier-description {
  font-size: 0.95em;
  color: var(--text-dark);
}

/* Join Section */
.page-promotions-vip-program__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-promotions-vip-program__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* FAQ Section */
.page-promotions-vip-program__faq-list {
  margin-top: 40px;
}

.page-promotions-vip-program__faq-item {
  background-color: var(--secondary-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.page-promotions-vip-program__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--secondary-color);
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-promotions-vip-program__faq-question:hover {
  background-color: #f5f5f5;
}

.page-promotions-vip-program__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: var(--primary-color);
}

.page-promotions-vip-program__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-promotions-vip-program__faq-item.active .page-promotions-vip-program__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions-vip-program__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: var(--text-dark);
}

.page-promotions-vip-program__faq-item.active .page-promotions-vip-program__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px 20px;
}

.page-promotions-vip-program__faq-answer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-vip-program__hero-title {
    font-size: 3em;
  }

  .page-promotions-vip-program__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions-vip-program__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header */
  }

  .page-promotions-vip-program__hero-title {
    font-size: 2.5em;
  }

  .page-promotions-vip-program__hero-description {
    font-size: 1em;
  }

  .page-promotions-vip-program__section-title {
    font-size: 1.8em;
  }

  .page-promotions-vip-program__subtitle {
    font-size: 1.5em;
  }

  .page-promotions-vip-program__introduction-section,
  .page-promotions-vip-program__benefits-section,
  .page-promotions-vip-program__tiers-section,
  .page-promotions-vip-program__join-section,
  .page-promotions-vip-program__faq-section,
  .page-promotions-vip-program__conclusion-section {
    padding: 50px 0;
  }

  .page-promotions-vip-program__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Image and Video Responsive */
  .page-promotions-vip-program img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-vip-program__section,
  .page-promotions-vip-program__card,
  .page-promotions-vip-program__container,
  .page-promotions-vip-program__benefits-grid,
  .page-promotions-vip-program__tiers-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-promotions-vip-program__benefits-grid,
  .page-promotions-vip-program__tiers-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions-vip-program__hero-content {
    padding: 15px;
  }

  /* Button Responsive */
  .page-promotions-vip-program__btn-primary,
  .page-promotions-vip-program a[class*="button"],
  .page-promotions-vip-program 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;
    text-align: center;
  }

  .page-promotions-vip-program__cta-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-promotions-vip-program__faq-question,
  .page-promotions-vip-program__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions-vip-program__hero-title {
    font-size: 2em;
  }

  .page-promotions-vip-program__section-title {
    font-size: 1.5em;
  }
}