/* style/vip-club.css */

/* Body background color is handled by shared.css var(--background-color) */
/* Assuming body is dark background based on custom colors, so default text color is light */
.page-vip-club {
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #08160F; /* Background */
}

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

.page-vip-club__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
  overflow: hidden;
  color: #F2FFF6;
  text-align: center;
  padding: 0;
}

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

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

.page-vip-club__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  max-width: 900px;
  box-sizing: border-box;
}

.page-vip-club__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
}

.page-vip-club__lead-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-vip-club__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-vip-club__cta-buttons--center {
  justify-content: center;
  text-align: center;
}

.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;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

.page-vip-club__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-vip-club__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-vip-club__btn-secondary:hover {
  background: #2AD16F;
  color: #ffffff;
}

.page-vip-club__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #F2C14E; /* Gold */
}

.page-vip-club__introduction-section,
.page-vip-club__how-to-join-section,
.page-vip-club__faq-section {
  padding: 60px 0;
}

.page-vip-club__privileges-section,
.page-vip-club__tiers-section,
.page-vip-club__conclusion-section {
  padding: 60px 0;
}

.page-vip-club__light-bg {
  background-color: #F2FFF6; /* Text Main as light background */
  color: #333333; /* Dark text for light background */
}

.page-vip-club__dark-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-vip-club__light-bg .page-vip-club__section-title {
  color: #11A84E; /* Main color for titles on light background */
}

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

.page-vip-club__privilege-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F2FFF6;
}

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

.page-vip-club__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-vip-club__numbered-list {
  list-style: none;
  counter-reset: item;
  padding: 0;
  margin: 30px 0;
}

.page-vip-club__numbered-list li {
  counter-increment: item;
  margin-bottom: 15px;
  padding-left: 40px;
  position: relative;
  font-size: 1.1rem;
}

.page-vip-club__numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #11A84E;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

.page-vip-club__tiers-table {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-vip-club__table-header,
.page-vip-club__table-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 2fr;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-vip-club__table-header {
  background-color: #0A4B2C; /* Deep Green */
  font-weight: bold;
  color: #F2C14E; /* Gold */
}

.page-vip-club__table-row:nth-child(even) {
  background-color: #11271B; /* Card BG */
}

.page-vip-club__table-row:nth-child(odd) {
  background-color: #08160F; /* Background */
}

.page-vip-club__table-cell {
  padding: 15px 20px;
  border-right: 1px solid #1E3A2A; /* Divider */
}

.page-vip-club__table-cell:last-child {
  border-right: none;
}

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

.page-vip-club__faq-item {
  background-color: #ffffff; /* Light background for FAQ items */
  color: #333333;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #11A84E; /* Main color for question */
  background-color: #F2FFF6; /* Text Main as light background */
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For <details> summary */
}

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

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

.page-vip-club__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  width: 24px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #11A84E;
}

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

.page-vip-club__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 1rem;
  color: #333333;
}

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

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

.page-vip-club__conclusion-section p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-vip-club__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-vip-club__privilege-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-vip-club__table-header,
  .page-vip-club__table-row {
    grid-template-columns: 1fr 1.2fr 1.8fr; /* Adjust for smaller screens */
  }
}

@media (max-width: 768px) {
  .page-vip-club__container {
    padding: 15px;
  }

  .page-vip-club__hero-content {
    padding: 30px 15px;
  }

  .page-vip-club__main-title {
    font-size: 2.2rem;
  }

  .page-vip-club__lead-text {
    font-size: 1rem;
  }

  .page-vip-club__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

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

  .page-vip-club__introduction-section,
  .page-vip-club__privileges-section,
  .page-vip-club__how-to-join-section,
  .page-vip-club__tiers-section,
  .page-vip-club__faq-section,
  .page-vip-club__conclusion-section {
    padding: 40px 0;
  }

  .page-vip-club__privilege-grid {
    grid-template-columns: 1fr;
  }

  .page-vip-club__table-header,
  .page-vip-club__table-row {
    grid-template-columns: 1fr 1fr; /* Stack columns for better readability */
    border-bottom: none;
    margin-bottom: 15px;
    display: block;
    background-color: #11271B; /* Ensure background for stacked rows */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }

  .page-vip-club__table-header {
    display: none; /* Hide header on mobile */
  }

  .page-vip-club__table-cell {
    border-right: none;
    border-bottom: 1px solid #1E3A2A; /* Divider for stacked cells */
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .page-vip-club__table-cell:first-child {
    font-weight: bold;
    color: #F2C14E; /* Gold for category */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #0A4B2C;
  }

  .page-vip-club__table-cell:nth-child(2)::before {
    content: 'Yêu cầu: ';
    font-weight: normal;
    color: #A7D9B8;
  }

  .page-vip-club__table-cell:nth-child(3)::before {
    content: 'Lợi ích: ';
    font-weight: normal;
    color: #A7D9B8;
  }

  .page-vip-club__table-cell:last-child {
    border-bottom: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .page-vip-club__image,
  .page-vip-club__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  .page-vip-club__introduction-section,
  .page-vip-club__privileges-section,
  .page-vip-club__how-to-join-section,
  .page-vip-club__tiers-section,
  .page-vip-club__faq-section,
  .page-vip-club__conclusion-section {
    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 {
    padding-left: 0;
    padding-right: 0;
  }

  .page-vip-club__hero-content {
    max-width: calc(100% - 30px);
  }
}