/* style/vip-club.css */

:root {
  --primary-color: #007bff; /* Deep Blue */
  --secondary-color: #ffc107; /* Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f8f9fa;
  --bg-dark: #0d0d0d; /* Assuming --dark-bg-1 from shared.css is similar to this for contrast */
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --border-color: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.25);
}

.page-vip-club {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default for dark body background */
  background-color: var(--dark-bg-1, var(--bg-dark)); /* Inherit from shared.css or use fallback */
}

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

/* Fixed Nav Bar Spacing - Desktop */
.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: 10px; /* Desktop: Adjust based on navigation bar height */
  box-sizing: border-box;
}

.page-vip-club__hero-section {
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
  box-sizing: border-box;
}

.page-vip-club__benefits-section,
.page-vip-club__join-section,
.page-vip-club__brand-section {
  padding: 80px 0;
  color: var(--text-dark);
  background-color: var(--bg-light);
  box-sizing: border-box;
}

.page-vip-club__tiers-section,
.page-vip-club__faq-section,
.page-vip-club__blog-section {
  padding: 80px 0;
  color: var(--text-light);
  background-color: var(--dark-bg-1, var(--bg-dark)); /* Ensure contrast with text-light */
  box-sizing: border-box;
}

.page-vip-club__dark-bg {
  color: var(--text-light);
  background-color: var(--dark-bg-1, var(--bg-dark));
}

.page-vip-club__light-bg {
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.page-vip-club__dark-section {
  background-color: var(--dark-bg-1, var(--bg-dark));
  color: var(--text-light);
}

.page-vip-club__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: var(--secondary-color);
}

.page-vip-club__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--secondary-color);
}

.page-vip-club__section-description,
.page-vip-club__hero-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

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

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

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

.page-vip-club__btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-dark);
}

.page-vip-club__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.page-vip-club__btn-secondary:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-dark);
}

.page-vip-club__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Video Section */
.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;
  box-sizing: border-box;
  overflow: hidden;
}

.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(-2px);
  box-shadow: 0 6px 20px var(--shadow-dark);
}

.page-vip-club__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow-dark);
}

.page-vip-club__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none;
}

.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.3);
  border-radius: 8px;
  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-light);
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px var(--shadow-dark);
  padding: 10px 20px;
  background: rgba(0, 123, 255, 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-vip-club__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-vip-club__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow-dark);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-vip-club__play-now-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-dark);
}

/* Card Styles */
.page-vip-club__card {
  background: var(--card-bg-dark); /* For dark sections */
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px var(--shadow-dark);
  transition: transform 0.3s ease;
  color: var(--text-light);
  height: 100%;
  box-sizing: border-box;
}

.page-vip-club__benefits-section .page-vip-club__card,
.page-vip-club__join-section .page-vip-club__card,
.page-vip-club__brand-section .page-vip-club__card {
  background: var(--text-light);
  color: var(--text-dark);
  box-shadow: 0 4px 15px var(--shadow-light);
  border: 1px solid var(--border-color);
}

.page-vip-club__card:hover {
  transform: translateY(-5px);
}

/* Benefits Grid */
.page-vip-club__benefits-grid,
.page-vip-club__tiers-grid,
.page-vip-club__steps-grid,
.page-vip-club__brand-content,
.page-vip-club__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-vip-club__benefit-card,
.page-vip-club__tier-card,
.page-vip-club__step-card,
.page-vip-club__brand-item,
.page-vip-club__blog-item {
  text-align: center;
}

.page-vip-club__benefit-icon,
.page-vip-club__tier-icon,
.page-vip-club__brand-icon {
  width: 100%; /* Ensure images are responsive */
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-vip-club__benefit-title,
.page-vip-club__tier-title,
.page-vip-club__step-title,
.page-vip-club__brand-item-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-vip-club__benefit-text,
.page-vip-club__tier-text,
.page-vip-club__step-text,
.page-vip-club__brand-item-text {
  font-size: 16px;
  line-height: 1.7;
  color: inherit;
}

/* Join Section Steps */
.page-vip-club__step-number {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-vip-club__step-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-vip-club__step-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* FAQ Section */
.page-vip-club__faq-list {
  margin-top: 40px;
}

.page-vip-club__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow-dark);
  background: var(--card-bg-dark);
  color: var(--text-light);
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  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 {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.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);
}

