/* style/vip-club.css */

:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --text-main-color: #FFF5E1;
  --card-bg-color: #D32F2F;
  --background-color: #B71C1C;
  --border-color: #F2B544;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
}

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

.page-vip-club a {
  color: var(--gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-vip-club a:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

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

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

.page-vip-club__section-title {
  font-size: 3em;
  color: var(--gold-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-vip-club__section-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main-color);
}

/* HERO Section */
.page-vip-club__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: var(--deep-red-color);
}

.page-vip-club__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-vip-club__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

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

.page-vip-club__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-vip-club__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
  font-weight: 900;
}

.page-vip-club__hero-description {
  font-size: clamp(1.1em, 2vw, 1.3em);
  color: var(--text-main-color);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-vip-club__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #000000; /* Ensure high contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color);
}

.page-vip-club__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-vip-club__cta-button--secondary {
  background: var(--deep-red-color);
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-vip-club__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--text-main-color);
}

/* VIP Tiers Grid */
.page-vip-club__vip-tiers {
  background: var(--deep-red-color);
}

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

.page-vip-club__tier-card {
  background: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-vip-club__tier-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-vip-club__tier-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--gold-color);
}

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

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

.page-vip-club__tier-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

/* Exclusive Benefits */
.page-vip-club__exclusive-benefits {
  background: var(--background-color);
}

.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: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-vip-club__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-color);
}

.page-vip-club__benefit-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-vip-club__benefit-description {
  font-size: 0.95em;
  color: var(--text-main-color);
}

/* How to Join */
.page-vip-club__how-to-join {
  background: var(--deep-red-color);
}

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

.page-vip-club__join-steps li {
  background: var(--card-bg-color);
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  position: relative;
  counter-increment: step-counter;
}

.page-vip-club__join-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold-color);
  color: #000000; /* Ensure contrast */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  border: 2px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-vip-club__join-steps li h3 {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 10px;
  padding-left: 30px;
}

.page-vip-club__join-steps li p {
  font-size: 1em;
  color: var(--text-main-color);
  padding-left: 30px;
}

/* Security & Support */
.page-vip-club__security-support {
  background: var(--background-color);
}

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

.page-vip-club__feature-item {
  background: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-vip-club__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--gold-color);
}

.page-vip-club__feature-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-vip-club__feature-description {
  font-size: 0.95em;
  color: var(--text-main-color);
}

/* FAQ Section */
.page-vip-club__faq {
  background: var(--deep-red-color);
}

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

details.page-vip-club__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

details.page-vip-club__faq-item summary.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-vip-club__faq-item summary.page-vip-club__faq-question:hover {
  background: var(--primary-color);
}

.page-vip-club__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}

.page-vip-club__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

details.page-vip-club__faq-item[open] .page-vip-club__faq-toggle {
  transform: rotate(45deg);
}

.page-vip-club__faq-answer {
  padding: 0 25px 25px;
  background: var(--primary-color);
  border-radius: 0 0 10px 10px;
  color: var(--text-main-color);
  font-size: 1em;
}

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

/* Final CTA */
.page-vip-club__cta-final {
  background: var(--background-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-club__section-title {
    font-size: 2.5em;
  }
  .page-vip-club__hero-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-vip-club__hero-description {
    font-size: clamp(1em, 1.8vw, 1.2em);
  }
  .page-vip-club__tier-card, .page-vip-club__benefit-card, .page-vip-club__feature-item {
    padding: 25px;
  }
  .page-vip-club__tier-title, .page-vip-club__benefit-title, .page-vip-club__feature-title {
    font-size: 1.4em;
  }
  .page-vip-club__faq-qtext {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-vip-club__section {
    padding: 40px 0;
  }
  .page-vip-club__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-vip-club__section-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-vip-club__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-vip-club__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-vip-club__hero-description {
    font-size: clamp(0.95em, 2.5vw, 1.1em);
    margin-bottom: 25px;
  }
  .page-vip-club__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-vip-club__cta-button, 
  .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: 12px 20px;
    font-size: 1em;
  }
  .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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }
  .page-vip-club__tier-card, .page-vip-club__benefit-card, .page-vip-club__feature-item {
    padding: 20px;
  }
  .page-vip-club__tier-title, .page-vip-club__benefit-title, .page-vip-club__feature-title {
    font-size: 1.3em;
  }
  .page-vip-club__join-steps li {
    padding: 20px 25px;
  }
  .page-vip-club__join-steps li h3 {
    font-size: 1.2em;
    padding-left: 20px;
  }
  .page-vip-club__join-steps li p {
    padding-left: 20px;
  }
  .page-vip-club__join-steps li::before {
    left: -10px;
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }
  details.page-vip-club__faq-item summary.page-vip-club__faq-question { padding: 15px; }
  .page-vip-club__faq-qtext { font-size: 0.95em; }
  .page-vip-club__faq-toggle {
    font-size: 1.8em;
    width: 25px;
  }
  .page-vip-club__faq-answer {
    padding: 0 15px 15px;
  }
}