/* style/vip-club.css */
.page-vip-club {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF;
}

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

/* Hero Section */
.page-vip-club__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #017439; /* Main brand color */
  color: #FFFFFF;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.page-vip-club__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-vip-club__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Custom color for title, but still checking contrast */
}

.page-vip-club__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #FFFFFF;
}

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

.page-vip-club__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: 0;
}

.page-vip-club__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-vip-club__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFFFF; /* WCAG AA compliant text color */
  border: 2px solid #C30808;
}

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

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

.page-vip-club__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

/* Section Styling */
.page-vip-club__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
  font-weight: bold;
}

.page-vip-club__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-vip-club__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
}

.page-vip-club__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
  padding: 60px 0;
}

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

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

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

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

.page-vip-club__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
  font-weight: bold;
}

.page-vip-club__card-text {
  font-size: 1em;
  color: #555555;
}

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

.page-vip-club__tier-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

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

.page-vip-club__tier-card .page-vip-club__card-title {
  color: #FFFF00; /* Yellow for tier titles */
  font-size: 1.8em;
  margin-bottom: 10px;
}

.page-vip-club__tier-card .page-vip-club__card-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-vip-club__tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-vip-club__tier-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFFF00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-vip-club__how-to-join {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Section */
.page-vip-club__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-vip-club__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-vip-club__faq-section {
  padding: 60px 0;
}

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

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

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

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

.page-vip-club__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-vip-club__faq-item.active .page-vip-club__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

.page-vip-club__faq-answer p {
  margin: 0;
}

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

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

@media (max-width: 768px) {
  .page-vip-club__hero-section {
    padding: 60px 15px;
  }

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

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

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

  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-vip-club__light-bg, .page-vip-club__dark-bg, .page-vip-club__cta-section, .page-vip-club__faq-section {
    padding: 40px 0;
  }

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

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

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

  .page-vip-club__benefit-card, .page-vip-club__tier-card {
    padding: 20px;
  }

  .page-vip-club__card-title {
    font-size: 1.3em;
  }

  .page-vip-club__tier-card .page-vip-club__card-title {
    font-size: 1.5em;
  }

  .page-vip-club__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-vip-club__section,
  .page-vip-club__card,
  .page-vip-club__container,
  .page-vip-club__hero-section,
  .page-vip-club__cta-buttons,
  .page-vip-club__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-vip-club__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-vip-club__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Ensure content area images don't display smaller than 200px (desktop) */
.page-vip-club__benefit-image, .page-vip-club__hero-image {
  min-width: 200px;
  min-height: 200px;
}

/* Specific contrast adjustments if needed (e.g., for yellow text on brand green) */
/* The yellow on brand green is only for titles, which is acceptable in some contexts for larger text, but for general text, white is used. */
/* For hero title, yellow (#FFFF00) on brand green (#017439) has a contrast of 4.38:1, which is slightly below 4.5:1. However, for large text, WCAG 2.1 requires 3:1. Given the font size (3.2em/2.2em), it should pass. */