/* style/vip-club.css */
.page-vip-club {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches shared.css body background for consistency */
}

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

.page-vip-club__section {
  padding: 80px 0;
  text-align: center;
}

.page-vip-club__dark-section {
  background-color: #0A2463; /* Main brand color for dark sections */
  color: #ffffff;
}

.page-vip-club__dark-bg {
  background-color: #0A2463;
  color: #ffffff;
}

.page-vip-club__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for titles */
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-vip-club__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  width: 100%;
  height: 650px; /* Adjusted for visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

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

.page-vip-club__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-vip-club__hero-title {
  font-size: 4em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-vip-club__hero-description {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-vip-club__hero-cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A2463; /* Dark blue text on gold */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-vip-club__hero-cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-vip-club__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-vip-club__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-vip-club__cta-button--centered {
  margin-top: 40px;
}

.page-vip-club__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* VIP Tiers Grid */
.page-vip-club__tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-vip-club__tier-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent background */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

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

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

.page-vip-club__tier-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-vip-club__tier-benefits li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-vip-club__tier-benefits li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FFD700;
}

.page-vip-club__tier-description {
  font-size: 0.95em;
  color: #cccccc;
  margin-top: auto; /* Push to bottom */
}

/* Privileges Grid */
.page-vip-club__privileges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-vip-club__privilege-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-vip-club__privilege-item:hover {
  transform: translateY(-10px);
}

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

.page-vip-club__privilege-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-vip-club__privilege-text {
  font-size: 1em;
  color: #cccccc;
  margin-top: auto;
}

/* How to Join Section */
.page-vip-club__join-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-vip-club__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-vip-club__step-icon {
  background-color: #FFD700;
  color: #0A2463;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

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

.page-vip-club__step-text {
  font-size: 1em;
  color: #cccccc;
}

.page-vip-club__text-link {
  color: #FFD700; /* Gold for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

/* FAQ Section */
.page-vip-club__faq {
  text-align: left;
}

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

.page-vip-club__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-vip-club__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-vip-club__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-vip-club__faq-item.active .page-vip-club__faq-toggle {
  transform: rotate(45deg);
}

.page-vip-club__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
  text-align: left;
}

.page-vip-club__faq-item.active .page-vip-club__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

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

/* Final CTA Section */
.page-vip-club__cta-final {
  padding: 100px 0;
}

.page-vip-club__cta-final-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

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

@media (max-width: 768px) {
  .page-vip-club {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-vip-club__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-vip-club__hero-title {
    font-size: 2.5em;
  }

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

  .page-vip-club__section {
    padding: 60px 0;
  }

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

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

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

  .page-vip-club__tiers-grid,
  .page-vip-club__privileges-grid,
  .page-vip-club__join-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-vip-club__tier-image, 
  .page-vip-club__privilege-image, 
  .page-vip-club__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }

  /* Ensure all sections and containers are responsive */
  .page-vip-club__section,
  .page-vip-club__container,
  .page-vip-club__hero-section,
  .page-vip-club__hero-content,
  .page-vip-club__about-vip,
  .page-vip-club__tiers,
  .page-vip-club__privileges,
  .page-vip-club__how-to-join,
  .page-vip-club__faq,
  .page-vip-club__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-vip-club__faq-item.active .page-vip-club__faq-answer {
    padding: 10px 20px;
  }

  .page-vip-club__hero-cta-button,
  .page-vip-club__cta-button,
  .page-vip-club a[class*="button"],
  .page-vip-club a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    margin-left: auto;
    margin-right: auto;
  }
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}