/* style/vip-club.css */

/* Biến màu */
:root {
  --page-vip-club-primary-color: #003366;
  --page-vip-club-secondary-color: #FFCC00;
  --page-vip-club-text-dark: #333333;
  --page-vip-club-text-light: #ffffff;
  --page-vip-club-background-light: #f8f8f8;
  --page-vip-club-background-dark: #002244; /* Slightly darker than primary for contrast */
}

.page-vip-club {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-vip-club-text-dark); /* Default text color for light backgrounds */
  background-color: var(--page-vip-club-background-light);
}

.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.5em;
  color: var(--page-vip-club-primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-vip-club__section-description {
  font-size: 1.1em;
  color: var(--page-vip-club-text-dark);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Color contrast specific styles */
.page-vip-club__dark-bg {
  background-color: var(--page-vip-club-primary-color);
  color: var(--page-vip-club-text-light);
}

.page-vip-club__dark-bg .page-vip-club__section-title,
.page-vip-club__dark-bg .page-vip-club__section-description,
.page-vip-club__dark-bg .page-vip-club__privilege-title,
.page-vip-club__dark-bg .page-vip-club__privilege-text,
.page-vip-club__dark-bg .page-vip-club__video-cta-button {
  color: var(--page-vip-club-text-light);
}

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

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  height: 700px; /* Increased height for visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.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); /* Dark overlay for text readability */
  z-index: 2;
}

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

.page-vip-club__hero-title {
  font-size: 3.8em;
  color: var(--page-vip-club-secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-vip-club__hero-description {
  font-size: 1.4em;
  color: var(--page-vip-club-text-light);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-club__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-vip-club__btn-primary {
  background-color: var(--page-vip-club-secondary-color);
  color: var(--page-vip-club-primary-color);
  border-color: var(--page-vip-club-secondary-color);
}

.page-vip-club__btn-primary:hover {
  background-color: #e6b800; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-vip-club__btn-secondary {
  background-color: transparent;
  color: var(--page-vip-club-secondary-color);
  border-color: var(--page-vip-club-secondary-color);
}

.page-vip-club__btn-secondary:hover {
  background-color: var(--page-vip-club-secondary-color);
  color: var(--page-vip-club-primary-color);
  transform: translateY(-2px);
}

/* Tiers Section */
.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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 450px; /* Ensure cards have similar height */
}

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

.page-vip-club__tier-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-vip-club__tier-name {
  font-size: 1.8em;
  color: var(--page-vip-club-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-vip-club__tier-description {
  font-size: 1em;
  color: var(--page-vip-club-text-dark);
  flex-grow: 1;
}

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

.page-vip-club__privilege-item {
  background-color: var(--page-vip-club-background-dark);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 380px; /* Ensure consistent height */
}

.page-vip-club__privilege-item:hover {
  transform: translateY(-5px);
  background-color: #004488; /* Slightly lighter dark blue on hover */
}

.page-vip-club__privilege-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-vip-club__privilege-title {
  font-size: 1.5em;
  color: var(--page-vip-club-secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-vip-club__privilege-text {
  font-size: 1em;
  color: var(--page-vip-club-text-light);
}

/* How to Join Section */
.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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-vip-club__step-number {
  width: 60px;
  height: 60px;
  background-color: var(--page-vip-club-secondary-color);
  color: var(--page-vip-club-primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-vip-club__step-title {
  font-size: 1.6em;
  color: var(--page-vip-club-primary-color);
  margin-bottom: 10px;
}

.page-vip-club__step-text {
  font-size: 1em;
  color: var(--page-vip-club-text-dark);
}

.page-vip-club__join-now-button {
  margin-top: 40px;
}

/* Video Section */
.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: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-vip-club__video-cta-button {
  margin-top: 30px;
}

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

.page-vip-club__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: var(--page-vip-club-background-light);
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-vip-club__faq-title {
  font-size: 1.2em;
  color: var(--page-vip-club-primary-color);
  margin: 0;
  font-weight: bold;
}

.page-vip-club__faq-toggle {
  font-size: 1.8em;
  color: var(--page-vip-club-secondary-color);
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-vip-club__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--page-vip-club-text-dark);
}

.page-vip-club__faq-item.active .page-vip-club__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
  padding-top: 0;
}

.page-vip-club__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.6;
}

/* Final CTA */
.page-vip-club__final-cta-content {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-club__hero-title {
    font-size: 3em;
  }

  .page-vip-club__section-title {
    font-size: 2em;
  }

  .page-vip-club__hero-section {
    height: 600px;
  }
}