/* style/vip-program.css */
.page-vip-program {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from shared.css, set explicitly for clarity */
}

.page-vip-program__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-vip-program__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-vip-program__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

.page-vip-program__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Overlay for text readability */
  z-index: 1;
}

.page-vip-program__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-vip-program__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

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

.page-vip-program__btn-primary,
.page-vip-program__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.page-vip-program__btn-primary {
  background-color: #C30808; /* Use custom color for register/login type buttons */
  color: #FFFF00; /* Use custom font color */
  border: 2px solid #C30808;
}

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

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

.page-vip-program__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-vip-program__btn-large {
  padding: 18px 40px;
  font-size: 1.1em;
}

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

.page-vip-program__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-vip-program__intro-section .page-vip-program__section-title,
.page-vip-program__privileges-section .page-vip-program__section-title,
.page-vip-program__faq-section .page-vip-program__section-title {
  color: #017439;
}

.page-vip-program__tiers-section .page-vip-program__section-title,
.page-vip-program__join-section .page-vip-program__section-title,
.page-vip-program__conclusion-section .page-vip-program__section-title {
  color: #ffffff;
}

.page-vip-program__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-vip-program__intro-section .page-vip-program__text-block,
.page-vip-program__privileges-section .page-vip-program__text-block,
.page-vip-program__faq-section .page-vip-program__text-block {
  color: #333333;
}

.page-vip-program__tiers-section .page-vip-program__text-block,
.page-vip-program__join-section .page-vip-program__text-block,
.page-vip-program__conclusion-section .page-vip-program__text-block {
  color: #f0f0f0;
}

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

.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 for cards on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-vip-program__tier-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFF00; /* Highlight VIP tiers */
}

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

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

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

.page-vip-program__tier-benefits li::before {
  content: '✔';
  color: #FFFF00; /* Checkmark color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-vip-program__privilege-card {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-vip-program__privilege-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-vip-program__privilege-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

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

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

.page-vip-program__step-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-vip-program__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFF00; /* Highlight step numbers */
  margin-bottom: 15px;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: #017439;
  border: 2px solid #FFFF00;
}

.page-vip-program__step-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-vip-program__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-vip-program__cta-banner {
  background-color: #017439;
  border-radius: 12px;
  margin-top: 60px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-vip-program__cta-image {
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-vip-program__cta-content {
  flex-grow: 1;
  text-align: left;
}

.page-vip-program__cta-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

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

.page-vip-program__faq-list {
  margin-top: 40px;
}

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

.page-vip-program__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #333333;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-vip-program__faq-question:hover {
  background-color: #e5e5e5;
}

.page-vip-program__faq-title {
  font-size: 1.1em;
  margin: 0;
  color: #017439;
}

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

.page-vip-program__faq-item.active .page-vip-program__faq-toggle {
  transform: rotate(45deg); /* Plus sign becomes cross */
}

.page-vip-program__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  font-size: 1em;
  line-height: 1.7;
  background-color: #ffffff;
}

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

.page-vip-program__faq-answer p {
  margin: 0;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-vip-program__hero-title {
    font-size: 3em;
  }
  .page-vip-program__hero-description {
    font-size: 1.2em;
  }
  .page-vip-program__section-title {
    font-size: 2em;
  }
  .page-vip-program__cta-image {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .page-vip-program__cta-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-vip-program__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-vip-program__hero-title {
    font-size: 2.2em;
  }
  .page-vip-program__hero-description {
    font-size: 1em;
  }
  .page-vip-program__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-vip-program__btn-primary,
  .page-vip-program__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-vip-program__container,
  .page-vip-program__tiers-grid,
  .page-vip-program__privileges-grid,
  .page-vip-program__steps-grid,
  .page-vip-program__faq-list,
  .page-vip-program__cta-banner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-vip-program img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-vip-program__cta-banner {
    flex-direction: column;
  }
  .page-vip-program__cta-image {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .page-vip-program__cta-content {
    text-align: center;
  }
  .page-vip-program__faq-question,
  .page-vip-program__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-vip-program__faq-item.active .page-vip-program__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-vip-program__hero-title {
    font-size: 1.8em;
  }
  .page-vip-program__hero-description {
    font-size: 0.9em;
  }
  .page-vip-program__section-title {
    font-size: 1.8em;
  }
  .page-vip-program__tier-title,
  .page-vip-program__privilege-title,
  .page-vip-program__step-title,
  .page-vip-program__cta-title {
    font-size: 1.4em;
  }
  .page-vip-program__btn-large {
    font-size: 1em;
  }
}