/* 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: transparent; /* Body background is handled by shared.css */
}

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

.page-vip-club__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles on light backgrounds */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

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

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

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

.page-vip-club__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-vip-club__hero-title {
  font-size: 3.5em;
  color: #FFFF00; /* Register/Login font color for highlight */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

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

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

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

.page-vip-club__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

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

.page-vip-club__btn-secondary:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

.page-vip-club__btn-tertiary {
  background-color: #ffffff;
  color: #017439;
  border: 1px solid #017439;
}

.page-vip-club__btn-tertiary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-vip-club__btn-xlarge {
  padding: 20px 50px;
  font-size: 1.4em;
}

/* Benefits Section */
.page-vip-club__benefits-section {
  padding: 80px 0;
}

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

.page-vip-club__benefit-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-vip-club__benefit-card:hover {
  transform: translateY(-5px);
}

.page-vip-club__benefit-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-vip-club__benefit-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-vip-club__benefit-text {
  font-size: 1em;
  color: #555555;
}

/* Tiers Section */
.page-vip-club__tiers-section {
  padding: 80px 0;
}

.page-vip-club__tiers-section .page-vip-club__section-title,
.page-vip-club__tiers-section .page-vip-club__section-description {
  color: #ffffff;
}

.page-vip-club__tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

.page-vip-club__tier-title {
  font-size: 1.8em;
  color: #FFFF00; /* Highlight tier titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-vip-club__tier-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

.page-vip-club__tier-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFFF00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.95em;
  color: #f0f0f0;
}

/* How to Join Section */
.page-vip-club__how-to-join-section {
  padding: 80px 0;
}

.page-vip-club__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

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

.page-vip-club__step-icon {
  font-size: 3em;
  color: #017439;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-vip-club__step-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-vip-club__step-text {
  font-size: 1em;
  color: #555555;
}

.page-vip-club__cta-area {
  text-align: center;
}

/* Promotions Section */
.page-vip-club__promotions-section {
  padding: 80px 0;
}

.page-vip-club__promotions-section .page-vip-club__section-title,
.page-vip-club__promotions-section .page-vip-club__section-description {
  color: #ffffff;
}

.page-vip-club__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-vip-club__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
}

.page-vip-club__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-vip-club__promo-card h3,
.page-vip-club__promo-card p,
.page-vip-club__promo-card a {
  padding: 0 25px;
}

.page-vip-club__promo-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-vip-club__promo-text {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-vip-club__promo-card .page-vip-club__btn-tertiary {
  margin: 0 25px 25px;
  align-self: flex-start;
}

/* Service Section */
.page-vip-club__service-section {
  padding: 80px 0;
}

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

.page-vip-club__service-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-vip-club__service-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-vip-club__service-text {
  font-size: 1em;
  color: #555555;
}

/* FAQ Section */
.page-vip-club__faq-section {
  padding: 80px 0;
}

.page-vip-club__faq-section .page-vip-club__section-title,
.page-vip-club__faq-section .page-vip-club__section-description {
  color: #ffffff;
}

.page-vip-club__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  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-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
  font-weight: normal;
}

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

.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: #f0f0f0;
}

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

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

/* Final CTA Section */
.page-vip-club__final-cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-vip-club__final-cta-section .page-vip-club__section-title {
  color: #017439;
}

.page-vip-club__final-cta-section .page-vip-club__section-description {
  color: #333333;
}

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

@media (max-width: 768px) {
  .page-vip-club__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-vip-club__hero-title {
    font-size: 2.2em;
  }
  .page-vip-club__hero-description {
    font-size: 1em;
  }
  .page-vip-club__hero-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__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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-vip-club__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  .page-vip-club__container {
    padding: 0 15px;
  }
  .page-vip-club__section-title {
    font-size: 1.8em;
  }
  .page-vip-club__benefits-grid,
  .page-vip-club__tiers-grid,
  .page-vip-club__steps-grid,
  .page-vip-club__promo-grid,
  .page-vip-club__service-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile image responsiveness */
  .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__hero-section,
  .page-vip-club__benefits-section,
  .page-vip-club__tiers-section,
  .page-vip-club__how-to-join-section,
  .page-vip-club__promotions-section,
  .page-vip-club__service-section,
  .page-vip-club__faq-section,
  .page-vip-club__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-vip-club__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

/* Ensure images in content areas are not too small */
.page-vip-club__benefit-image,
.page-vip-club__promo-image {
  min-width: 200px;
  min-height: 200px;
}

/* Color contrast fixes for specific elements if needed */
.page-vip-club__dark-bg .page-vip-club__section-title {
  color: #FFFF00; /* Ensure visibility on dark background */
}
.page-vip-club__light-bg .page-vip-club__section-title {
  color: #017439;
}

.page-vip-club__promo-card .page-vip-club__btn-tertiary {
  background-color: #FFFF00; /* Ensure button contrast */
  color: #017439;
  border: 1px solid #FFFF00;
}

.page-vip-club__promo-card .page-vip-club__btn-tertiary:hover {
  background-color: #e0e000;
}