.page-vip-club {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Matches body background */
}

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

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

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

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

.page-vip-club__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-vip-club__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* General Section Styles */
.page-vip-club__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

/* Background Colors for Sections */
.page-vip-club__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  padding: 80px 0;
}

.page-vip-club__light-bg {
  background-color: #ffffff; /* Auxiliary color */
  color: #333333;
  padding: 80px 0;
}

.page-vip-club__light-bg .page-vip-club__section-title,
.page-vip-club__light-bg .page-vip-club__text-block {
  color: #333333;
}

/* Buttons */
.page-vip-club__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  margin: 10px;
  text-align: center;
  box-sizing: border-box;
}

.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: #e02020;
  transform: translateY(-2px);
}

.page-vip-club__btn-secondary {
  background-color: transparent;
  color: #017439; /* Brand primary color for text */
  border: 2px solid #017439;
}

.page-vip-club__btn-secondary:hover {
  background-color: rgba(1, 116, 57, 0.1);
  transform: translateY(-2px);
}

.page-vip-club__button-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

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

.page-vip-club__tier-card {
  background-color: #ffffff; /* Light background for cards */
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-vip-club__tier-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-vip-club__tier-title {
  font-size: 1.8em;
  color: #017439; /* Brand primary color */
  margin-bottom: 15px;
}

.page-vip-club__tier-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-vip-club__tier-benefits {
  list-style: none;
  padding: 0;
  text-align: left;
  width: 100%;
}

.page-vip-club__tier-benefits 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="%23017439" 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: 25px;
  margin-bottom: 10px;
  color: #333333;
}

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

.page-vip-club__privilege-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-vip-club__privilege-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-vip-club__card-description {
  font-size: 1em;
  flex-grow: 1;
}

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

.page-vip-club__step-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-vip-club__step-icon {
  background-color: #017439;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-vip-club__benefit-item {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-vip-club__benefit-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-vip-club__benefit-description {
  font-size: 1em;
  flex-grow: 1;
}

/* FAQ Section */
.page-vip-club__faq-list {
  margin-top: 40px;
}

.page-vip-club__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #017439; /* Brand primary for question header */
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-vip-club__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

.page-vip-club__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  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; /* Sufficient height for content */
  padding: 15px 25px;
}

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

/* 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 {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-vip-club__hero-section {
    min-height: 400px;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }

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

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

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

  .page-vip-club__dark-bg,
  .page-vip-club__light-bg {
    padding: 60px 0;
  }

  .page-vip-club__container,
  .page-vip-club__tiers-grid,
  .page-vip-club__privileges-grid,
  .page-vip-club__steps-grid,
  .page-vip-club__benefits-grid,
  .page-vip-club__button-group {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-vip-club img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important; /* Enforce min size even on mobile */
  }

  .page-vip-club__tier-card,
  .page-vip-club__privilege-card,
  .page-vip-club__step-card,
  .page-vip-club__benefit-item {
    padding: 20px;
  }

  .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__button-group {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure content images in mobile are not too small */
  .page-vip-club__tiers-grid img,
  .page-vip-club__privileges-grid img,
  .page-vip-club__benefits-grid img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-vip-club__hero-title {
    font-size: 1.8em;
  }

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

  .page-vip-club__cta-button {
    font-size: 1em;
    padding: 12px 20px;
  }

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

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