/* style/vip-club.css */

/* Base styles for VIP Club page, considering dark body background from shared.css */
.page-vip-club {
  color: #ffffff; /* Light text for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-vip-club__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-vip-club__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  min-height: 400px; /* Ensure hero image is not too small */
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 30px;
  margin-top: 150px; /* Push content down from hero image top */
  max-width: 900px;
  border-radius: 15px;
  background: rgba(38, 169, 224, 0.9); /* Brand color with transparency for contrast */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: #ffffff; /* Ensure text is white */
}

.page-vip-club__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive H1 font size */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-vip-club__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-vip-club__btn-primary:hover {
  background-color: #d16e06;
  transform: translateY(-2px);
}

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

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

.page-vip-club__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-vip-club__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-vip-club__text-center {
  text-align: center;
}

.page-vip-club__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-vip-club__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for sections */
  color: #ffffff; /* Light text for dark background */
  padding: 60px 0;
}

.page-vip-club__intro-section .page-vip-club__section-title,
.page-vip-club__privileges-section .page-vip-club__section-title,
.page-vip-club__upgrade-benefits-section .page-vip-club__section-title,
.page-vip-club__faq-section .page-vip-club__section-title {
  color: #26A9E0;
}

.page-vip-club__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-vip-club__text-block {
  flex: 1;
}

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

.page-vip-club__image {
  flex: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-vip-club__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-vip-club__text-link:hover {
  color: #1d8abf;
}

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

.page-vip-club__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Ensure text is white */
}

.page-vip-club__light-bg .page-vip-club__card {
  background: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.page-vip-club__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-vip-club__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-vip-club__card-text {
  font-size: 1rem;
  color: #e0e0e0; /* Lighter grey for text on dark card */
}

.page-vip-club__light-bg .page-vip-club__card-text {
  color: #555555;
}

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

.page-vip-club__privilege-item .page-vip-club__card-title {
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-vip-club__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-vip-club__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #e0e0e0;
}

.page-vip-club__light-bg .page-vip-club__list li {
  color: #555555;
}

.page-vip-club__list li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-vip-club__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
  margin-top: 30px;
}

.page-vip-club__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-vip-club__benefit-item {
  padding: 20px;
  border-radius: 12px;
  background: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

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

.page-vip-club__benefit-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-vip-club__benefit-text {
  font-size: 0.95rem;
  color: #555555;
}

.page-vip-club__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-vip-club__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-vip-club__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eef7fc; /* Light blue background for summary */
  transition: background-color 0.3s ease;
  list-style: none;
}

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

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

.page-vip-club__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #26A9E0;
}

.page-vip-club__faq-item[open] .page-vip-club__faq-toggle {
  content: '−';
}

.page-vip-club__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-vip-club__hero-content {
    padding: 60px 20px;
    margin-top: 100px;
  }

  .page-vip-club__main-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }

  .page-vip-club__description {
    font-size: 1.1rem;
  }

  .page-vip-club__content-wrapper {
    flex-direction: column;
  }

  .page-vip-club__image {
    max-width: 80%;
    margin: 30px auto 0 auto;
  }
}

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

  .page-vip-club__hero-content {
    padding: 40px 15px;
    margin-top: 50px;
    border-radius: 10px;
  }

  .page-vip-club__main-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-vip-club__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

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

  .page-vip-club__section-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 25px;
  }

  .page-vip-club__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-vip-club__light-bg,
  .page-vip-club__dark-bg {
    padding: 40px 0;
  }

  .page-vip-club__levels-grid,
  .page-vip-club__privileges-grid,
  .page-vip-club__steps-grid,
  .page-vip-club__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-vip-club__card-image {
    max-height: 150px;
  }

  .page-vip-club__list li {
    font-size: 0.95rem;
  }

  .page-vip-club__btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 20px;
  }

  /* Image responsive rules */
  .page-vip-club img {
    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__content-wrapper,
  .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 */
  }

  .page-vip-club__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

  .page-vip-club__faq-answer {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}