/* style/vip-club.css */

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

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

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

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

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  box-sizing: border-box;
}

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

.page-vip-club__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

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

.page-vip-club__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-vip-club__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* CTA Buttons */
.page-vip-club__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-vip-club__btn-secondary:hover {
  background-color: #005a2d;
  transform: translateY(-3px);
}

/* Sections */
.page-vip-club__benefits-section,
.page-vip-club__tiers-section,
.page-vip-club__how-to-join-section,
.page-vip-club__exclusive-offers-section,
.page-vip-club__faq-section,
.page-vip-club__cta-bottom-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background for sections */
}

.page-vip-club__benefits-section {
  background-color: #0d0d1a; /* Slightly lighter dark background */
}

.page-vip-club__tiers-section {
  background-color: #1a1a2e;
}

.page-vip-club__how-to-join-section {
  background-color: #0d0d1a;
}

.page-vip-club__exclusive-offers-section {
  background-color: #1a1a2e;
}

.page-vip-club__cta-bottom-section {
  padding-bottom: 100px;
}

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

.page-vip-club__benefit-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-vip-club__benefit-card:hover {
  transform: translateY(-10px);
}

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

.page-vip-club__card-title {
  font-size: 1.8em;
  color: #017439; /* Brand color for titles */
  margin-bottom: 15px;
}

.page-vip-club__benefit-list {
  list-style: none;
  padding: 0;
  text-align: left;
  color: #f0f0f0;
}

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

.page-vip-club__benefit-list li::before {
  content: '✓';
  color: #FFFF00; /* Yellow checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-vip-club__tier-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-vip-club__tier-card:hover {
  transform: translateY(-10px);
}

.page-vip-club__tier-badge {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
  border: 5px solid #017439;
}

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

.page-vip-club__tier-description {
  color: #f0f0f0;
  font-size: 0.95em;
}

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

.page-vip-club__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-vip-club__step-card:hover {
  transform: translateY(-10px);
}

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

.page-vip-club__step-description {
  color: #f0f0f0;
}

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

.page-vip-club__offer-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-vip-club__offer-card:hover {
  transform: translateY(-10px);
}

.page-vip-club__offer-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-vip-club__offer-card .page-vip-club__card-title {
  font-size: 1.5em;
  padding: 15px;
  margin-bottom: 0;
  color: #017439;
}

.page-vip-club__offer-description {
  padding: 0 15px 15px;
  color: #f0f0f0;
  font-size: 0.95em;
}

/* FAQ Section */
.page-vip-club__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-club__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

.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 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: rgba(255, 255, 255, 0.02);
  color: #f0f0f0;
}

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

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

/* CTA Bottom Section */
.page-vip-club__cta-bottom-section .page-vip-club__cta-button {
  margin-top: 30px;
}

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

/* General image responsiveness */
.page-vip-club img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-vip-club__main-title {
    font-size: 3em;
  }
  .page-vip-club__hero-description {
    font-size: 1.2em;
  }
  .page-vip-club__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-vip-club__hero-section {
    height: 60vh;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing below fixed header for mobile */
  }
  .page-vip-club__main-title {
    font-size: 2.2em;
  }
  .page-vip-club__hero-description {
    font-size: 1em;
  }
  .page-vip-club__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px;
  }

  .page-vip-club__benefits-section,
  .page-vip-club__tiers-section,
  .page-vip-club__how-to-join-section,
  .page-vip-club__exclusive-offers-section,
  .page-vip-club__faq-section,
  .page-vip-club__cta-bottom-section {
    padding: 60px 0;
  }

  .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__tiers-grid,
  .page-vip-club__steps-grid,
  .page-vip-club__offers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-vip-club__tier-title {
    font-size: 1.4em;
  }

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

  .page-vip-club__offer-image {
    height: 200px;
  }

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

  .page-vip-club__faq-answer {
    padding: 0 20px;
  }

  .page-vip-club__faq-item.active .page-vip-club__faq-answer {
    padding: 10px 20px;
  }

  /* Ensure all content containers are constrained */
  .page-vip-club__container,
  .page-vip-club__hero-content,
  .page-vip-club__benefits-grid,
  .page-vip-club__tiers-grid,
  .page-vip-club__steps-grid,
  .page-vip-club__offers-grid,
  .page-vip-club__faq-list,
  .page-vip-club__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

@media (max-width: 480px) {
  .page-vip-club__main-title {
    font-size: 1.8em;
  }
  .page-vip-club__hero-description {
    font-size: 0.9em;
  }
  .page-vip-club__section-title {
    font-size: 1.5em;
  }
  .page-vip-club__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}