/* style/vip-club.css */
.page-vip-club {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches shared.css body background */
}

.page-vip-club__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-vip-club__section {
  padding: 60px 0;
  text-align: center;
}

.page-vip-club__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-vip-club__light-bg {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-vip-club__section-title {
  font-size: 2.8em;
  color: #017439; /* Brand color for titles */
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

.page-vip-club__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  color: #ffffff;
  overflow: hidden;
  padding: 60px 0;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-vip-club__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-vip-club__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-vip-club__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
  font-weight: bold;
}

.page-vip-club__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* Buttons */
.page-vip-club__btn-primary,
.page-vip-club__btn-secondary,
.page-vip-club__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.page-vip-club__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-vip-club__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

.page-vip-club__btn-primary--large {
  font-size: 1.2em;
  padding: 18px 35px;
}

.page-vip-club__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-vip-club__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-vip-club__btn-tertiary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-vip-club__btn-tertiary:hover {
  background-color: #02944b;
  border-color: #02944b;
}

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

.page-vip-club__benefit-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05); /* Light background for card on dark body */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-vip-club__benefit-card .page-vip-club__card-title {
  color: #017439;
  font-size: 1.5em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-vip-club__benefit-card .page-vip-club__card-text {
  color: #f0f0f0;
}

.page-vip-club__benefit-icon {
  width: 200px; /* Enforcing minimum size for icons */
  height: 200px;
  object-fit: contain;
}

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

.page-vip-club__tier-card {
  padding: 30px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background for tier cards */
  color: #ffffff;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-vip-club__tier-card .page-vip-club__card-title {
  font-size: 1.8em;
  color: #FFFF00; /* Yellow for tier titles */
  margin-bottom: 15px;
}

.page-vip-club__tier-card .page-vip-club__card-text {
  color: #f0f0f0;
}

/* Exclusive Offers Section */
.page-vip-club__offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-vip-club__offer-card {
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-vip-club__offer-card .page-vip-club__offer-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-vip-club__offer-card .page-vip-club__card-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-vip-club__offer-card .page-vip-club__card-text {
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* How to Join Section */
.page-vip-club__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-vip-club__step-card {
  padding: 30px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-vip-club__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #017439;
  color: #ffffff;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-vip-club__step-card .page-vip-club__card-title {
  font-size: 1.6em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-vip-club__step-card .page-vip-club__card-text {
  color: #f0f0f0;
}

.page-vip-club__step-card .page-vip-club__card-text a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-vip-club__step-card .page-vip-club__card-text a:hover {
  color: #ffffff;
}

.page-vip-club__cta-buttons--centered {
  margin-top: 40px;
  text-align: center;
}

/* FAQ Section */
.page-vip-club__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-vip-club__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-vip-club__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-vip-club__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #017439;
}

.page-vip-club__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00;
  transition: transform 0.3s ease;
}

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

.page-vip-club__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

.page-vip-club__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Contact Section */
.page-vip-club__contact-section {
  padding-bottom: 80px;
}

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

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

@media (max-width: 768px) {
  .page-vip-club {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-vip-club__hero-section {
    min-height: 450px;
    padding: 40px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
  }

  .page-vip-club__hero-title {
    font-size: 2.2em;
  }

  .page-vip-club__hero-description {
    font-size: 1.1em;
  }

  .page-vip-club__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary,
  .page-vip-club__btn-tertiary,
  .page-vip-club a[class*="button"],
  .page-vip-club 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-vip-club__hero-cta-buttons,
  .page-vip-club__cta-buttons,
  .page-vip-club__button-group,
  .page-vip-club__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-vip-club__benefits-grid,
  .page-vip-club__tiers-grid,
  .page-vip-club__offers-grid,
  .page-vip-club__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-vip-club__benefit-card,
  .page-vip-club__tier-card,
  .page-vip-club__offer-card,
  .page-vip-club__step-card {
    padding: 20px;
  }

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

  .page-vip-club video,
  .page-vip-club__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-vip-club__video-section,
  .page-vip-club__video-container,
  .page-vip-club__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-vip-club__faq-question h3 {
    font-size: 1.1em;
  }

  .page-vip-club__faq-answer {
    padding: 0 15px;
  }

  .page-vip-club__faq-item.active .page-vip-club__faq-answer {
    padding: 15px;
  }
}

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

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

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

/* Contrast Fixes */
.page-vip-club__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-vip-club__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}