/* style/vip-club.css */

/* General 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 */
  background-color: transparent; /* Body background is handled by shared.css */
}

.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: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-vip-club__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFFFFF;
}

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

.page-vip-club__text-block .highlight {
  color: #FFFF00; /* Highlight color for keywords */
  font-weight: bold;
}

/* Color Contrast Fixes */
.page-vip-club__dark-bg {
  background-color: #017439; /* Primary brand color for dark sections */
  color: #ffffff;
}

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

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  padding-top: 10px; /* Small padding, body handles header offset */
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.page-vip-club__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 1; /* Image first */
}

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

.page-vip-club__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  order: 2; /* Content after image */
  max-width: 900px;
  margin-top: 20px; /* Space between image and text */
}

.page-vip-club__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive H1 font size */
  font-weight: 900;
  margin-bottom: 20px;
  color: #FFFF00; /* Use highlight color for main title */
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.page-vip-club__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.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: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-vip-club__btn-primary {
  background-color: #C30808; /* Custom Register/Login color */
  color: #FFFF00; /* Custom Register/Login font color */
  border: 2px solid #C30808;
}

.page-vip-club__btn-primary:hover {
  background-color: #e01b1b;
  transform: translateY(-2px);
}

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

.page-vip-club__btn-secondary:hover {
  background-color: #FFFF00;
  color: #017439;
  transform: translateY(-2px);
}

/* Benefits Section */
.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.08); /* Slightly transparent white for cards */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

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

.page-vip-club__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 200px; /* Ensure icon is not too large */
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-vip-club__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-vip-club__benefit-card p {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

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

.page-vip-club__tier-card {
  background-color: rgba(0, 0, 0, 0.3); /* Darker background for tier cards */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-vip-club__tier-badge {
  width: 100%;
  height: auto;
  max-width: 180px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 50%; /* Make badges round */
  object-fit: cover;
  border: 4px solid #FFFF00;
}

.page-vip-club__tier-card p {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* How to Join Section */
.page-vip-club__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-vip-club__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.page-vip-club__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #C30808; /* Custom Register/Login color */
  color: #FFFF00; /* Custom Register/Login font color */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #FFFF00;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.page-vip-club__step-card .page-vip-club__card-title {
  margin-top: 30px;
}

.page-vip-club__step-card p {
  color: #f0f0f0;
}

.page-vip-club__step-card a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-vip-club__step-card a:hover {
  color: #e01b1b;
}

.page-vip-club__cta-bottom {
  margin-top: 50px;
}

/* Sic Bo Offers Section */
.page-vip-club__sicbo-offer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-vip-club__sicbo-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-vip-club__sicbo-text p {
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-vip-club__sicbo-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-vip-club__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* 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: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFF00;
  list-style: none; /* For details/summary */
}

.page-vip-club__faq-question::-webkit-details-marker {
  display: none;
}

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

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

.page-vip-club__faq-answer {
  padding: 20px;
  font-size: 1.05em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-vip-club__faq-answer a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-vip-club__faq-answer a:hover {
  color: #e01b1b;
}

/* Final CTA Section */
.page-vip-club__cta-final {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-club__section-title {
    font-size: 2.2em;
  }
  .page-vip-club__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-vip-club__intro-text {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-vip-club__section {
    padding: 40px 0;
  }
  .page-vip-club__section-title {
    font-size: 1.8em;
  }
  .page-vip-club__sub-title {
    font-size: 1.5em;
  }
  .page-vip-club__text-block,
  .page-vip-club__intro-text,
  .page-vip-club__benefit-card p,
  .page-vip-club__tier-card p,
  .page-vip-club__step-card p,
  .page-vip-club__faq-answer p {
    font-size: 1em;
  }
  .page-vip-club__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important; /* Ensure H1 scales down on mobile */
  }
  .page-vip-club__hero-content {
    padding: 20px;
  }
  .page-vip-club__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: 1em;
  }

  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-vip-club__container,
  .page-vip-club__hero-section,
  .page-vip-club__section,
  .page-vip-club__benefit-card,
  .page-vip-club__tier-card,
  .page-vip-club__step-card,
  .page-vip-club__sicbo-offer-content,
  .page-vip-club__sicbo-text,
  .page-vip-club__sicbo-image,
  .page-vip-club__faq-list,
  .page-vip-club__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-vip-club__hero-section,
  .page-vip-club__introduction,
  .page-vip-club__benefits,
  .page-vip-club__tiers,
  .page-vip-club__how-to-join,
  .page-vip-club__sicbo-offers,
  .page-vip-club__faq,
  .page-vip-club__cta-final {
    padding-left: 0;
    padding-right: 0;
  }

  .page-vip-club__sicbo-offer-content {
    flex-direction: column;
    text-align: center;
  }
  .page-vip-club__sicbo-text,
  .page-vip-club__sicbo-image {
    max-width: 100%;
    width: 100%;
  }
  .page-vip-club__sicbo-text .page-vip-club__btn-primary {
    width: auto !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-vip-club__hero-image-wrapper {
    order: 1;
  }
  .page-vip-club__hero-content {
    order: 2;
  }
}

@media (max-width: 480px) {
  .page-vip-club__section-title {
    font-size: 1.5em;
  }
  .page-vip-club__main-title {
    font-size: clamp(1.5em, 8vw, 2em) !important;
  }
  .page-vip-club__card-title {
    font-size: 1.2em;
  }
  .page-vip-club__hero-section {
    min-height: 450px;
  }
}