/* style/vip-program.css */

/* General page styling */
.page-vip-program {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css (#000) */
}

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

.page-vip-program__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #ffc107; /* Auxiliary color for main titles */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-vip-program__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-vip-program__text-block a {
    color: #007bff; /* Primary color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-vip-program__text-block a:hover {
    text-decoration: underline;
    color: #ffc107; /* Auxiliary color on hover */
}

/* Hero Section */
.page-vip-program__hero-section {
    position: relative;
    padding-top: 0; /* Assuming shared.css handles body padding-top for header offset */
    padding-bottom: 60px; /* Adjust as needed */
    background: linear-gradient(135deg, #007bff, #0056b3); /* Dark blue gradient */
    overflow: hidden;
}

.page-vip-program__hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.page-vip-program__hero-content {
    flex: 1;
    padding-right: 40px;
    color: #ffffff;
}

.page-vip-program__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffc107; /* Gold color for emphasis */
}

.page-vip-program__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-vip-program__hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-vip-program__btn-primary,
.page-vip-program__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-vip-program__btn-primary {
    background-color: #ffc107; /* Auxiliary color */
    color: #000000; /* Dark text for contrast */
    border: 2px solid #ffc107;
}

.page-vip-program__btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-vip-program__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffc107;
    border-color: #ffc107;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-vip-program__hero-image {
    flex: 1;
    text-align: right;
}

.page-vip-program__hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
    width: 600px; /* Display width for hero image */
    height: 338px; /* Maintain aspect ratio (16:9) */
    object-fit: cover;
}

/* Introduction Section */
.page-vip-program__introduction-section {
    padding: 60px 0;
    background-color: #0d0d0d; /* Slightly lighter dark for contrast */
}

/* Levels Section */
.page-vip-program__levels-section {
    padding: 80px 0;
    background-color: #000; /* Darker background for contrast */
    color: #f0f0f0;
}

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

.page-vip-program__level-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-vip-program__level-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-vip-program__level-title {
    font-size: 28px;
    font-weight: bold;
    color: #ffc107; /* Gold color */
    margin-bottom: 15px;
}

.page-vip-program__level-description {
    font-size: 15px;
    margin-bottom: 20px;
    color: #cccccc;
}

.page-vip-program__level-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: 15px;
    color: #e0e0e0;
}

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

.page-vip-program__level-benefits li::before {
    content: '✓';
    color: #007bff; /* Primary blue checkmark */
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-vip-program__image-container {
    text-align: center;
    margin-top: 40px;
}

.page-vip-program__image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
    width: 800px; /* Display width */
    height: 600px; /* Display height */
    object-fit: cover;
}

/* Benefits Section */
.page-vip-program__benefits-section {
    padding: 80px 0;
    background-color: #0d0d0d;
}

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

.page-vip-program__benefit-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-vip-program__benefit-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-vip-program__benefit-title {
    font-size: 22px;
    font-weight: bold;
    color: #007bff; /* Primary color */
    margin-bottom: 15px;
}

.page-vip-program__benefit-description {
    font-size: 15px;
    color: #cccccc;
}

.page-vip-program__benefit-description a {
    color: #ffc107; /* Auxiliary color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-vip-program__benefit-description a:hover {
    text-decoration: underline;
    color: #e0a800;
}

/* How to Join Section */
.page-vip-program__how-to-join-section {
    padding: 80px 0;
    background-color: #000;
    color: #f0f0f0;
}

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

.page-vip-program__steps-list li {
    counter-increment: step-counter;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-left: 50px;
    color: #e0e0e0;
}

.page-vip-program__steps-list li strong {
    color: #ffc107; /* Gold for emphasis */
}

.page-vip-program__steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background-color: #007bff; /* Primary blue for step number */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.page-vip-program__steps-list li a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

.page-vip-program__steps-list li a:hover {
    text-decoration: underline;
    color: #e0a800;
}

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

/* Terms & Conditions Section */
.page-vip-program__terms-section {
    padding: 60px 0;
    background-color: #0d0d0d;
}

.page-vip-program__terms-list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 30px;
    color: #cccccc;
    font-size: 15px;
}

