/* style/vip-club.css */

/* Custom color variables from prompt */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;

  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Base styles for the VIP Club page */
.page-vip-club {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #F2FFF6); /* Default text color from custom palette */
  background-color: var(--background, #08160F); /* Body background from custom palette */
  line-height: 1.6;
}

.page-vip-club__section {
  padding: 80px 0;
  text-align: center;
}

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

.page-vip-club__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Use clamp for H1/H2 font-size */
  color: var(--text-main, #F2FFF6);
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-vip-club__text-block {
  font-size: 18px;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: var(--deep-green, #0A4B2C); /* Use a darker background for the hero section */
}

.page-vip-club__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 40px; /* Space between image and content */
  position: relative;
  z-index: 1; /* Ensure image is below text block */
}

.page-vip-club__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-vip-club__hero-content {
  position: relative; /* Ensure content is in normal flow */
  z-index: 2; /* Ensure content is above image if any overlap */
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-vip-club__main-title {
  font-size: clamp(36px, 5vw, 60px); /* Adjust H1 font size for hero */
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

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

.page-vip-club__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%; /* Ensure container takes full width for responsive wrapping */
  max-width: 600px; /* Limit max width for desktop buttons */
  margin: 0 auto;
}

.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-vip-club__btn-primary {
  background: var(--button-gradient, linear-gradient(180deg, #2AD16F 0%, #13994A 100%)); /* Custom button color */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-vip-club__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-vip-club__btn-secondary {
  background: transparent;
  color: var(--glow, #57E38D); /* Use glow color for secondary button text */
  border: 2px solid var(--glow, #57E38D);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-vip-club__btn-secondary:hover {
  background: var(--glow, #57E38D);
  color: #08160F; /* Dark text on glow background */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-vip-club__introduction {
  background-color: var(--background, #08160F); /* Ensure consistent background */
}

.page-vip-club__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Benefits Section */
.page-vip-club__benefits {
  background-color: var(--card-bg, #11271B); /* Card background for this section */
  border-top: 1px solid var(--divider, #1E3A2A);
}

.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 {
  background-color: var(--deep-green, #0A4B2C); /* Deep green for benefit cards */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
  transition: transform 0.3s ease;
}

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

.page-vip-club__card-title {
  font-size: 24px;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.page-vip-club__benefit-card p {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
}

/* VIP Tiers Section */
.page-vip-club__tiers {
  background-color: var(--background, #08160F);
  border-top: 1px solid var(--divider, #1E3A2A);
}

.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: var(--deep-green, #0A4B2C);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
  transition: transform 0.3s ease;
}

.page-vip-club__tier-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-vip-club__tier-card p {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
}

.page-vip-club__tier-bronze .page-vip-club__card-title { color: #CD7F32; } /* Bronze */
.page-vip-club__tier-silver .page-vip-club__card-title { color: #C0C0C0; } /* Silver */
.page-vip-club__tier-gold .page-vip-club__card-title { color: var(--gold, #F2C14E); } /* Gold */
.page-vip-club__tier-platinum .page-vip-club__card-title { color: #E5E4E2; } /* Platinum */

/* Premium Games Section */
.page-vip-club__premium-games {
  background-color: var(--card-bg, #11271B);
  border-top: 1px solid var(--divider, #1E3A2A);
}

.page-vip-club__game-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-club__game-list li {
  background-color: var(--deep-green, #0A4B2C);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 18px;
  color: var(--text-main, #F2FFF6);
  border: 1px solid var(--border, #2E7A4E);
}

.page-vip-club__game-list li strong {
  color: var(--glow, #57E38D);
}

/* How to Join Section */
.page-vip-club__how-to-join {
  background-color: var(--background, #08160F);
  border-top: 1px solid var(--divider, #1E3A2A);
}

.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 {
  background-color: var(--deep-green, #0A4B2C);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.page-vip-club__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-vip-club__step-number {
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 60px;
  font-weight: 900;
  color: rgba(var(--text-main, #F2FFF6), 0.1);
  line-height: 1;
}

.page-vip-club__step-card p {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
}

.page-vip-club__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: var(--button-gradient, linear-gradient(180deg, #2AD16F 0%, #13994A 100%));
  color: #ffffff;
  border: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-vip-club__btn-small:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

/* FAQ Section */
.page-vip-club__faq {
  background-color: var(--card-bg, #11271B);
  border-top: 1px solid var(--divider, #1E3A2A);
}

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

.page-vip-club__faq-item {
  background-color: var(--deep-green, #0A4B2C);
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border, #2E7A4E);
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--deep-green, #0A4B2C);
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-vip-club__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-vip-club__faq-question:hover {
  background-color: var(--border, #2E7A4E);
}

.page-vip-club__faq-qtext {
  flex-grow: 1;
}

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

.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, #A7D9B8);
  line-height: 1.7;
}

/* Final CTA Section */
.page-vip-club__cta-final {
  padding: 100px 0;
  background-color: var(--background, #08160F);
  border-top: 1px solid var(--divider, #1E3A2A);
}

.page-vip-club__cta-final .page-vip-club__container {
  background-color: var(--deep-green, #0A4B2C);
  padding: 50px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--glow, #57E38D);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-vip-club__section {
    padding: 60px 0;
  }
  .page-vip-club__section-title {
    font-size: clamp(24px, 4vw, 36px);
  }
  .page-vip-club__text-block {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-vip-club {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-vip-club__section {
    padding: 40px 0;
  }
  .page-vip-club__container {
    padding: 0 15px !important; /* Force padding for content safety */
  }

  /* Hero Section */
  .page-vip-club__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }
  .page-vip-club__hero-image-wrapper {
    margin-bottom: 30px;
  }
  .page-vip-club__hero-content {
    padding: 0 15px;
  }
  .page-vip-club__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }
  .page-vip-club__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .page-vip-club__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box !important;
  }
  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 17px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Images responsiveness */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Image containers responsiveness */
  .page-vip-club__hero-image-wrapper,
  .page-vip-club__image-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Grid layouts */
  .page-vip-club__benefits-grid,
  .page-vip-club__tiers-grid,
  .page-vip-club__steps-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }

  /* Card specific adjustments */
  .page-vip-club__benefit-card,
  .page-vip-club__tier-card,
  .page-vip-club__step-card,
  .page-vip-club__faq-item {
    padding: 20px !important;
  }
  .page-vip-club__card-title {
    font-size: 20px;
  }
  .page-vip-club__step-card p,
  .page-vip-club__benefit-card p,
  .page-vip-club__tier-card p,
  .page-vip-club__faq-answer p {
    font-size: 15px;
  }
  .page-vip-club__btn-small {
    padding: 8px 15px !important;
    font-size: 15px !important;
  }

  /* FAQ */
  .page-vip-club__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-vip-club__faq-toggle {
    font-size: 20px;
  }
  .page-vip-club__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Final CTA */
  .page-vip-club__cta-final {
    padding: 60px 0;
  }
  .page-vip-club__cta-final .page-vip-club__container {
    padding: 40px 20px;
  }
}