/* style/vip-club.css */
.page-vip-club {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #1a1a2e; /* Inherited from shared.css, but explicitly set for clarity */
}

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

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

.page-vip-club__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-vip-club__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-vip-club__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Highlight title with yellow */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-vip-club__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* General Sections */
.page-vip-club__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-vip-club__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #ffffff;
}

.page-vip-club__highlight {
  color: #FFFF00;
  font-weight: bold;
}

.page-vip-club__link {
  color: #FFFF00;
  text-decoration: underline;
}

.page-vip-club__link:hover {
  color: #017439;
}

/* Buttons */
.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-vip-club__btn-primary {
  background-color: #C30808; /* Register button color */
  color: #FFFFFF; /* Forced white for contrast, overriding #FFFF00 */
  border: 2px solid #C30808;
}

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

.page-vip-club__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Login button text color */
  border: 2px solid #FFFF00;
}

.page-vip-club__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808; /* Text becomes red on hover for contrast */
}

/* Introduction Section */
.page-vip-club__introduction-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

/* Tiers Section */
.page-vip-club__tiers-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-vip-club__tier-card {
  background-color: rgba(255, 255, 255, 0.1);
  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;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-vip-club__tier-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-vip-club__tier-title {
  font-size: 1.8em;
  color: #FFFF00;
  margin-bottom: 15px;
}

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

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

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

.page-vip-club__tier-benefits li::before {
  content: '✔';
  color: #017439;
  position: absolute;
  left: 0;
}

/* Benefits Section */
.page-vip-club__benefits-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-vip-club__benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-vip-club__benefit-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-vip-club__benefit-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
}

/* Exclusive Games Section */
.page-vip-club__exclusive-games-section {
  padding: 60px 0;
}

.page-vip-club__game-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-vip-club__game-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #ffffff;
  position: relative;
  padding-left: 40px;
}

.page-vip-club__game-item::before {
  content: '★';
  color: #FFFF00;
  position: absolute;
  left: 15px;
  font-size: 1.2em;
  top: 50%;
  transform: translateY(-50%);
}

/* Support Section */
.page-vip-club__support-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-vip-club__support-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-vip-club__support-text {
  flex: 1;
}

.page-vip-club__support-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-vip-club__support-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-vip-club__support-channels {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-vip-club__support-channels li {
  background-color: rgba(1, 116, 57, 0.2);
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 10px;
  color: #ffffff;
  position: relative;
  padding-left: 35px;
}

.page-vip-club__support-channels li::before {
  content: '📞';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* How to Join Section */
.page-vip-club__how-to-join-section {
  padding: 60px 0;
}

.page-vip-club__join-steps {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-top: 40px;
}

.page-vip-club__join-steps li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px 25px 20px 60px;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  font-size: 1.1em;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-vip-club__join-steps li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #017439;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

/* Video Section */
.page-vip-club__video-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-vip-club__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 10px;
}

.page-vip-club__video,
.page-vip-club__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

.page-vip-club__video-link {
  z-index: 10;
}

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

/* FAQ Section */
.page-vip-club__faq-section {
  padding: 60px 0;
}

.page-vip-club__faq-list {
  margin-top: 40px;
}

.page-vip-club__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.2);
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-vip-club__faq-question:hover {
  background-color: rgba(1, 116, 57, 0.4);
}

.page-vip-club__faq-title {
  margin: 0;
  color: #FFFF00;
  font-size: 1.2em;
}

.page-vip-club__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFFF00;
}

.page-vip-club__faq-item.active .page-vip-club__faq-toggle {
  transform: rotate(45deg);
}

.page-vip-club__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

.page-vip-club__faq-item.active .page-vip-club__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px 25px;
}

/* CTA Section */
.page-vip-club__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-vip-club__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-club__hero-title {
    font-size: 2.8em;
  }
  .page-vip-club__section-title {
    font-size: 2em;
  }
  .page-vip-club__support-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-vip-club {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-vip-club__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure it's applied on mobile */
  }

  .page-vip-club__hero-title {
    font-size: 2.2em;
  }

  .page-vip-club__hero-description {
    font-size: 1em;
  }

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

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

  .page-vip-club__container,
  .page-vip-club__section,
  .page-vip-club__tier-card,
  .page-vip-club__benefit-card,
  .page-vip-club__game-item,
  .page-vip-club__support-text,
  .page-vip-club__support-image-wrapper,
  .page-vip-club__join-steps li,
  .page-vip-club__faq-item,
  .page-vip-club__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .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 {
    padding-top: var(--header-offset, 120px) !important; 
  }

  .page-vip-club__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
  }

  .page-vip-club__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-vip-club__faq-title {
    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;
  }
}