.page-vip-club__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none;
}

.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: 15px;
  pointer-events: none;
  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: var(--primary-color);
  transform: rotate(45deg); /* Change to X on active */
}

.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-light);
}

.page-vip-club__faq-item.active .page-vip-club__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
}

/* Blog Section */
.page-vip-club__blog-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-vip-club__blog-item-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-vip-club__blog-item-excerpt {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-vip-club__blog-item-date {
  font-size: 14px;
  color: #cccccc;
  display: block;
}

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

.page-vip-club__blog-item .page-vip-club__card {
  text-align: left;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-vip-club__blog-item .page-vip-club__card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-club__main-title {
    font-size: 40px;
  }
  .page-vip-club__section-title {
    font-size: 32px;
  }
  .page-vip-club__hero-description,
  .page-vip-club__section-description {
    font-size: 16px;
  }
  .page-vip-club__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-vip-club__video-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-vip-club__video-container {
    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-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-vip-club__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px;
    overflow: hidden !important;
  }
  
  .page-vip-club__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain;
  }
  
  .page-vip-club__video-cta {
    margin-top: 20px;
    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: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-vip-club__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }

  .page-vip-club__container {
    padding: 0 15px;
  }
  .page-vip-club__hero-section,
  .page-vip-club__benefits-section,
  .page-vip-club__tiers-section,
  .page-vip-club__join-section,
  .page-vip-club__faq-section,
  .page-vip-club__brand-section,
  .page-vip-club__blog-section {
    padding: 60px 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-vip-club__main-title {
    font-size: 32px;
  }
  .page-vip-club__section-title {
    font-size: 28px;
  }
  .page-vip-club__hero-description,
  .page-vip-club__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-vip-club__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-vip-club__cta-button {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-vip-club__benefits-grid,
  .page-vip-club__tiers-grid,
  .page-vip-club__steps-grid,
  .page-vip-club__brand-content,
  .page-vip-club__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-vip-club__benefit-icon,
  .page-vip-club__tier-icon,
  .page-vip-club__brand-icon,
  .page-vip-club__blog-thumbnail {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-vip-club__benefit-title,
  .page-vip-club__tier-title,
  .page-vip-club__step-title,
  .page-vip-club__brand-item-title {
    font-size: 20px;
  }
  .page-vip-club__benefit-text,
  .page-vip-club__tier-text,
  .page-vip-club__step-text,
  .page-vip-club__brand-item-text {
    font-size: 15px;
  }

  .page-vip-club__faq-question {
    padding: 15px;
    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: 20px;
  }
  .page-vip-club__faq-answer {
    padding: 0 15px;
  }
  .page-vip-club__faq-item.active .page-vip-club__faq-answer {
    padding: 15px !important;
  }

  .page-vip-club__blog-item-title {
    font-size: 18px;
  }
  .page-vip-club__blog-item-excerpt {
    font-size: 14px;
  }
}

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

/* Ensure all video elements are responsive */
.page-vip-club video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Global card styling for light background sections */
.page-vip-club__benefits-section .page-vip-club__card,
.page-vip-club__join-section .page-vip-club__card,
.page-vip-club__brand-section .page-vip-club__card {
  background-color: var(--text-light);
  color: var(--text-dark);
  box-shadow: 0 4px 15px var(--shadow-light);
  border: 1px solid var(--border-color);
}

/* Global card styling for dark background sections */
.page-vip-club__tiers-section .page-vip-club__card,
.page-vip-club__faq-section .page-vip-club__card,
.page-vip-club__blog-section .page-vip-club__card {
  background-color: var(--card-bg-dark);
  color: var(--text-light);
  box-shadow: 0 4px 15px var(--shadow-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Specific adjustment for FAQ item in dark section */
.page-vip-club__faq-item.active .page-vip-club__faq-answer {
  background: rgba(255, 255, 255, 0.05);
}

/* Specific adjustment for blog item link color */
.page-vip-club__blog-item-title {
  color: var(--secondary-color); /* Ensure title color is visible */
}

.page-vip-club__blog-item-excerpt,
.page-vip-club__blog-item-date {
  color: var(--text-light);
}

.page-vip-club__blog-link:hover .page-vip-club__blog-item-title {
  color: var(--primary-color);
}