.page-vip-club {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: var(--background, #FFFFFF); /* Inherit from shared, defaults to white */
}

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

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

.page-vip-club__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  overflow: hidden;
}

.page-vip-club__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

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

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

.page-vip-club__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Use custom font color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-vip-club__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.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;
  border: 2px solid transparent;
  cursor: pointer;
}

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

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

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

.page-vip-club__btn-secondary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-vip-club__section {
  padding: 80px 0;
}

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

.page-vip-club__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

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

.page-vip-club__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-vip-club__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-vip-club__card {
  background-color: #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;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-vip-club__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-vip-club__card-text {
  font-size: 1em;
  line-height: 1.6;
  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: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 0.95em;
}

.page-vip-club__card-features li::before {
  content: '✓';
  color: #017439;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-vip-club__privilege-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-vip-club__privilege-card {
  text-align: left;
}

.page-vip-club__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-vip-club__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  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 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #f9f9f9;
  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;
  width: 25px;
  text-align: center;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

.page-vip-club__faq-answer p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-vip-club__cta-section {
  text-align: center;
  padding: 60px 20px;
}

.page-vip-club__cta-title {
  font-size: 2.8em;
  color: #FFFF00;
  margin-bottom: 20px;
}

.page-vip-club__cta-description {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .page-vip-club {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-vip-club__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure padding-top is applied on mobile */
  }
  .page-vip-club__hero-title {
    font-size: 2.2em;
  }
  .page-vip-club__hero-description {
    font-size: 1em;
  }
  .page-vip-club__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    width: 100% !important;
    max-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__section {
    padding: 60px 0;
  }
  .page-vip-club__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-vip-club__section-title {
    font-size: 1.8em;
  }
  .page-vip-club__text-block {
    font-size: 0.95em;
  }
  .page-vip-club__image-content,
  .page-vip-club__card-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-vip-club__level-cards,
  .page-vip-club__privilege-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-vip-club__card {
    padding: 20px;
  }
  .page-vip-club__card-title {
    font-size: 1.5em;
  }
  .page-vip-club__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-vip-club__faq-answer {
    padding: 0 20px;
  }
  .page-vip-club__faq-item.active .page-vip-club__faq-answer {
    padding: 10px 20px 15px;
  }
  .page-vip-club__cta-title {
    font-size: 1.8em;
  }
  .page-vip-club__cta-description {
    font-size: 1em;
  }
  .page-vip-club__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-vip-club__cta-buttons .page-vip-club__btn-primary,
  .page-vip-club__cta-buttons .page-vip-club__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-vip-club__hero-title {
    font-size: 1.8em;
  }
  .page-vip-club__hero-description {
    font-size: 0.9em;
  }
  .page-vip-club__section-title {
    font-size: 1.5em;
  }
  .page-vip-club__cta-title {
    font-size: 1.6em;
  }
}

/* Content area images CSS dimensions lower bound (not by class name) */
/* This rule applies to any img within .page-vip-club, ensuring they are not too small */
.page-vip-club img {
  min-width: 200px; /* Enforce minimum width for content images */
  min-height: 200px; /* Enforce minimum height for content images */
}

/* Override for images in shared components like header/footer if they were to exist */
/* This is an example, shared components are outside this scope */
/* .shared-header img, .shared-footer img { min-width: unset; min-height: unset; } */