/* style/vip-club.css */

/* Variables */
:root {
  --page-vip-club-primary-color: #017439;
  --page-vip-club-secondary-color: #FFFFFF;
  --page-vip-club-button-bg: #C30808;
  --page-vip-club-button-text: #FFFFFF; /* Changed from #FFFF00 to ensure WCAG AA contrast */
  --page-vip-club-body-bg: #121212;
  --page-vip-club-text-light: #FFFFFF;
  --page-vip-club-text-dark: #333333;
  --page-vip-club-card-bg-dark: rgba(255, 255, 255, 0.08);
  --page-vip-club-card-bg-light: #FFFFFF;
  --page-vip-club-border-color: rgba(255, 255, 255, 0.15);
}

.page-vip-club {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-vip-club-text-light); /* Main text color for dark body background */
  background-color: var(--page-vip-club-body-bg);
}

.page-vip-club__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-vip-club__section-title {
  font-size: 2.5em;
  color: var(--page-vip-club-secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-vip-club__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--page-vip-club-text-light);
}

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--page-vip-club-secondary-color);
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  min-height: 70vh;
  overflow: hidden;
  background: var(--page-vip-club-primary-color); /* Primary color background */
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}

.page-vip-club__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: var(--page-vip-club-secondary-color);
}

.page-vip-club__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--page-vip-club-secondary-color);
}

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

.page-vip-club__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.1;
}

.page-vip-club__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-vip-club__btn-primary {
  background-color: var(--page-vip-club-button-bg);
  color: var(--page-vip-club-button-text);
  border: 2px solid var(--page-vip-club-button-bg);
}

.page-vip-club__btn-primary:hover {
  background-color: darken(var(--page-vip-club-button-bg), 10%);
  border-color: darken(var(--page-vip-club-button-bg), 10%);
}

.page-vip-club__btn-secondary {
  background-color: transparent;
  color: var(--page-vip-club-secondary-color);
  border: 2px solid var(--page-vip-club-secondary-color);
}

.page-vip-club__btn-secondary:hover {
  background-color: var(--page-vip-club-secondary-color);
  color: var(--page-vip-club-primary-color);
}

/* Intro Section */
.page-vip-club__intro-section,
.page-vip-club__levels-section,
.page-vip-club__how-to-join-section,
.page-vip-club__offers-section,
.page-vip-club__support-section,
.page-vip-club__video-section,
.page-vip-club__faq-section,
.page-vip-club__cta-section {
  padding: 80px 0;
}

.page-vip-club__dark-bg {
  background-color: var(--page-vip-club-body-bg);
  color: var(--page-vip-club-text-light);
}

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

.page-vip-club__level-card {
  background-color: var(--page-vip-club-card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid var(--page-vip-club-border-color);
}

.page-vip-club__level-card:hover {
  transform: translateY(-10px);
}

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

.page-vip-club__level-title {
  font-size: 1.8em;
  color: var(--page-vip-club-secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-vip-club__level-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-vip-club__level-features li {
  margin-bottom: 10px;
  font-size: 1em;
  color: var(--page-vip-club-text-light);
  position: relative;
  padding-left: 25px;
}

.page-vip-club__level-features li::before {
  content: '✓';
  color: var(--page-vip-club-primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

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

.page-vip-club__step-icon {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-vip-club__step-title {
  font-size: 1.5em;
  color: var(--page-vip-club-secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-vip-club__step-description {
  font-size: 1em;
  color: var(--page-vip-club-text-light);
}

.page-vip-club__step-description a {
  color: var(--page-vip-club-primary-color);
  text-decoration: underline;
}

.page-vip-club__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

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

.page-vip-club__offer-card {
  background-color: var(--page-vip-club-card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-vip-club-border-color);
}

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

.page-vip-club__offer-title {
  font-size: 1.5em;
  color: var(--page-vip-club-secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-vip-club__offer-description {
  font-size: 1em;
  color: var(--page-vip-club-text-light);
}

/* Support Section */
.page-vip-club__support-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
  align-items: center;
}

.page-vip-club__support-text {
  flex: 1;
  min-width: 300px;
}

.page-vip-club__support-subtitle {
  font-size: 1.8em;
  color: var(--page-vip-club-secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-vip-club__support-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: var(--page-vip-club-text-light);
}

.page-vip-club__support-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-vip-club__support-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.page-vip-club__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 50px auto;
  border-radius: 12px;
}

.page-vip-club__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

.page-vip-club__video-caption {
  text-align: center;
  margin-top: 20px;
  font-style: italic;
  color: var(--page-vip-club-text-light);
}

/* FAQ Section */
.page-vip-club__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-club__faq-item {
  background-color: var(--page-vip-club-card-bg-dark);
  border: 1px solid var(--page-vip-club-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-vip-club-secondary-color);
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-vip-club__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-vip-club-primary-color);
}

.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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--page-vip-club-text-light);
}

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

.page-vip-club__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

/* CTA Section */
.page-vip-club__cta-section {
  text-align: center;
  padding-bottom: 100px;
}

.page-vip-club__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

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

@media (max-width: 768px) {
  .page-vip-club__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

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

  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary,
  .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: 12px 20px;
    font-size: 1em;
  }

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

  .page-vip-club__intro-section,
  .page-vip-club__levels-section,
  .page-vip-club__how-to-join-section,
  .page-vip-club__offers-section,
  .page-vip-club__support-section,
  .page-vip-club__video-section,
  .page-vip-club__faq-section,
  .page-vip-club__cta-section {
    padding: 60px 0;
  }

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

  .page-vip-club__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-vip-club__section-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-vip-club__section,
  .page-vip-club__card,
  .page-vip-club__container,
  .page-vip-club__cta-buttons,
  .page-vip-club__hero-content,
  .page-vip-club__support-content,
  .page-vip-club__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-vip-club__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Important for video section on mobile */
  }

  .page-vip-club__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-vip-club__support-content {
    flex-direction: column;
  }

  .page-vip-club__support-image-wrapper {
    order: -1; /* Image above text on mobile */
  }

  .page-vip-club__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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