/* style/vip-club.css */

/* General styles for the VIP Club page */
.page-vip-club {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #ffffff; /* Explicitly set for clarity, though body is white */
  line-height: 1.6;
}

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

.page-vip-club__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-vip-club__text-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-vip-club__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #017439; /* Dark background for hero content area */
  color: #ffffff; /* White text for dark background */
}

.page-vip-club__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-vip-club__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure image is not too small */
}

.page-vip-club__hero-content {
  padding: 40px 20px 60px;
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 2;
  background-color: #017439; /* Explicit dark background for content to ensure contrast */
  color: #ffffff;
}

.page-vip-club__main-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-club__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

/* Intro Section */
.page-vip-club__intro-section {
  padding: 60px 0;
}

/* Tiers Section */
.page-vip-club__dark-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-vip-club__dark-section .page-vip-club__section-title {
  color: #ffffff;
}

.page-vip-club__dark-section .page-vip-club__text-block {
  color: #f0f0f0;
}

.page-vip-club__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-vip-club__benefits-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 40px;
  max-width: 800px;
  text-align: left;
}

.page-vip-club__benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFFF00; /* Accent color */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 18px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.page-vip-club__benefit-item::before {
  content: '✓';
  color: #FFFF00;
  font-weight: bold;
  margin-right: 10px;
  font-size: 20px;
}

/* Join Section */
.page-vip-club__join-section {
  padding: 60px 0;
}

.page-vip-club__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  max-width: 800px;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

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

.page-vip-club__cta-text {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #017439;
}

/* Promos Section */
.page-vip-club__promos-section {
  padding: 60px 0;
}

/* FAQ Section */
.page-vip-club__faq-section {
  padding: 60px 0;
}

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

details.page-vip-club__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  color: #333333; /* Ensure dark text on light background */
}
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: #f5f5f5;
}
.page-vip-club__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Ensure dark text */
}
.page-vip-club__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #017439; /* Brand color */
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555; /* Slightly lighter dark text for answer */
}
.page-vip-club__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}


/* Responsive styles for mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-vip-club {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-vip-club__hero-section {
    padding-top: 10px !important;
  }

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

  .page-vip-club__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-vip-club__hero-description {
    font-size: 17px;
    margin-bottom: 25px;
  }

  .page-vip-club__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .page-vip-club__text-block {
    font-size: 16px;
    margin-bottom: 15px;
  }

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

  /* Ensure containers with images are responsive */
  .page-vip-club__hero-image-wrapper,
  .page-vip-club__image-full-width,
  .page-vip-club__image-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Button responsiveness */
  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-vip-club__cta-wrapper {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px; /* Add padding to wrapper for alignment */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-vip-club__cta-text {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .page-vip-club__benefits-list {
    margin-left: 0;
    margin-right: 0;
    padding: 0 15px;
  }

  .page-vip-club__benefit-item {
    font-size: 16px;
    padding: 12px 15px;
  }

  /* FAQ mobile styles */
  details.page-vip-club__faq-item summary.page-vip-club__faq-question { padding: 15px; }
  .page-vip-club__faq-qtext { font-size: 16px; }
  .page-vip-club__faq-toggle { font-size: 20px; width: 24px; }
  details.page-vip-club__faq-item .page-vip-club__faq-answer { padding: 0 15px 15px; }
  .page-vip-club__faq-answer p { font-size: 15px; }
}