/* style/vip-program.css */

/* Base styles for the VIP Program page */
.page-vip-program {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-vip-program__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #ffc107; /* Gold for main titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-vip-program__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #ffc107; /* Gold for main H1 */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-vip-program__section-description,
.page-vip-program__intro-text {
  font-size: 18px;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-vip-program__btn-primary {
  display: inline-block;
  background-color: #ffc107; /* Gold button */
  color: #0d1117; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

/* Hero Section */
.page-vip-program__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  margin-top: 0;
  overflow: hidden;
}

.page-vip-program__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.page-vip-program__hero-image {
  width: 100%;
  margin: 0;
}

.page-vip-program__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no filter changes image color */
}

/* Introduction Section */
.page-vip-program__introduction-section {
  background-color: #1a202c; /* Slightly lighter dark background */
  padding: 60px 0;
  text-align: center;
}

/* VIP Tiers Section */
.page-vip-program__tiers-section {
  background-color: #007bff; /* Brand primary color as background */
  padding: 80px 0;
  color: #ffffff; /* White text for dark blue background */
}

.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); /* Semi-transparent white */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none; /* No box-shadow */
  filter: none; /* No filter */
}

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

.page-vip-program__tier-card img {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency, object-fit will handle aspect ratio */
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no filter changes image color */
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
  width: 100%; /* Ensure img fills card width */
}

.page-vip-program__tier-title {
  font-size: 24px;
  font-weight: bold;
  color: #ffc107; /* Gold for tier titles */
  margin-bottom: 15px;
}

.page-vip-program__tier-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font-size: 16px;
  color: #f0f0f0;
}

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

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

/* Benefits Section */
.page-vip-program__benefits-section {
  background-color: #1a202c; /* Dark background */
  padding: 80px 0;
}

.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-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none; /* No box-shadow */
  filter: none; /* No filter */
}

.page-vip-program__benefit-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-vip-program__benefit-card img {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency, object-fit will handle aspect ratio */
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no filter changes image color */
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
  width: 100%; /* Ensure img fills card width */
}

.page-vip-program__benefit-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-vip-program__benefit-card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* How to Join Section */
.page-vip-program__how-to-join-section {
  background-color: #0d1117; /* Darkest background */
  padding: 80px 0;
}

.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(0, 123, 255, 0.2); /* Semi-transparent blue */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(0, 123, 255, 0.3);
  box-shadow: none; /* No box-shadow */
  filter: none; /* No filter */
}

.page-vip-program__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffc107;
  color: #0d1117;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-vip-program__step-title {
  font-size: 24px;
  font-weight: bold;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-vip-program__step-card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Terms & Conditions Section */
.page-vip-program__terms-section {
  background-color: #1a202c;
  padding: 80px 0;
}

.page-vip-program__terms-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
  font-size: 16px;
  color: #f0f0f0;
  text-align: left;
}

.page-vip-program__terms-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.page-vip-program__terms-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ffc107;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

.page-vip-program__terms-list a {
  color: #ffc107;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-vip-program__terms-list a:hover {
  color: #e0a800;
  text-decoration: underline;
}

/* FAQ Section */
.page-vip-program__faq-section {
  background-color: #007bff; /* Brand primary color */
  padding: 80px 0;
  color: #ffffff; /* White text */
}

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

/* FAQ item styles */
.page-vip-program__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1); /* Lighter background for FAQ item */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* FAQ default state - answer hidden */
.page-vip-program__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly darker for answer background */
}

/* FAQ expanded state - ☠️ Use!important and sufficiently large max-height */
.page-vip-program__faq-item.active .page-vip-program__faq-answer {
  max-height: 2000px !important; /* ☠️ Use!important ensure priority, value large enough for any content */
  padding: 20px !important;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

/* Question style */
.page-vip-program__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: rgba(255, 255, 255, 0.15); /* Background for question */
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-vip-program__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.page-vip-program__faq-question:active {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Question title style */
.page-vip-program__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff; /* White text for question title */
  pointer-events: none; /* Prevent h3 from blocking click events */
}

/* Toggle icon */
.page-vip-program__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107; /* Gold for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click events */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-vip-program__faq-item.active .page-vip-program__faq-toggle {
  color: #ffffff; /* White when active */
  transform: rotate(45deg); /* Rotate for 'x' effect from '+' */
}

/* Final CTA Section */
.page-vip-program__cta-final-section {
  background-color: #1a202c;
  padding: 80px 0;
}

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

  .page-vip-program__section-title {
    font-size: 32px;
  }

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

  .page-vip-program__tiers-grid,
  .page-vip-program__benefits-grid,
  .page-vip-program__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-vip-program__main-title {
    font-size: 32px;
    padding: 0 15px;
  }

  .page-vip-program__section-title {
    font-size: 28px;
    padding: 0 15px;
  }

  .page-vip-program__section-description,
  .page-vip-program__intro-text {
    font-size: 16px;
    padding: 0 15px;
    margin-bottom: 20px;
  }

  .page-vip-program__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto;
  }

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

  .page-vip-program__hero-section,
  .page-vip-program__introduction-section,
  .page-vip-program__tiers-section,
  .page-vip-program__benefits-section,
  .page-vip-program__how-to-join-section,
  .page-vip-program__terms-section,
  .page-vip-program__faq-section,
  .page-vip-program__cta-final-section {
    padding: 40px 0;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .page-vip-program__container {
    padding: 20px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-vip-program__tiers-grid,
  .page-vip-program__benefits-grid,
  .page-vip-program__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-vip-program__tier-card img,
  .page-vip-program__benefit-card img {
    height: auto !important; /* Allow height to be auto for mobile */
    min-height: 200px !important;
  }

  /* FAQ mobile adaptation */
  .page-vip-program__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-vip-program__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-vip-program__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-vip-program__faq-answer {
    padding: 0 15px;
  }
  
  .page-vip-program__faq-item.active .page-vip-program__faq-answer {
    padding: 15px !important;
  }
}

/* Ensure no filter is used on images */
.page-vip-program img {
  filter: none !important;
}

/* Ensure content area images do not display smaller than 200px */
.page-vip-program__tiers-grid img,
.page-vip-program__benefits-grid img,
.page-vip-program__steps-grid img {
  min-width: 200px;
  min-height: 200px;
  width: 100%;
  height: auto;
  object-fit: cover;
}