.page-vip-club {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--background-dark); /* Inherited from shared.css */
}

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

/* Sections */
.page-vip-club__hero-section,
.page-vip-club__benefits-section,
.page-vip-club__tiers-section,
.page-vip-club__offers-section,
.page-vip-club__how-to-join-section,
.page-vip-club__faq-section,
.page-vip-club__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-vip-club__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  overflow: hidden;
  color: #ffffff;
  background-color: #017439; /* Use brand color for hero background */
}

.page-vip-club__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

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

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

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

.page-vip-club__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-vip-club__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-vip-club__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: inherit;
}

.page-vip-club__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: inherit;
}

/* Buttons */
.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

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

/* Specific button overrides for light background sections */
.page-vip-club__light-bg .page-vip-club__btn-secondary {
  color: #017439;
  border-color: #017439;
}

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

.page-vip-club__cta-center {
  margin-top: 40px;
}

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

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

.page-vip-club__benefit-card,
.page-vip-club__tier-card,
.page-vip-club__offer-card,
.page-vip-club__step-card {
  background-color: #f9f9f9; /* Light background for cards */
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-vip-club__dark-bg .page-vip-club__tier-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-vip-club__dark-bg .page-vip-club__tier-card .page-vip-club__tier-title {
  color: #FFFF00;
}

.page-vip-club__benefit-icon,
.page-vip-club__tier-icon,
.page-vip-club__offer-image,
.page-vip-club__step-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Ensure images are not too small but fit */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-club__benefit-title,
.page-vip-club__tier-title,
.page-vip-club__offer-title,
.page-vip-club__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}

.page-vip-club__dark-bg .page-vip-club__benefit-title,
.page-vip-club__dark-bg .page-vip-club__tier-title,
.page-vip-club__dark-bg .page-vip-club__offer-title,
.page-vip-club__dark-bg .page-vip-club__step-title {
  color: #FFFF00;
}

.page-vip-club__benefit-text,
.page-vip-club__tier-description,
.page-vip-club__offer-text,
.page-vip-club__step-text {
  font-size: 1em;
  color: #555555;
}

.page-vip-club__dark-bg .page-vip-club__benefit-text,
.page-vip-club__dark-bg .page-vip-club__tier-description,
.page-vip-club__dark-bg .page-vip-club__offer-text,
.page-vip-club__dark-bg .page-vip-club__step-text {
  color: #f0f0f0;
}

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

.page-vip-club__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-vip-club__faq-question:hover {
  background-color: #f0f0f0;
}

.page-vip-club__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

.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: #555555;
  background-color: #f9f9f9;
}

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

.page-vip-club__faq-answer p {
  margin: 0;
  color: #555555;
}

/* Responsive adjustments */
@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,
  .page-vip-club__benefits-section,
  .page-vip-club__tiers-section,
  .page-vip-club__offers-section,
  .page-vip-club__how-to-join-section,
  .page-vip-club__faq-section,
  .page-vip-club__cta-section {
    padding: 60px 0;
  }

  .page-vip-club__hero-title {
    font-size: 2.2em;
  }
  .page-vip-club__hero-description {
    font-size: 1.1em;
  }
  .page-vip-club__section-title {
    font-size: 2em;
  }
  .page-vip-club__section-description {
    font-size: 1em;
  }

  .page-vip-club__hero-cta-buttons,
  .page-vip-club__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .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;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-vip-club__section,
  .page-vip-club__card,
  .page-vip-club__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-vip-club__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile hero respects header */
  }

  .page-vip-club__faq-list {
    padding: 0 15px;
  }
  .page-vip-club__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-vip-club__faq-answer {
    padding: 0 15px;
  }
  .page-vip-club__faq-item.active .page-vip-club__faq-answer {
    padding: 15px;
  }
}

/* Ensure content area images are not too small by CSS */
.page-vip-club__benefit-card img, 
.page-vip-club__tier-card img, 
.page-vip-club__offer-card img, 
.page-vip-club__step-card img {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow natural width */
  height: auto; /* Allow natural height */
  max-width: 100%;
  object-fit: contain;
}