/* style/vip-club.css */

/* Base styles for VIP Club page */
.page-vip-club {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
}

.page-vip-club__dark-bg {
  background-color: #0a0a0a; /* Matches body background */
  color: #ffffff;
}

.page-vip-club__light-bg {
  background-color: #1a1a1a; /* Slightly lighter than body for contrast on sections */
  color: #ffffff;
}

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

.page-vip-club__section {
  padding: 60px 0;
  text-align: center;
}

.page-vip-club__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.page-vip-club__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  padding: 10px 0 60px 0; /* body handles top offset, this is extra visual padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-vip-club__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-vip-club__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-vip-club__hero-title {
  font-size: clamp(32px, 5vw, 56px); /* H1 title size */
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-vip-club__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-club__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto; /* Default to auto, will be full width on mobile */
}

.page-vip-club__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-vip-club__btn-primary:hover {
  background-color: #1f8ac9;
  border-color: #1f8ac9;
}

.page-vip-club__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-vip-club__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Cards */
.page-vip-club__card {
  background-color: #1a1a1a; /* Darker card background for contrast */
  color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.page-vip-club__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-vip-club__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-vip-club__card-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-vip-club__card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.page-vip-club__card-list li {
  font-size: 15px;
  color: #e0e0e0;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-vip-club__card-list li::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
}

/* Tier Cards */
.page-vip-club__tiers .page-vip-club__text-block {
  margin-bottom: 40px;
}

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

.page-vip-club__tier-card {
  background-color: #1a1a1a;
  border: 1px solid rgba(38, 169, 224, 0.3);
}

/* Privilege Grid */
.page-vip-club__privilege-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-vip-club__privilege-item {
  background-color: #1a1a1a;
  border: 1px solid rgba(38, 169, 224, 0.3);
}

/* How to Join */
.page-vip-club__how-to-join .page-vip-club__text-block {
  margin-bottom: 40px;
}

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

.page-vip-club__step-item {
  background-color: #1a1a1a;
  border: 1px solid rgba(38, 169, 224, 0.3);
}

.page-vip-club__step-item a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 700;
}

.page-vip-club__step-item a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-vip-club__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-vip-club__faq-item {
  background-color: #1a1a1a;
  border: 1px solid rgba(38, 169, 224, 0.3);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #1a1a1a;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  list-style: none; /* For <summary> tag */
}

.page-vip-club__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for <summary> */
}

.page-vip-club__faq-question:hover {
  background-color: #2a2a2a;
}

.page-vip-club__faq-item[open] .page-vip-club__faq-question {
  border-bottom-color: rgba(38, 169, 224, 0.3);
}

.page-vip-club__faq-qtext {
  flex-grow: 1;
}

.page-vip-club__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  user-select: none;
}

.page-vip-club__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.6;
}

.page-vip-club__faq-answer p {
  margin-bottom: 10px;
}

/* Final CTA */
.page-vip-club__cta-final .page-vip-club__text-block {
  margin-bottom: 30px;
}

.page-vip-club__responsible-gaming {
  margin-top: 30px;
  font-size: 14px;
  color: #a0a0a0;
}

.page-vip-club__responsible-gaming a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-vip-club__responsible-gaming a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-vip-club__hero-title {
    font-size: clamp(30px, 4.5vw, 50px);
  }

  .page-vip-club__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
}

@media (max-width: 768px) {
  .page-vip-club__section {
    padding: 40px 0;
  }

  .page-vip-club__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

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

  .page-vip-club__hero-section {
    padding: 10px 0 40px 0;
  }

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

  .page-vip-club__hero-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .page-vip-club__hero-description {
    font-size: clamp(15px, 3.5vw, 18px);
  }

  .page-vip-club__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-vip-club__tier-cards,
  .page-vip-club__privilege-grid,
  .page-vip-club__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }

  .page-vip-club__card {
    padding: 25px;
  }

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

  .page-vip-club__card-description,
  .page-vip-club__card-list li {
    font-size: 14px;
  }

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

  .page-vip-club__faq-question {
    padding: 18px 20px;
    font-size: 16px;
  }

  .page-vip-club__faq-answer {
    padding: 0 20px 18px 20px;
    font-size: 14px;
  }

  /* Mobile 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,
  .page-vip-club__hero-image-wrapper,
  .page-vip-club__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px;
    padding-right: 15px; */
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-vip-club__hero-content {
    padding: 0 15px !important;
  }

  .page-vip-club__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-vip-club__hero-title {
    font-size: clamp(26px, 8vw, 36px);
  }

  .page-vip-club__section-title {
    font-size: clamp(22px, 7vw, 32px);
  }

  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    font-size: 15px;
    padding: 10px 15px;
  }
}