/* style/vip-club.css */

/* Base Styles */
.page-vip-club {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
}

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

.page-vip-club__dark-section {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-vip-club__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-vip-club__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: center;
  color: var(--text-secondary);
}

.page-vip-club__text-main {
  color: var(--text-main);
}

.page-vip-club__text-secondary {
  color: var(--text-secondary);
}

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

.page-vip-club__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-vip-club__link {
  color: var(--gold);
  text-decoration: none;
  font-weight: bold;
}

.page-vip-club__link:hover {
  text-decoration: underline;
}

/* Buttons */
.page-vip-club__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  background: var(--button-gradient);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-vip-club__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Invert gradient on hover */
  transform: translateY(-2px);
}

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

.page-vip-club__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
}

.page-vip-club__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
  background-color: rgba(17, 39, 27, 0.85); /* Semi-transparent background for readability */
  border-radius: 12px;
  margin-top: -80px; /* Overlap with image slightly for visual appeal */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-vip-club__hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-vip-club__hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-vip-club__tier-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
}

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

.page-vip-club__tier-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold);
}

.page-vip-club__tier-description {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-vip-club__tier-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
  max-width: 250px;
}

.page-vip-club__tier-benefits li {
  font-size: 16px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: var(--text-secondary);
}

.page-vip-club__tier-benefits li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--glow);
}

/* 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;
  margin-top: 40px;
}

.page-vip-club__benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-vip-club__benefit-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-vip-club__benefit-description {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Personalized Service Section */
.page-vip-club__personalized-service-section {
  padding: 80px 0;
}

.page-vip-club__service-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-vip-club__service-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 17px;
  position: relative;
  padding-left: 50px;
  color: var(--text-secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-vip-club__service-item::before {
  content: '✨';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
}

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

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

.page-vip-club__event-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-vip-club__event-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-vip-club__event-description {
  font-size: 16px;
  color: var(--text-secondary);
}

/* How to Join Section */
.page-vip-club__how-to-join-section {
  padding: 80px 0;
}

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

.page-vip-club__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
}

.page-vip-club__step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold);
}

.page-vip-club__step-description {
  font-size: 16px;
  color: var(--text-secondary);
}

.page-vip-club__cta-wrapper {
  margin-top: 50px;
}

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

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

.page-vip-club__faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: var(--card-bg);
  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: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-main);
  transition: background-color 0.3s ease;
}

.page-vip-club__faq-question:hover {
  background-color: rgba(var(--deep-green-rgb), 0.5);
}

.page-vip-club__faq-question::-webkit-details-marker {
  display: none;
}

.page-vip-club__faq-question::marker {
  display: none;
}

.page-vip-club__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--glow);
  margin-left: 15px;
}

.page-vip-club__faq-item[open] .page-vip-club__faq-toggle {
  content: '−';
}

.page-vip-club__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

/* Final CTA Section */
.page-vip-club__final-cta-section {
  padding: 80px 0;
}

/* Variables from custom colors */
:root {
  --main-color: #11A84E;
  --accent-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
  --deep-green-rgb: 10, 75, 44; /* RGB for rgba usage */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-vip-club__hero-title {
    font-size: clamp(30px, 4.5vw, 50px);
  }

  .page-vip-club__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }

  .page-vip-club__hero-content {
    margin-top: -60px;
    padding: 30px 20px;
  }

  .page-vip-club__tier-grid,
  .page-vip-club__benefits-grid,
  .page-vip-club__event-cards,
  .page-vip-club__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-vip-club {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-vip-club__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-vip-club__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
  }

  .page-vip-club__hero-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .page-vip-club__hero-description {
    font-size: 17px;
  }

  .page-vip-club__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-vip-club__section-title {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 25px;
  }

  .page-vip-club__paragraph {
    font-size: 16px;
  }

  .page-vip-club__tier-grid,
  .page-vip-club__benefits-grid,
  .page-vip-club__event-cards,
  .page-vip-club__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-vip-club__card {
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-vip-club__service-item {
    padding: 15px 15px 15px 45px;
    font-size: 16px;
  }

  .page-vip-club__service-item::before {
    left: 10px;
    font-size: 20px;
  }

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

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

  /* Ensure all images are responsive */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all containers with images/videos/buttons are responsive */
  .page-vip-club__section,
  .page-vip-club__card,
  .page-vip-club__container,
  .page-vip-club__hero-section,
  .page-vip-club__intro-section,
  .page-vip-club__tiers-section,
  .page-vip-club__benefits-section,
  .page-vip-club__personalized-service-section,
  .page-vip-club__events-section,
  .page-vip-club__how-to-join-section,
  .page-vip-club__faq-section,
  .page-vip-club__final-cta-section,
  .page-vip-club__hero-image-wrapper,
  .page-vip-club__hero-content,
  .page-vip-club__tier-grid,
  .page-vip-club__benefits-grid,
  .page-vip-club__event-cards,
  .page-vip-club__steps-grid,
  .page-vip-club__faq-list,
  .page-vip-club__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }

  /* Buttons specific mobile styles */
  .page-vip-club__cta-button,
  .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 !important;
    padding-right: 15px !important;
  }
  .page-vip-club__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-vip-club__hero-content {
    margin-top: -30px;
    padding: 20px 10px;
  }

  .page-vip-club__hero-title {
    font-size: clamp(26px, 7vw, 36px);
  }

  .page-vip-club__hero-description {
    font-size: 15px;
  }

  .page-vip-club__section-title {
    font-size: clamp(22px, 6vw, 28px);
  }

  .page-vip-club__paragraph {
    font-size: 15px;
  }

  .page-vip-club__tier-title,
  .page-vip-club__benefit-title,
  .page-vip-club__event-title,
  .page-vip-club__step-title {
    font-size: 22px;
  }

  .page-vip-club__faq-question {
    font-size: 16px;
  }
}