/* style/vip-club.css */

/* Base Styles for VIP Club Page */
.page-vip-club {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, but explicitly set for context */
}

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

.page-vip-club__section-title {
  font-size: 2.8em;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

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

.page-vip-club__card-description {
  font-size: 1em;
  color: #cccccc;
}

.page-vip-club__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

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

.page-vip-club__text-link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-vip-club__text-link:hover {
  color: #004d2b;
}

/* Section Backgrounds */
.page-vip-club__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-vip-club__light-bg {
  background-color: #282828;
  color: #f0f0f0;
}

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

.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; /* Subtle overlay for text readability */
  filter: none; /* Ensure no color filters */
}

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

.page-vip-club__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-vip-club__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Benefits Section */
.page-vip-club__benefits-section {
  padding: 80px 0;
}

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

.page-vip-club__benefit-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent background on dark */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(1, 116, 57, 0.3);
}

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

.page-vip-club__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: none; /* Ensure no color filters */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

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

.page-vip-club__step-card {
  background-color: rgba(1, 116, 57, 0.2); /* Transparent brand color background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #017439;
}

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

/* Levels Section */
.page-vip-club__levels-section {
  padding: 80px 0;
}

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

.page-vip-club__level-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(1, 116, 57, 0.3);
}

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

.page-vip-club__level-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  filter: none; /* Ensure no color filters */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

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

.page-vip-club__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(1, 116, 57, 0.3);
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.2);
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-vip-club__faq-question:hover {
  background-color: rgba(1, 116, 57, 0.4);
}

.page-vip-club__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.1em;
}

.page-vip-club__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  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: #cccccc;
}

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

.page-vip-club__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

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

.page-vip-club__cta-button {
  margin-top: 30px;
}

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

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

@media (max-width: 768px) {
  .page-vip-club__container {
    padding: 30px 15px;
  }

  .page-vip-club__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

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

  .page-vip-club__benefits-grid,
  .page-vip-club__steps-grid,
  .page-vip-club__levels-grid {
    grid-template-columns: 1fr;
  }

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

  /* Force responsive images and videos */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-vip-club__hero-image-wrapper,
  .page-vip-club__benefits-section,
  .page-vip-club__join-section,
  .page-vip-club__levels-section,
  .page-vip-club__faq-section,
  .page-vip-club__cta-bottom-section,
  .page-vip-club__container,
  .page-vip-club__benefit-card,
  .page-vip-club__step-card,
  .page-vip-club__level-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .page-vip-club__btn-primary {
    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 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

@media (max-width: 480px) {
  .page-vip-club__hero-title {
    font-size: 1.8em;
  }

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

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