/* style/vip-club.css */

/* Base styles for the VIP Club page */
.page-vip-club {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

/* Container for main content to limit width */
.page-vip-club__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-vip-club__hero-section,
.page-vip-club__intro-section,
.page-vip-club__levels-section,
.page-vip-club__privileges-section,
.page-vip-club__join-section,
.page-vip-club__faq-section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow */
}

/* Specific background colors for sections */
.page-vip-club__dark-bg {
  background-color: #1a1a1a; /* Darker than body for contrast */
  color: #ffffff;
}

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

/* Hero Section */
.page-vip-club__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  position: relative;
  background-color: #0a0a0a; /* Ensure hero section background is dark */
}

.page-vip-club__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Make image subtle background */
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-vip-club__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-vip-club__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

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

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

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

.page-vip-club__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Section titles */
.page-vip-club__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  margin-bottom: 30px;
  color: inherit; /* Inherit from section, will be white or #333333 */
  font-weight: 600;
}

.page-vip-club__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  line-height: 1.8;
  color: inherit;
}

/* Images within content */
.page-vip-club__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Card grid for levels and privileges */
.page-vip-club__level-grid,
.page-vip-club__privilege-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-vip-club__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark sections */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-vip-club__light-bg .page-vip-club__card {
  background-color: #ffffff; /* White background for light sections */
  color: #333333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

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

.page-vip-club__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for card titles */
  font-weight: 600;
}

.page-vip-club__card-text {
  font-size: 1em;
  line-height: 1.7;
}

/* Enforce minimum size for images as per strict rule */
.page-vip-club__intro-section img,
.page-vip-club__levels-section img,
.page-vip-club__privileges-section img {
  min-width: 200px;
  min-height: 200px;
}

.page-vip-club__card-icon {
  min-width: 200px;
  min-height: 200px;
  width: 200px; /* Explicitly set for content-like display */
  height: 200px;
  object-fit: cover; /* Changed to cover for larger icons */
  margin: 0 auto 20px auto; /* Center for card */
  filter: none; /* No filter on images */
}

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

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

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  background-color: #ffffff;
  color: #26A9E0;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-vip-club__faq-item[open] .page-vip-club__faq-question {
  background-color: #e0f2f7; /* Lighter brand color on open */
  border-bottom-color: #d0e7ed;
}

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

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

.page-vip-club__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

/* Ensure correct toggle icon on open */
.page-vip-club__faq-item:not([open]) .page-vip-club__faq-toggle::before {
  content: '+';
}
.page-vip-club__faq-item[open] .page-vip-club__faq-toggle::before {
  content: '−';
}

.page-vip-club__faq-answer {
  padding: 20px 25px;
  text-align: left;
  background-color: #fcfcfc;
  color: #555555;
  font-size: 1em;
}

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

/* Remove default details marker */
.page-vip-club__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-vip-club__faq-item summary::marker {
  display: none;
}


/* --- Responsive Styles --- */

/* Mobile responsiveness for images, videos, and buttons */
@media (max-width: 768px) {
  .page-vip-club {
    font-size: 16px;
    line-height: 1.6;
  }

  /* All images */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All image containers */
  .page-vip-club__container,
  .page-vip-club__hero-section,
  .page-vip-club__intro-section,
  .page-vip-club__levels-section,
  .page-vip-club__privileges-section,
  .page-vip-club__join-section,
  .page-vip-club__faq-section,
  .page-vip-club__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Hero section specific padding */
  .page-vip-club__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    min-height: 400px;
  }

  /* Buttons */
  .page-vip-club__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Grid layouts */
  .page-vip-club__level-grid,
  .page-vip-club__privilege-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }

  .page-vip-club__card {
    padding: 20px;
  }

  .page-vip-club__card-icon {
    margin: 0 auto 15px auto; /* Center icons on mobile */
  }

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

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