:root {
  --primary-color: #007bff; /* Deep Blue */
  --secondary-color: #ffc107; /* Golden/Amber */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-dark: #121212;
  --card-bg-dark: rgba(255, 255, 255, 0.1); /* Light transparent on dark */
  --border-color-dark: rgba(255, 255, 255, 0.2);
}

/* Base styles for the page content, ensuring contrast with body background */
.page-vip-club {
  color: var(--text-color-light); /* Light text on dark body background */
  background-color: var(--background-dark); /* Ensure this is set for consistency, though shared.css might define body */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
  padding-bottom: 60px; /* General padding for bottom */
}

/* --- Video Section --- */
.page-vip-club__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 120px; /* Desktop: Adjust based on actual fixed header height */
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  border-bottom: 1px solid var(--border-color-dark);
}

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

/* 🚨 Video click link styles */
.page-vip-club__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-vip-club__video-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-vip-club__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio - PageSpeed optimization: fixed aspect ratio to avoid CLS */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-vip-club__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

/* 🚨 Video click hint overlay styles */
.page-vip-club__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-vip-club__video-link:hover .page-vip-club__video-overlay {
  opacity: 1;
}

.page-vip-club__video-click-hint {
  color: var(--text-color-light);
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  padding: 12px 25px;
  background: rgba(0, 123, 255, 0.85);
  border-radius: 8px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* 🚨 Play Now button styles (must be strictly followed, centered below video) */
.page-vip-club__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.page-vip-club__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.3);
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-vip-club__play-now-button:hover {
  background: #0056b3; /* Darker primary color */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.page-vip-club__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

/* --- H1 Title + CTA Buttons Section --- */
.page-vip-club__title-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(to right, #1a1a1a, #2a2a2a);
  border-bottom: 1px solid var(--border-color-dark);
}

.page-vip-club__title-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-vip-club__main-title {
  font-size: 3.2em;
  color: var(--secondary-color); /* Golden color for main title */
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.page-vip-club__title-description {
  font-size: 1.15em;
  color: var(--text-color-light);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-vip-club__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-vip-club__cta-button {
  display: inline-block;
  padding: 16px 45px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.page-vip-club__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-light);
}

.page-vip-club__btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.page-vip-club__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-color-dark); /* Dark text on golden background for contrast */
}

.page-vip-club__btn-secondary:hover {
  background: #e0a800; /* Darker golden color */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

/* --- FAQ Section --- */
.page-vip-club__faq-section {
  padding: 80px 20px;
  background: #1e1e1e; /* Slightly lighter dark background */
  border-bottom: 1px solid var(--border-color-dark);
}

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

.page-vip-club__faq-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.page-vip-club__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-vip-club__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: var(--card-bg-dark); /* Use transparent light on dark */
  border: 1px solid var(--border-color-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-vip-club__faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* 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 25px;
  opacity: 0;
  color: var(--text-color-light);
  background: rgba(255, 255, 255, 0.05); /* Even lighter transparent background for answer */
}

/* 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 ensure priority, value large enough for any content */
  padding: 25px !important;
  opacity: 1;
  border-top: 1px solid var(--border-color-dark);
}

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

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

.page-vip-club__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

/* Question title styles */
.page-vip-club__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-color-light);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

/* Toggle icon */
.page-vip-club__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.page-vip-club__faq-item.active .page-vip-club__faq-toggle {
  color: var(--primary-color);
  transform: rotate(180deg); /* Rotate for minus sign effect */
}

/* --- Brand Section --- */
.page-vip-club__brand-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  border-bottom: 1px solid var(--border-color-dark);
}

.page-vip-club__brand-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-vip-club__brand-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.page-vip-club__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

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

.page-vip-club__brand-item h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-vip-club__brand-item p {
  font-size: 1em;
  color: var(--text-color-light);
  opacity: 0.85;
}

.page-vip-club__brand-image {
  max-width: 100%; /* Ensure image responsiveness */
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover; /* Ensure images fill their space nicely */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

/* --- Blog Section --- */
.page-vip-club__blog-section {
  padding: 80px 20px;
  background: #121212;
}

.page-vip-club__blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-vip-club__blog-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.page-vip-club__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-vip-club__blog-item {
  background: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-vip-club__blog-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 25px;
}

.page-vip-club__blog-item-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent look */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-vip-club__blog-item-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-vip-club__blog-item-excerpt {
  font-size: 0.95em;
  color: var(--text-color-light);
  opacity: 0.8;
  margin-bottom: 15px;
}

.page-vip-club__blog-item-date {
  font-size: 0.85em;
  color: var(--secondary-color);
  opacity: 0.7;
  display: block;
  text-align: right;
}

/* --- General elements for contrast and responsiveness --- */
.page-vip-club h1,
.page-vip-club h2,
.page-vip-club h3,
.page-vip-club h4,
.page-vip-club h5,
.page-vip-club h6 {
  color: var(--text-color-light); /* Default light color for headings */
}

/* Ensure all images are responsive */
.page-vip-club img {
  max-width: 100%;
  height: auto;
  display: block;
  /* No filter properties here */
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .page-vip-club {
    font-size: 15px;
    line-height: 1.5;
  }
  
  /* 🚨 Mobile: must reset padding-top, overriding desktop style */
  .page-vip-club__video-section {
    padding-top: 100px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-vip-club__video-container,
  .page-vip-club__video-wrapper,
  .page-vip-club__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-vip-club__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    object-fit: contain;
  }
  
  .page-vip-club__video-click-hint {
    font-size: 16px;
    padding: 10px 20px;
  }

  .page-vip-club__video-cta {
    margin-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-vip-club__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 30px !important;
    font-size: 18px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-vip-club__title-section,
  .page-vip-club__faq-section,
  .page-vip-club__brand-section,
  .page-vip-club__blog-section {
    padding: 40px 15px;
  }

  .page-vip-club__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-vip-club__title-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-vip-club__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-vip-club__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 25px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-vip-club__faq-title,
  .page-vip-club__brand-title,
  .page-vip-club__blog-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-vip-club__faq-question h3 {
    font-size: 1.1em;
  }

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

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

  .page-vip-club__brand-content,
  .page-vip-club__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-vip-club__brand-item,
  .page-vip-club__blog-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px; /* Adjust padding for mobile */
  }

  .page-vip-club__brand-item h3 {
    font-size: 1.5em;
  }

  .page-vip-club__blog-item-image {
    height: 180px;
  }

  .page-vip-club__blog-item-title {
    font-size: 1.3em;
  }
  
  /* 🚨 All images mobile responsive */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* 🚨 All videos mobile responsive */
  .page-vip-club video,
  .page-vip-club__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-vip-club__video-section,
  .page-vip-club__video-container,
  .page-vip-club__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Ensure all content sections have appropriate padding to prevent content from touching edges */
.page-vip-club__title-container,
.page-vip-club__faq-container,
.page-vip-club__brand-container,
.page-vip-club__blog-container {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}