/* style/vip-club.css */
.page-vip-club {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches body background */
  padding-top: 100px; /* Space for fixed header on mobile */
}

@media (min-width: 769px) {
  .page-vip-club {
    padding-top: 120px; /* Space for fixed header on desktop */
  }
}

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

.page-vip-club__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold brand color */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-vip-club__text-block {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-vip-club__mt-20 {
  margin-top: 20px;
}

.page-vip-club__mt-40 {
  margin-top: 40px;
}

/* Color Contrast Helpers */
.page-vip-club__dark-bg {
  background-color: #121212;
  color: #ffffff;
}

.page-vip-club__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-vip-club__text-dark {
  color: #333333;
}

/* Buttons */
.page-vip-club__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.page-vip-club__btn--primary {
  background-color: #FFD700; /* Gold brand color */
  color: #000080; /* Dark blue for contrast */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-vip-club__btn--primary:hover {
  background-color: #e6c200;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

.page-vip-club__btn--secondary {
  background-color: #000080; /* Dark blue brand color */
  color: #FFD700; /* Gold for contrast */
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-vip-club__btn--secondary:hover {
  background-color: #000066;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.page-vip-club__btn--large {
  padding: 18px 40px;
  font-size: 20px;
}

.page-vip-club__link-alt {
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-vip-club__link-alt:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Hero Section */
.page-vip-club__hero-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #000080, #1a1a3a);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-vip-club__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.page-vip-club__hero-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-vip-club__hero-title {
  font-size: 48px;
  font-weight: 900;
  color: #FFD700; /* Gold brand color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.page-vip-club__hero-subtitle {
  font-size: 22px;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-vip-club__hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-vip-club__hero-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-vip-club__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
}

/* Introduction Section */
.page-vip-club__introduction-section {
  padding: 60px 20px;
}

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

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

.page-vip-club__benefit-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-vip-club__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-vip-club__benefit-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000080;
}

.page-vip-club__benefit-description {
  font-size: 16px;
  color: #555555;
}

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

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

.page-vip-club__step-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark bg */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-vip-club__step-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-vip-club__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #000080;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.6);
}

.page-vip-club__step-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-vip-club__step-description {
  font-size: 16px;
  color: #cccccc;
}

/* Exclusive Games Section */
.page-vip-club__exclusive-games-section {
  padding: 60px 20px;
}

.page-vip-club__games-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 0;
  margin-top: 40px;
  /* Hide scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.page-vip-club__games-carousel::-webkit-scrollbar {
  display: none;
}

.page-vip-club__game-item {
  flex-shrink: 0;
  width: 280px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  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(255, 215, 0, 0.2);
}

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

.page-vip-club__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-vip-club__game-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  padding: 15px;
  text-align: center;
}

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

.page-vip-club__faq-list {
  margin-top: 40px;
}

/* FAQ container style */
.page-vip-club__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.05); /* Darker background for FAQ items */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ default state - answer hidden */
.page-vip-club__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #cccccc;
  font-size: 16px;
}

/* FAQ expanded state - 🚨 Use!important and sufficiently large max-height */
.page-vip-club__faq-item.active .page-vip-club__faq-answer {
  max-height: 2000px !important; /* 🚨 Use!important to ensure priority, value large enough to contain any content */
  padding: 20px !important;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
}

/* Question style */
.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-vip-club__faq-item.active .page-vip-club__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px 8px 0 0;
}

.page-vip-club__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Question title style */
.page-vip-club__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 tag from blocking click events */
  color: #FFD700;
}

/* Toggle icon */
.page-vip-club__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click events */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-vip-club__faq-item.active .page-vip-club__faq-toggle {
  color: #ffffff;
  transform: rotate(180deg);
}

/* CTA Section */
.page-vip-club__cta-section {
  padding: 80px 20px;
  background: linear-gradient(45deg, #000080, #1a1a3a);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-club__hero-title {
    font-size: 40px;
  }
  .page-vip-club__hero-subtitle {
    font-size: 20px;
  }
  .page-vip-club__section-title {
    font-size: 32px;
  }
  .page-vip-club__benefit-title {
    font-size: 22px;
  }
  .page-vip-club__step-title {
    font-size: 20px;
  }
  .page-vip-club__game-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-vip-club {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 80px; /* Adjust for smaller mobile header */
  }

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

  .page-vip-club__hero-section {
    padding: 60px 15px;
    min-height: auto;
  }

  .page-vip-club__hero-container {
    flex-direction: column;
    gap: 30px;
  }

  .page-vip-club__hero-content {
    text-align: center;
  }

  .page-vip-club__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-vip-club__hero-subtitle {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .page-vip-club__hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-vip-club__btn--secondary {
    margin-left: 0;
  }

  .page-vip-club__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

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

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

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

  .page-vip-club__benefit-icon {
    width: 80px;
    height: 80px;
  }

  .page-vip-club__benefit-title {
    font-size: 20px;
  }

  .page-vip-club__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }

  .page-vip-club__step-title {
    font-size: 18px;
  }

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

  .page-vip-club__game-item {
    width: 250px;
  }

  .page-vip-club__game-image {
    height: 160px;
  }

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

  .page-vip-club__faq-question {
    padding: 15px;
  }

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

  .page-vip-club__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }

  .page-vip-club__faq-item.active .page-vip-club__faq-answer {
    padding: 15px !important;
  }

  .page-vip-club__btn--large {
    padding: 15px 30px;
    font-size: 18px;
  }

  /* Ensure images within sections/containers are responsive */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-vip-club__hero-image img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-vip-club__section, .page-vip-club__container, .page-vip-club__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}