.page-vip-program__terms-list li {
    margin-bottom: 10px;
}

.page-vip-program__terms-list li a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-vip-program__terms-list li a:hover {
    text-decoration: underline;
    color: #ffc107;
}

/* FAQ Section */
.page-vip-program__faq-section {
    padding: 80px 0;
    background-color: #000;
    color: #f0f0f0;
}

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

/* FAQ容器样式 */
.page-vip-program__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-vip-program__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
  padding: 0 15px;
  opacity: 0;
  color: #cccccc; /* Light text for FAQ answer */
}

/* FAQ展开状态 - 🚨 使用!important và đủ lớn max-height để đảm bảo có thể mở rộng */
.page-vip-program__faq-item.active .page-vip-program__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng !important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 25px !important; /* Tăng padding nhẹ */
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Nền hơi sáng hơn cho câu trả lời */
  border-radius: 0 0 5px 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Question style */
.page-vip-program__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Tăng padding nhẹ */
  background: rgba(255, 255, 255, 0.1); /* Màu trắng bán trong suốt trên nền tối */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-vip-program__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-vip-program__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

/* Question title style */
.page-vip-program__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px; /* Font lớn hơn một chút */
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Ngăn thẻ h3 chặn sự kiện click */
  color: #ffffff; /* Chữ trắng cho câu hỏi */
}

/* Toggle icon */
.page-vip-program__faq-toggle {
  font-size: 28px; /* Icon lớn hơn */
  font-weight: bold;
  line-height: 1;
  color: #ffc107; /* Màu vàng cho toggle */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Ngăn icon chặn sự kiện click */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; /* Vùng toggle lớn hơn */
  height: 32px;
}

.page-vip-program__faq-item.active .page-vip-program__faq-toggle {
  color: #007bff; /* Màu xanh chính khi active */
  transform: rotate(45deg); /* Xoay để tạo hiệu ứng dấu trừ */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-vip-program__hero-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .page-vip-program__hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    .page-vip-program__hero-image {
        text-align: center;
    }
    .page-vip-program__hero-image img {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
    .page-vip-program__hero-title {
        font-size: 40px;
    }
    .page-vip-program__hero-description {
        font-size: 16px;
    }
    .page-vip-program__section-title {
        font-size: 30px;
    }
    .page-vip-program__levels-grid,
    .page-vip-program__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .page-vip-program__image-container img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-vip-program__container {
        padding: 30px 15px;
    }
    .page-vip-program__hero-section {
        padding-bottom: 40px;
    }
    .page-vip-program__hero-container {
        padding: 20px 15px;
    }
    .page-vip-program__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-vip-program__hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-vip-program__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-vip-program__btn-primary,
    .page-vip-program__btn-secondary {
        padding: 12px 20px;
        font-size: 16px;
        width: 100% !important; /* Mobile button full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-vip-program__introduction-section,
    .page-vip-program__levels-section,
    .page-vip-program__benefits-section,
    .page-vip-program__how-to-join-section,
    .page-vip-program__terms-section,
    .page-vip-program__faq-section {
        padding: 40px 0;
    }
    .page-vip-program__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-vip-program__text-block {
        font-size: 14px;
    }
    .page-vip-program__levels-grid,
    .page-vip-program__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-vip-program__level-card,
    .page-vip-program__benefit-card {
        padding: 25px;
    }
    .page-vip-program__level-title {
        font-size: 24px;
    }
    .page-vip-program__benefit-title {
        font-size: 20px;
    }
    .page-vip-program__steps-list li {
        font-size: 16px;
        padding-left: 45px;
    }
    .page-vip-program__steps-list li::before {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
    .page-vip-program__faq-question {
        padding: 15px 20px;
    }
    .page-vip-program__faq-question h3 {
        font-size: 16px;
    }
    .page-vip-program__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-vip-program__faq-item.active .page-vip-program__faq-answer {
        padding: 15px 20px !important;
    }

    /* Mobile image responsiveness */
    .page-vip-program img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-vip-program__container,
    .page-vip-program__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-vip-program__hero-buttons,
    .page-vip-program__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}