/* style/vip-club.css */

/* Variables */
:root {
  --primary-color: #0A192F; /* Dark Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f8f9fa;
  --bg-dark-card: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
  --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Base styles for the VIP Club page */
.page-vip-club {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--primary-color); /* Inherits from body, but explicitly set for safety */
  padding-top: 10px; /* Adjust for fixed header on desktop */
}

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

/* Section titles */
.page-vip-club__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-vip-club__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

/* Text blocks */
.page-vip-club__text-block {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-light); /* Light text on dark background */
}

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

/* Links within text blocks */
.page-vip-club__text-block a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-vip-club__text-block a:hover {
  color: #fff;
}

/* CTA Buttons */
.page-vip-club__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-vip-club__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.page-vip-club__cta-button--primary {
  background: var(--secondary-color); /* Gold background */
  color: var(--text-dark); /* Dark text for contrast on gold */
}

.page-vip-club__cta-button--primary:hover {
  background: darken(var(--secondary-color), 10%); /* Darker gold */
  transform: translateY(-2px);
  box-shadow: var(--shadow-dark);
}

.page-vip-club__cta-button--secondary {
  background: transparent;
  color: var(--secondary-color); /* Gold text */
  border: 2px solid var(--secondary-color);
}

.page-vip-club__cta-button--secondary:hover {
  background: var(--secondary-color);
  color: var(--text-dark); /* Dark text on gold hover */
  transform: translateY(-2px);
  box-shadow: var(--shadow-dark);
}

.page-vip-club__cta-button--small {
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 5px;
}

/* Hero Section */
.page-vip-club__hero-section {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('[GALLERY:hero_bg:8ket bet,vip club,luxury background,gold,dark blue]') center center / cover no-repeat;
  padding: 150px 20px 80px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  /* Ensure content is not hidden by fixed header */
  padding-top: calc(100px + 70px); /* Adjust based on actual header height if needed */
}

.page-vip-club__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-vip-club__hero-title {
  font-size: 56px;
  color: var(--secondary-color);
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-vip-club__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Dark Section - for alternating backgrounds */
.page-vip-club__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Image wrapper */
.page-vip-club__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

.page-vip-club__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Tier Section */
.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: #ffffff; /* Light background for tier cards */
  color: var(--text-dark); /* Dark text on light background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid transparent;
}

.page-vip-club__tier-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark);
}

.page-vip-club__tier-card--bronze { border-color: #CD7F32; }
.page-vip-club__tier-card--silver { border-color: #C0C0C0; }
.page-vip-club__tier-card--gold { border-color: var(--secondary-color); }
.page-vip-club__tier-card--platinum { border-color: #E5E4E2; } /* Platinum color */


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

.page-vip-club__tier-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.page-vip-club__tier-description {
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-vip-club__tier-benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

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

.page-vip-club__tier-benefits-list li::before {
  content: '✔';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Exclusive Benefits Section */
.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-item {
  background: var(--bg-dark-card); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--text-light); /* Light text */
}

.page-vip-club__benefit-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-dark);
}

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

.page-vip-club__benefit-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-vip-club__benefit-description {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

/* How to Join Section */
.page-vip-club__how-to-join-section {
  background-color: var(--bg-light); /* Light background */
  color: var(--text-dark); /* Dark text */
}

.page-vip-club__how-to-join-section .page-vip-club__section-title {
  color: var(--primary-color); /* Dark blue title on light background */
}

.page-vip-club__how-to-join-section .page-vip-club__text-block {
  color: var(--text-dark); /* Dark text on light background */
}

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

.page-vip-club__steps-list li {
  font-size: 18px;
  margin-bottom: 20px;
  padding: 20px;
  background: #ffffff;
  border-left: 5px solid var(--secondary-color);
  border-radius: 5px;
  box-shadow: var(--shadow-light);
  text-align: left;
  color: var(--text-dark); /* Dark text */
}

.page-vip-club__steps-list li strong {
  color: var(--primary-color);
}

.page-vip-club__steps-list li a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-vip-club__steps-list li a:hover {
  color: var(--primary-color);
}

/* Why Choose Us Section */
.page-vip-club__why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-vip-club__why-item {
  background: var(--bg-dark-card);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-vip-club__why-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.page-vip-club__why-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-vip-club__why-description {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-vip-club__why-description a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-vip-club__why-description a:hover {
  color: #fff;
}

/* FAQ Section */
.page-vip-club__faq-section {
  background-color: var(--bg-light); /* Light background */
  color: var(--text-dark); /* Dark text */
}

.page-vip-club__faq-section .page-vip-club__section-title {
  color: var(--primary-color); /* Dark blue title */
}

.page-vip-club__faq-section .page-vip-club__text-block {
  color: var(--text-dark); /* Dark text */
}

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

.page-vip-club__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  background-color: #fff; /* Ensure white background for FAQ items */
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--primary-color); /* Dark blue for question text */
}

.page-vip-club__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-vip-club__faq-question:active {
  background: #eeeeee;
}

.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 from blocking click event */
  color: var(--primary-color); /* Dark blue for h3 */
}

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

.page-vip-club__faq-item.active .page-vip-club__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
}

.page-vip-club__faq-item.active .page-vip-club__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for active state */
  color: var(--primary-color);
}

.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 25px;
  opacity: 0;
  background: #f9f9f9; /* Light background for answer */
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-vip-club__faq-item.active .page-vip-club__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to show content */
  padding: 20px 25px !important;
  opacity: 1;
  color: var(--text-dark); /* Dark text on light background */
}

.page-vip-club__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark); /* Dark text for answer content */
}

/* Contact Section */
.page-vip-club__contact-section {
  text-align: center;
  padding-bottom: 60px;
}

/* Image responsive fallback */
.page-vip-club img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-club__hero-title {
    font-size: 48px;
  }
  .page-vip-club__hero-description {
    font-size: 20px;
  }
  .page-vip-club__section-title {
    font-size: 32px;
  }
  .page-vip-club__text-block {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-vip-club {
    padding-top: 10px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-vip-club__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-vip-club__hero-section {
    padding-top: calc(100px + 50px) !important; /* Adjust for mobile header height */
    padding-bottom: 50px;
  }

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

  .page-vip-club__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
  }

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

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

  .page-vip-club__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-vip-club__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-vip-club__tier-card,
  .page-vip-club__benefit-item,
  .page-vip-club__why-item {
    padding: 25px;
  }

  .page-vip-club__tier-title {
    font-size: 24px;
  }

  .page-vip-club__tier-icon {
    width: 90px;
    height: 90px;
  }

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

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

  .page-vip-club__steps-list li {
    font-size: 16px;
    padding: 15px;
  }

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

  .page-vip-club__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }

  .page-vip-club__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 22px;
  }
  
  .page-vip-club__faq-answer {
    padding: 0 20px;
  }

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

  /* Image responsive for mobile */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-vip-club__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0;
    margin-right: 0;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-vip-club__hero-title {
    font-size: 32px;
  }
  .page-vip-club__hero-description {
    font-size: 16px;
  }
  .page-vip-club__section-title {
    font-size: 24px;
  }
  .page-vip-club__cta-button {
    font-size: 15px !important;
    padding: 10px 15px !important;
  }
}