/* style/vip-club.css */
.page-vip-club {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly set for clarity, though body is default white */
}

/* Header offset for the first section */
.page-vip-club__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #017439; /* Main brand color for hero background */
  color: #FFFFFF; /* White text for dark background */
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 60px;
  overflow: hidden; /* Prevent image overflow */
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-vip-club__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register/Login font color for emphasis */
}

.page-vip-club__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

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

.page-vip-club__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay for text readability */
}

.page-vip-club__introduction-section,
.page-vip-club__exclusive-events-section,
.page-vip-club__faq-section {
  background-color: #FFFFFF; /* Light background */
  color: #333333; /* Dark text */
  padding: 80px 20px;
}

.page-vip-club__benefits-section,
.page-vip-club__how-to-join-section,
.page-vip-club__cta-final-section {
  background-color: #017439; /* Dark background */
  color: #FFFFFF; /* Light text */
  padding: 80px 20px;
}

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

.page-vip-club__section-title {
  font-size: 2.5em;
  color: inherit; /* Inherits from section background */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-vip-club__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

.page-vip-club__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
  margin-left: 20px;
}

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

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

/* Cards */
.page-vip-club__benefits-grid,
.page-vip-club__event-grid,
.page-vip-club__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-vip-club__card,
.page-vip-club__step-card {
  background-color: #FFFFFF;
  color: #333333;
  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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

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

.page-vip-club__card-icon {
  width: 200px; /* Min size requirement */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-vip-club__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency in cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum image size */
  min-height: 200px; /* Ensure minimum image size */
}

.page-vip-club__card-title,
.page-vip-club__step-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-vip-club__card-text,
.page-vip-club__step-text {
  font-size: 1em;
  color: #555555;
  text-align: center;
  flex-grow: 1; /* Make text block take available space */
}

/* FAQ Section */
.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;
}

.page-vip-club__faq-item details {
  padding: 0; /* Remove default padding for details */
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* Remove default marker for summary */
}

.page-vip-club__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

.page-vip-club__faq-answer {
  padding: 20px 25px;
  background-color: #FFFFFF;
  color: #555555;
  border-top: 1px solid #e0e0e0; /* Add top border for visual separation */
}

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

/* Final CTA Section */
.page-vip-club__cta-final-section {
  text-align: center;
  padding: 100px 20px;
}

.page-vip-club__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-club__hero-title {
    font-size: 2.8em;
  }
  .page-vip-club__section-title {
    font-size: 2em;
  }
  .page-vip-club__benefits-grid,
  .page-vip-club__event-grid,
  .page-vip-club__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-vip-club__hero-section {
    min-height: 450px;
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific header 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__text-block {
    font-size: 0.95em;
    text-align: left;
  }
  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important; /* Force full width on mobile */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important; /* Remove margin for stacked buttons */
  }
  .page-vip-club__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  /* Image responsive rules */
  .page-vip-club img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Ensure all image containers are responsive */
  .page-vip-club__hero-image-wrapper,
  .page-vip-club__card,
  .page-vip-club__step-card,
  .page-vip-club__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Card specific image sizing on mobile, ensuring min size is met */
  .page-vip-club__card-icon {
    width: 200px !important; 
    height: auto !important;
    min-width: 200px !important; /* Enforce min size to avoid icons */
    min-height: 200px !important;
  }
  .page-vip-club__card-image {
    height: auto !important; /* Allow auto height for card images */
  }

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

  /* Sections padding */
  .page-vip-club__introduction-section,
  .page-vip-club__benefits-section,
  .page-vip-club__exclusive-events-section,
  .page-vip-club__how-to-join-section,
  .page-vip-club__faq-section,
  .page-vip-club__cta-final-section {
    padding: 50px 15px;
  }
}

@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__benefits-grid,
  .page-vip-club__event-grid,
  .page-vip-club__steps-grid {
    grid-template-columns: 1fr; /* Single column layout */
  }
}