/* style/vip-club.css */

/* Base styles for the VIP Club page, using BEM naming and specified colors */
.page-vip-club {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background color */
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

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

/* Section titles */
.page-vip-club__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Use clamp for H1, but for other titles, fixed sizes are okay if not too large */
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Main brand color for titles */
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Text blocks */
.page-vip-club__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Links within text blocks */
.page-vip-club__text-block a {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: underline;
}

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

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-vip-club__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Match container width for consistency */
  margin-bottom: 40px;
}

.page-vip-club__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.4); /* Glow effect */
}

.page-vip-club__hero-content {
  text-align: center;
  max-width: 900px;
}

.page-vip-club__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* H1 font size with clamp */
  font-weight: 800;
  color: #FFD36B; /* Auxiliary color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-vip-club__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6; /* Main text color */
}

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

.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  max-width: 100%; /* Important for mobile responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

.page-vip-club__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-vip-club__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-vip-club__btn-secondary {
  background-color: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.2);
}

.page-vip-club__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.4);
}

/* About Section */
.page-vip-club__about-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Use background color from config */
}

.page-vip-club__dark-section {
  background-color: #0A0A0A; /* Explicitly set for dark sections */
  color: #FFF6D6; /* Ensure light text on dark background */
}

/* Tiers Section */
.page-vip-club__tiers-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-vip-club__tier-card {
  background-color: #111111; /* Card background color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-vip-club__tier-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(242, 193, 78, 0.3);
}

.page-vip-club__tier-image {
  width: 100%;
  max-width: 200px; /* Constrain image size within card */
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 150px; /* Maintain aspect ratio roughly while enforcing min width */
  object-fit: contain;
}

.page-vip-club__tier-title {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary color for tier titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-vip-club__tier-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  color: #FFF6D6; /* Main text color */
}

.page-vip-club__tier-benefits li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-vip-club__tier-benefits li::before {
  content: '✔'; /* Checkmark icon */
  color: #F2C14E; /* Main brand color for checkmark */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* Rewards Section */
.page-vip-club__rewards-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-vip-club__reward-item {
  background-color: #111111; /* Card background color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-vip-club__reward-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.2);
}

.page-vip-club__reward-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color for reward titles */
  margin-bottom: 10px;
  font-weight: 600;
  text-align: center;
}

.page-vip-club__reward-description {
  color: #FFF6D6; /* Main text color */
  text-align: center;
}

/* How to Join Section */
.page-vip-club__join-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-vip-club__step-item {
  background-color: #111111; /* Card background color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-vip-club__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.4);
}

.page-vip-club__step-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main brand color for step titles */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-vip-club__step-description {
  color: #FFF6D6; /* Main text color */
}

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

/* FAQ Section */
.page-vip-club__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-vip-club__faq-item {
  background-color: #111111; /* Card background color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111;
  color: #F2C14E; /* Main brand color for question */
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-vip-club__faq-question:hover {
  background-color: #1a1a1a;
}

.page-vip-club__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: inherit;
}

.page-vip-club__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for toggle */
  transition: transform 0.3s ease;
}

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

.page-vip-club__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #1a1a1a; /* Slightly lighter background for answer */
  color: #FFF6D6; /* Main text color */
}

.page-vip-club__faq-item.active .page-vip-club__faq-answer {
  max-height: 1000px !important; /* Use !important for override */
  padding: 15px 25px 25px 25px;
}

.page-vip-club__faq-answer p {
  margin: 0;
  font-size: 1.1em;
  color: #FFF6D6;
}

/* Final CTA Section */
.page-vip-club__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A0A0A;
}

.page-vip-club__cta-final-section .page-vip-club__section-title {
  margin-bottom: 20px;
}

.page-vip-club__cta-final-section .page-vip-club__text-block {
  margin-bottom: 40px;
}

.page-vip-club__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
  min-width: 280px;
}

.page-vip-club__login-prompt {
  margin-top: 30px;
  font-size: 1.1em;
  color: #FFF6D6;
}

.page-vip-club__login-link {
  color: #F2C14E;
  text-decoration: underline;
}

.page-vip-club__login-link:hover {
  color: #FFD36B;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-vip-club__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-vip-club__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }
  .page-vip-club__hero-description {
    font-size: 1.1em;
  }
}

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

  .page-vip-club__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Fixed header spacing */
  }

  .page-vip-club__hero-image-wrapper {
    margin-bottom: 30px;
  }

  .page-vip-club__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

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

  .page-vip-club__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    width: 100% !important; /* Ensure container takes full width */
    padding: 0 15px;
  }
  
  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-vip-club__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 30px;
  }

  .page-vip-club__text-block {
    font-size: 1em;
  }

  .page-vip-club__tiers-grid,
  .page-vip-club__rewards-grid,
  .page-vip-club__join-steps {
    grid-template-columns: 1fr; /* Single column layout for grids */
    gap: 20px;
  }

  .page-vip-club__tier-card,
  .page-vip-club__reward-item,
  .page-vip-club__step-item,
  .page-vip-club__faq-item {
    padding: 20px;
  }

  .page-vip-club__tier-title,
  .page-vip-club__reward-title,
  .page-vip-club__step-title {
    font-size: 1.4em;
  }

  .page-vip-club__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-vip-club__faq-answer {
    padding: 0 20px;
  }

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

  .page-vip-club__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
    min-width: unset;
    width: 100%;
  }

  /* Image responsiveness */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }
}

@media (max-width: 480px) {
  .page-vip-club__main-title {
    font-size: clamp(1.5em, 7vw, 2.2em);
  }
  .page-vip-club__section-title {
    font-size: clamp(1.3em, 6vw, 1.8em);
  }
}

/* Ensure no filter property for images */
.page-vip-club img {
  filter: none !important; /* Explicitly ensure no filter */
}

/* Specific CSS for images in content area to meet minimum size requirement */
.page-vip-club__tier-image {
  min-width: 200px;
  min-height: 150px; /* Maintain aspect ratio roughly while enforcing min width */
  object-fit: contain; 
}

/* Override for general content images to ensure min size */
.page-vip-club__container img:not(.page-vip-club__tier-image):not(.page-vip-club__hero-image) { 
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}