/* General styling for VIP Club page */
.page-vip-club {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #FFF6D6); /* Default text color for the page */
  background-color: var(--background, #0A0A0A); /* Default background for the page */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, assuming body has header offset */
}

.page-vip-club__section {
  padding: 40px 20px;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-vip-club__section-title {
  font-size: 32px;
  color: var(--text-main, #FFF6D6);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-vip-club__section-description {
  font-size: 18px;
  color: var(--text-main, #FFF6D6);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-vip-club__hero-section {
  display: flex;
  flex-direction: column; /* Default to column for small padding-top rule */
  align-items: center;
  padding: 10px 20px 40px; /* Small top padding */
  background: var(--card-bg, #111111);
  border-bottom: 1px solid var(--border, #3A2A12);
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-vip-club__hero-image-wrapper {
  width: 100%;
  max-width: 1280px;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.page-vip-club__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-vip-club__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-main, #FFF6D6);
}

.page-vip-club__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Using clamp for H1 font size */
  color: var(--text-main, #FFF6D6);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.page-vip-club__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-main, #FFF6D6);
}

/* Buttons */
.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
}

.page-vip-club__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: none;
}

.page-vip-club__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-vip-club__btn-secondary {
  background: transparent;
  color: var(--text-main, #FFF6D6);
  border: 2px solid var(--border, #3A2A12);
  margin-left: 15px;
}

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

.page-vip-club__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  width: 100%; /* Ensure container adapts */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Benefits Section */
.page-vip-club__benefits-section {
  background-color: var(--background, #0A0A0A);
}

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

.page-vip-club__benefit-card {
  background: var(--card-bg, #111111);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border, #3A2A12);
  color: var(--text-main, #FFF6D6);
}

.page-vip-club__benefit-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-club__benefit-title {
  font-size: 22px;
  color: var(--glow, #FFD36B);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-vip-club__benefit-description {
  font-size: 15px;
  color: var(--text-main, #FFF6D6);
}

/* Join Section */
.page-vip-club__join-section {
  background-color: var(--card-bg, #111111); /* Lighter background for contrast */
  color: var(--text-main, #FFF6D6);
}

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

.page-vip-club__join-step {
  padding: 25px;
  border: 1px solid var(--border, #3A2A12);
  border-radius: 10px;
  background-color: var(--background, #0A0A0A);
  color: var(--text-main, #FFF6D6);
}

.page-vip-club__step-title {
  font-size: 24px;
  color: var(--glow, #FFD36B);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-vip-club__step-description {
  font-size: 16px;
  color: var(--text-main, #FFF6D6);
}

/* Tiers Section */
.page-vip-club__tiers-section {
  background-color: var(--background, #0A0A0A);
}

.page-vip-club__tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.page-vip-club__tier-card {
  background: var(--card-bg, #111111);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border, #3A2A12);
  color: var(--text-main, #FFF6D6);
}

.page-vip-club__tier-title {
  font-size: 20px;
  color: var(--glow, #FFD36B);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-vip-club__tier-description {
  font-size: 14px;
  color: var(--text-main, #FFF6D6);
}

.page-vip-club__tiers-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid var(--border, #3A2A12);
}

/* Experience Section */
.page-vip-club__experience-section {
  background-color: var(--card-bg, #111111); /* Lighter background for contrast */
  color: var(--text-main, #FFF6D6);
}

.page-vip-club__experience-content {
  display: flex;
  gap: 30px;
  align-items: center;
}

.page-vip-club__experience-text {
  flex: 1;
  font-size: 16px;
}

.page-vip-club__experience-text p {
  margin-bottom: 15px;
}

.page-vip-club__experience-text strong {
  color: var(--glow, #FFD36B);
}

.page-vip-club__experience-image-wrapper {
  flex-shrink: 0;
  width: 50%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border, #3A2A12);
}

.page-vip-club__experience-image {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ Section */
.page-vip-club__faq-section {
  background-color: var(--background, #0A0A0A);
}

details.page-vip-club__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border, #3A2A12);
  overflow: hidden;
  background: var(--card-bg, #111111);
  color: var(--text-main, #FFF6D6);
}
details.page-vip-club__faq-item summary.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-vip-club__faq-item summary.page-vip-club__faq-question::-webkit-details-marker {
  display: none;
}
details.page-vip-club__faq-item summary.page-vip-club__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}
.page-vip-club__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #FFF6D6);
}
.page-vip-club__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow, #FFD36B);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-vip-club__faq-item .page-vip-club__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 10px 10px;
  color: var(--text-main, #FFF6D6);
}
.page-vip-club__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 15px;
}

/* Bottom CTA Section */
.page-vip-club__cta-bottom-section {
  background: linear-gradient(90deg, #F2C14E 0%, #FFD36B 100%);
  color: #111111; /* Dark text for light background */
  text-align: center;
  padding: 60px 20px;
}

.page-vip-club__cta-bottom-section .page-vip-club__cta-title {
  color: #111111;
  margin-bottom: 20px;
}

.page-vip-club__cta-bottom-section .page-vip-club__cta-description {
  color: #111111;
  margin-bottom: 30px;
}

.page-vip-club__cta-bottom-section .page-vip-club__btn-primary {
  background: #111111; /* Dark button for light background */
  color: #FFF6D6;
}

.page-vip-club__cta-bottom-section .page-vip-club__btn-primary:hover {
  background: #333333;
}


/* Responsive Design */
@media (max-width: 1023px) {
  .page-vip-club__hero-section {
    padding: 10px 15px 30px;
  }
  .page-vip-club__section-title {
    font-size: 28px;
  }
  .page-vip-club__main-title {
    font-size: clamp(24px, 6vw, 40px);
  }
  .page-vip-club__experience-content {
    flex-direction: column;
  }
  .page-vip-club__experience-image-wrapper {
    width: 100%;
  }
  .page-vip-club__btn-secondary {
    margin-left: 0;
    margin-top: 10px;
  }
  .page-vip-club__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-vip-club__hero-section {
    flex-direction: column; /* Ensure image is above content */
  }
  .page-vip-club__hero-image-wrapper {
    max-width: 100%; /* Take full width */
  }
}

@media (max-width: 768px) {
  .page-vip-club {
    font-size: 15px;
  }
  .page-vip-club__section {
    padding: 30px 15px;
  }
  .page-vip-club__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-vip-club__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-vip-club__hero-description {
    font-size: 16px;
  }
  .page-vip-club__benefits-grid,
  .page-vip-club__join-content,
  .page-vip-club__tiers-grid {
    grid-template-columns: 1fr;
  }
  .page-vip-club__benefit-title {
    font-size: 20px;
  }
  .page-vip-club__step-title {
    font-size: 22px;
  }
  .page-vip-club__tier-title {
    font-size: 18px;
  }
  .page-vip-club__experience-text {
    font-size: 15px;
  }
  .page-vip-club__experience-image-wrapper {
    order: -1; /* Image above text on mobile */
  }

  /* Mobile image adaptation */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-vip-club__hero-image-wrapper,
  .page-vip-club__benefits-section,
  .page-vip-club__join-section,
  .page-vip-club__tiers-section,
  .page-vip-club__experience-section,
  .page-vip-club__faq-section,
  .page-vip-club__cta-bottom-section,
  .page-vip-club__experience-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button adaptation */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically */
  }

  /* FAQ mobile */
  details.page-vip-club__faq-item summary.page-vip-club__faq-question { padding: 15px; }
  .page-vip-club__faq-qtext { font-size: 15px; }
  details.page-vip-club__faq-item .page-vip-club__faq-answer { padding: 0 15px 15px; }
}