/* style/vip-club.css */

/* Base styles for the VIP Club page */
.page-vip-club {
  font-family: Arial, sans-serif;
  color: var(--text-main, #F2FFF6); /* Light text on dark background */
  line-height: 1.6;
  background-color: var(--background-color, #08160F); /* Dark background */
}

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding */
  text-align: center;
  overflow: hidden; /* Ensure no overflow from image */
}

.page-vip-club__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  margin-bottom: 40px; /* Space between image and content */
}

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

.page-vip-club__hero-content {
  max-width: 900px;
  padding: 0 20px;
  position: relative; /* Ensure content is not positioned absolutely over image */
  z-index: 2; /* Ensure content is above any background layers */
}

.page-vip-club__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: var(--gold, #F2C14E); /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-vip-club__hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-club__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
}

.page-vip-club__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main, #F2FFF6);
  border: none;
}

.page-vip-club__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-vip-club__btn-secondary {
  background: transparent;
  color: var(--gold, #F2C14E);
  border: 2px solid var(--gold, #F2C14E);
}

.page-vip-club__btn-secondary:hover {
  background: var(--gold, #F2C14E);
  color: var(--background-color, #08160F);
  transform: translateY(-2px);
}

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

.page-vip-club__introduction-section,
.page-vip-club__benefits-section,
.page-vip-club__how-to-join-section,
.page-vip-club__faq-section {
  padding: 80px 0;
}

.page-vip-club__dark-section {
  background-color: var(--card-bg, #11271B); /* Darker green background */
}

.page-vip-club__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold, #F2C14E);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-vip-club__text-block {
  font-size: 1.05rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  text-align: justify;
}

/* Benefits Grid */
.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 {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  overflow: hidden; /* Ensure image doesn't overflow */
}

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

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

.page-vip-club__card-title {
  font-size: 1.5rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-vip-club__card-description {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  flex-grow: 1; /* Allow description to take available space */
}

/* How to Join Section */
.page-vip-club__list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-vip-club__list-item {
  position: relative;
  font-size: 1.1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 15px;
  padding-left: 30px;
}

.page-vip-club__list-item::before {
  content: counter(list-item) ".";
  counter-increment: list-item;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold, #F2C14E);
  font-weight: 700;
}

.page-vip-club__list-item a {
  color: var(--glow, #57E38D); /* Highlight links */
  text-decoration: underline;
}

.page-vip-club__list-item a:hover {
  color: var(--gold, #F2C14E);
}

.page-vip-club__cta-buttons--center {
  margin-top: 40px;
  text-align: center;
}

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

.page-vip-club__faq-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--deep-green, #0A4B2C); /* Slightly different background for question */
  border-bottom: 1px solid var(--divider, #1E3A2A);
  list-style: none; /* For details/summary */
}

.page-vip-club__faq-question::-webkit-details-marker {
  display: none;
}

.page-vip-club__faq-qtext {
  flex-grow: 1;
}

.page-vip-club__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--gold, #F2C14E);
  transition: transform 0.3s ease;
}

.page-vip-club__faq-item[open] .page-vip-club__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or similar for open state */
}

.page-vip-club__faq-answer {
  padding: 20px 25px;
  font-size: 1.05rem;
  color: var(--text-secondary, #A7D9B8);
  background-color: var(--card-bg, #11271B);
  border-top: 1px solid var(--divider, #1E3A2A);
}

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

.page-vip-club__faq-answer a {
  color: var(--glow, #57E38D);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-club__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-vip-club__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-vip-club__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-vip-club__hero-image-wrapper {
    max-height: 400px;
  }

  .page-vip-club__hero-content {
    padding: 0 15px;
  }

  .page-vip-club__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

  .page-vip-club__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    width: 100% !important; /* Force full width */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto; /* Center buttons */
  }

  .page-vip-club__introduction-section,
  .page-vip-club__benefits-section,
  .page-vip-club__how-to-join-section,
  .page-vip-club__faq-section {
    padding: 50px 0;
  }

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

  .page-vip-club__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-vip-club__text-block,
  .page-vip-club__list-item,
  .page-vip-club__card-description,
  .page-vip-club__faq-answer {
    font-size: 0.95rem;
  }

  .page-vip-club__card-image {
    height: 200px; /* Adjust height for smaller screens */
  }

  .page-vip-club__card-title {
    font-size: 1.3rem;
  }

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

  /* Force responsive for all images, videos, and containers */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-vip-club video,
  .page-vip-club__video {
    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__video-section,
  .page-vip-club__video-container,
  .page-vip-club__video-wrapper,
  .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;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Specific padding adjustment for video section if it were present */
  .page-vip-club__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Ensure multiple buttons wrap */
  .page-vip-club__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
}

/* Ensure images meet minimum size requirements */
.page-vip-club img:not(.shared-logo, .shared-icon) {
    min-width: 200px;
    min-height: 200px;
}

/* Color contrast enforcement (assuming dark body background #08160F) */
.page-vip-club {
  color: var(--text-main, #F2FFF6); /* Light text */
}

.page-vip-club__card,
.page-vip-club__faq-item {
  background-color: var(--card-bg, #11271B); /* Darker card background */
  color: var(--text-main, #F2FFF6); /* Light text */
}

.page-vip-club__text-block,
.page-vip-club__hero-description,
.page-vip-club__card-description,
.page-vip-club__list-item,
.page-vip-club__faq-answer p {
  color: var(--text-secondary, #A7D9B8); /* Secondary light text */
}

/* Links within content */
.page-vip-club a {
  color: var(--glow, #57E38D);
  text-decoration: underline;
}

.page-vip-club a:hover {
  color: var(--gold, #F2C14E);
}

/* Ensure no image filters are used */
.page-vip-club img {
  filter: none !important;
}

/* Desktop video container width for flex alignment (if video were present) */
.page-vip-club__video-container {
  width: 100%; /* Ensure width is 100% for flex alignment */
  max-width: 1200px;
}