/* 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: #1a1a1a; /* Inherited from body, but explicitly set for clarity */
}

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

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
}

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

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

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

.page-vip-club__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay for text readability */
}

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

.page-vip-club__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

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

.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;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-vip-club__btn-primary {
  background-color: #C30808; /* Custom Register/Login color */
  color: #FFFF00; /* Custom Register/Login font color */
  border: 2px solid #C30808;
}

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

.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;
}

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

/* General Sections */
.page-vip-club__intro-section,
.page-vip-club__privileges-section,
.page-vip-club__how-to-join-section,
.page-vip-club__faq-section,
.page-vip-club__cta-section {
  padding: 60px 0;
}

.page-vip-club__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-vip-club__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-vip-club__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
  color: inherit;
}

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

.page-vip-club__card {
  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;
}

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

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

.page-vip-club__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-vip-club__card-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.page-vip-club__card-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #333333;
}

.page-vip-club__card-list li::before {
  content: '✔';
  color: #017439;
  position: absolute;
  left: 0;
}

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

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

.page-vip-club__privilege-item {
  text-align: center;
}

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

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

.page-vip-club__privilege-description {
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

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

.page-vip-club__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-vip-club__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}

.page-vip-club__step-description {
  font-size: 0.95em;
  color: #555555;
}

.page-vip-club__step-description a {
  color: #017439;
  text-decoration: underline;
}

.page-vip-club__step-description a:hover {
  color: #005f2f;
}

.page-vip-club__cta-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

/* FAQ Section */
.page-vip-club__faq-list {
  margin-top: 40px;
}

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

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  color: #333333;
}

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

.page-vip-club__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

.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;
  text-align: justify;
}

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

/* CTA Section */
.page-vip-club__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #017439; /* Brand color background */
  color: #ffffff;
}

.page-vip-club__cta-container {
  max-width: 900px;
}

.page-vip-club__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

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

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

@media (max-width: 768px) {
  .page-vip-club__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    min-height: 500px;
  }

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

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

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

  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary,
  .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-left: 15px;
    padding-right: 15px;
  }

  .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;
  }

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

  .page-vip-club__section-subtitle {
    font-size: 1em;
  }

  .page-vip-club__text-block {
    font-size: 1em;
  }

  .page-vip-club__tiers-grid,
  .page-vip-club__privileges-grid,
  .page-vip-club__steps-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  /* Image responsiveness */
  .page-vip-club img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-vip-club__section,
  .page-vip-club__card,
  .page-vip-club__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-vip-club__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }

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

@media (max-width: 480px) {
  .page-vip-club__hero-title {
    font-size: 2em;
  }
  .page-vip-club__cta-title {
    font-size: 1.6em;
  }
  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    font-size: 0.9em;
    padding: 12px 20px;
  }
}