/* style/vip-club.css */
.page-vip-club {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-vip-club__hero-section {
  position: relative;
  background-color: #000000; /* Dark background for hero section */
  color: #ffffff;
  text-align: center;
  padding: 0; /* Adjust padding as hero-container handles it */
}

.page-vip-club__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero */
}

.page-vip-club__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.5;
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

.page-vip-club__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for highlight */
  line-height: 1.2;
}

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

.page-vip-club__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-vip-club__button {
  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;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.page-vip-club__button--register {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Main color for text */
}

.page-vip-club__button--register:hover {
  background-color: #e0a73d;
}

.page-vip-club__button--login {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Main color for text */
  border: 2px solid #FCBC45;
}

.page-vip-club__button--login:hover {
  background-color: #f0f0f0;
}

.page-vip-club__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-vip-club__introduction, .page-vip-club__how-to-join, .page-vip-club__loyalty-points, .page-vip-club__dedicated-support, .page-vip-club__exclusive-events, .page-vip-club__responsible-gaming, .page-vip-club__terms-conditions, .page-vip-club__faq, .page-vip-club__cta, .page-vip-club__details-list {
  padding: 40px 0;
  background-color: #FFFFFF; /* Default light background */
}

.page-vip-club__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-vip-club__tiers {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

.page-vip-club__tier-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-vip-club__tier-card:hover {
  transform: translateY(-10px);
}

.page-vip-club__tier-image {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-vip-club__tier-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-vip-club__tier-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
}

.page-vip-club__tier-benefits li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #555555;
}

.page-vip-club__benefit-icon {
  color: #FCBC45;
  margin-right: 10px;
}

.page-vip-club__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-vip-club__button--learn-more:hover {
  background-color: #e0a73d;
}

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

.page-vip-club__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.page-vip-club__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-vip-club__step-description {
  color: #555555;
}

.page-vip-club__button--join-now, .page-vip-club__button--register-cta {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  margin-top: 40px;
  font-size: 1.1em;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-club__button--join-now:hover, .page-vip-club__button--register-cta:hover {
  background-color: #e0a73d;
}

.page-vip-club__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-vip-club__support-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-vip-club__content-image--left {
  order: -1;
}

.page-vip-club__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
}

.page-vip-club__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
}

.page-vip-club__faq-answer {
  font-size: 1.0em;
  color: #555555;
  display: none; /* Hidden by default, toggled by JS */
}

.page-vip-club__faq-question.active + .page-vip-club__faq-answer {
  display: block;
}

.page-vip-club__button--view-all-faq, .page-vip-club__button--view-terms, .page-vip-club__button--view-detail {
  background-color: #000000;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 20px;
  display: inline-block;
}

.page-vip-club__button--view-all-faq:hover, .page-vip-club__button--view-terms:hover, .page-vip-club__button--view-detail:hover {
  background-color: #333333;
}

.page-vip-club__cta {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-vip-club__cta .page-vip-club__section-title {
  color: #FCBC45;
}

.page-vip-club__cta .page-vip-club__text-content {
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-vip-club__details-list {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-vip-club__detail-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 20px;
  text-align: center;
}

.page-vip-club__detail-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-vip-club__detail-title a {
  color: #000000;
  text-decoration: none;
}

.page-vip-club__detail-title a:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-vip-club__detail-description {
  color: #555555;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-vip-club__hero-title {
    font-size: 2.8em;
  }

  .page-vip-club__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-vip-club__hero-title {
    font-size: 2.2em;
  }

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

  .page-vip-club__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-vip-club__button {
    width: 80%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-vip-club__section-title {
    font-size: 1.8em;
  }

  .page-vip-club__tier-grid, .page-vip-club__steps {
    grid-template-columns: 1fr;
  }

  .page-vip-club__tier-image {
    width: 200px;
    height: 200px;
  }

  .page-vip-club__support-content {
    flex-direction: column;
  }

  .page-vip-club__content-image {
    max-width: 100%;
    height: auto; /* Important for mobile content images */
  }

  .page-vip-club__faq-question {
    font-size: 1.1em;
  }

  /* Critical: Prevent content images from overflowing on mobile */
  .page-vip-club img {
    max-width: 100%;
    height: auto; /* Ensure aspect ratio is maintained */
  }

  .page-vip-club {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-vip-club__hero-title {
    font-size: 1.8em;
  }

  .page-vip-club__section-title {
    font-size: 1.6em;
  }

  .page-vip-club__button {
    padding: 12px 20px;
    font-size: 0.9em;
  }

  .page-vip-club__tier-card, .page-vip-club__step-card, .page-vip-club__faq-item, .page-vip-club__detail-card {
    padding: 20px;
  }
}