/* style/vip-program.css */

/* Base styles for the VIP Program page */
.page-vip-program {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  /* Body background is dark from shared.css, so default text should be light */
  color: #ffffff; 
}

/* Color contrast classes for intelligent background/text pairing */
.page-vip-program__dark-bg {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
}

.page-vip-program__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-vip-program__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-vip-program__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-vip-program__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-vip-program__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-vip-program__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-vip-program__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-vip-program__btn-primary,
.page-vip-program__btn-secondary,
.page-vip-program__btn-step {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-vip-program__btn-primary:hover {
  background-color: #cc6c06;
  border-color: #cc6c06;
}

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

.page-vip-program__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* General Content Area */
.page-vip-program__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-vip-program__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-vip-program__introduction-section .page-vip-program__section-title,
.page-vip-program__exclusive-benefits-section .page-vip-program__section-title,
.page-vip-program__faq-section .page-vip-program__section-title {
  color: #26A9E0; /* Primary color for titles on light background */
}

.page-vip-program__tiers-section .page-vip-program__section-title,
.page-vip-program__how-to-join-section .page-vip-program__section-title,
.page-vip-program__cta-final-section .page-vip-program__section-title {
  color: #ffffff; /* White for titles on dark background */
}

.page-vip-program__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-vip-program__tier-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-vip-program__tier-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-vip-program__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-vip-program__card-title {
  font-size: 1.8em;
  font-weight: 700;
  color: #EA7C07; /* Login color for tier titles */
  margin-bottom: 10px;
}

.page-vip-program__card-description {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-vip-program__tier-benefits {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: auto;
}

.page-vip-program__tier-benefits li {
  color: #ffffff;
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

.page-vip-program__tier-benefits li::before {
  content: '✓';
  color: #EA7C07;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-vip-program__note-text {
  font-size: 0.9em;
  color: #cccccc;
  margin-top: 40px;
}

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

.page-vip-program__benefit-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  color: #333333;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-vip-program__benefit-item:hover {
  transform: translateY(-5px);
}

.page-vip-program__benefit-icon {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 20px auto;
  display: block;
}

.page-vip-program__benefit-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-vip-program__benefit-description {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
}

/* How to Join Section */
.page-vip-program__how-to-join-section {
  padding-bottom: 60px;
}

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

.page-vip-program__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-vip-program__step-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #EA7C07;
  margin-bottom: 15px;
}

.page-vip-program__step-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-vip-program__btn-step {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-vip-program__btn-step:hover {
  background-color: #1e87bb;
  border-color: #1e87bb;
}

/* FAQ Section */
.page-vip-program__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-vip-program__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #26A9E0;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

.page-vip-program__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-vip-program__faq-item summary:hover {
  background-color: #e8e8e8;
}

.page-vip-program__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #EA7C07;
}

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

.page-vip-program__faq-answer {
  padding: 15px 25px 20px;
  border-top: 1px solid #e0e0e0;
  font-size: 0.95em;
  line-height: 1.7;
  color: #555555;
}

/* Final CTA Section */
.page-vip-program__cta-final-section {
  padding-top: 60px;
  padding-bottom: 80px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-program__hero-content {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .page-vip-program__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-vip-program__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

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

  .page-vip-program__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-vip-program__btn-primary,
  .page-vip-program__btn-secondary,
  .page-vip-program__btn-step {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-vip-program__container {
    padding: 30px 15px;
  }

  .page-vip-program__section-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
  }

  .page-vip-program__text-block {
    font-size: 0.95em;
  }

  .page-vip-program img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-vip-program__section,
  .page-vip-program__card,
  .page-vip-program__container,
  .page-vip-program__hero-image-wrapper,
  .page-vip-program__tiers-grid,
  .page-vip-program__benefits-grid,
  .page-vip-program__steps-grid,
  .page-vip-program__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-vip-program__tier-card,
  .page-vip-program__benefit-item,
  .page-vip-program__step-card {
    margin-bottom: 20px;
  }

  .page-vip-program__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-vip-program__faq-answer {
    padding: 10px 20px 15px;
  }

  .page-vip-program__hero-image {
    height: auto;
  }

  .page-vip-program__card-image,
  .page-vip-program__benefit-icon {
    height: 150px; /* Adjust image height for mobile */
  }
}

@media (max-width: 480px) {
  .page-vip-program__main-title {
    font-size: clamp(1.8em, 9vw, 2.5em);
  }

  .page-vip-program__hero-description {
    font-size: 0.9em;
  }

  .page-vip-program__section-title {
    font-size: clamp(1.4em, 7vw, 2em);
  }
}