.page-vip-club {
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Inherit from shared, fallback to white */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-vip-club__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-vip-club__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjusted padding-top for header offset */
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
}

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

.page-vip-club__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

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

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

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

/* Dark background section */
.page-vip-club__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-vip-club__dark-section .page-vip-club__section-title {
  color: #ffffff;
}

/* Light background section */
.page-vip-club__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

/* Intro Section */
.page-vip-club__intro-section .page-vip-club__section-text {
  text-align: left;
}

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

.page-vip-club__level-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-vip-club__level-card .page-vip-club__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-vip-club__level-card .page-vip-club__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-vip-club__level-card .page-vip-club__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-vip-club__card-features li {
  margin-bottom: 8px;
  color: #333333;
  font-size: 0.95em;
  display: flex;
  align-items: center;
}

.page-vip-club__card-features li::before {
  content: '✓';
  color: #26A9E0;
  font-weight: bold;
  margin-right: 8px;
}

/* 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 {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-vip-club__benefit-card .page-vip-club__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* How to Join Section */
.page-vip-club__how-to-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-club__how-to-list li {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #ffffff;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-vip-club__list-item-title {
  color: #ffffff;
  font-weight: bold;
}

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

.page-vip-club__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #333333;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-vip-club__faq-title {
  margin: 0;
  color: #333333;
  font-size: 1em;
}

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

.page-vip-club__faq-item.active .page-vip-club__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
}

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

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

.page-vip-club__faq-answer p {
  margin: 0 0 10px 0;
  font-size: 0.95em;
  color: #555555;
}

.page-vip-club__faq-answer p:last-child {
  margin-bottom: 0;
}

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

/* Image sizing for content area - must be at least 200px */
.page-vip-club img {
  min-width: 200px;
  min-height: 200px;
  display: block;
}

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

@media (max-width: 768px) {
  .page-vip-club__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 450px;
  }
  .page-vip-club__hero-title {
    font-size: 2.5em;
  }
  .page-vip-club__hero-description {
    font-size: 1em;
  }
  .page-vip-club__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-vip-club__section {
    padding: 40px 0;
  }
  .page-vip-club__section-title {
    font-size: 1.8em;
  }
  .page-vip-club__section-text {
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset;
    min-height: unset;
  }
  
  /* Mobile button responsiveness */
  .page-vip-club__cta-button,
  .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-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;
    display: flex; /* Ensure flex behavior for wrapping */
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  /* General container padding for mobile to prevent overflow */
  .page-vip-club__section .page-vip-club__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-vip-club__levels-grid,
  .page-vip-club__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-vip-club__how-to-list li {
    padding: 15px;
    font-size: 1em;
  }

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

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

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

@media (max-width: 480px) {
  .page-vip-club__hero-title {
    font-size: 2em;
  }
  .page-vip-club__hero-description {
    font-size: 0.9em;
  }
  .page-vip-club__cta-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-vip-club__section-title {
    font-size: 1.5em;
  }
  .page-vip-club__faq-question {
    font-size: 0.95em;
  }
}