/* style/vip-program.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFCC00;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-dark: #0a0a0a;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
}

.page-vip-program {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Body background is dark, so text should be light */
    background-color: var(--background-dark);
}

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

.page-vip-program__section-title {
    font-size: 38px;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
}

.page-vip-program__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--text-color-light);
}

/* Hero Section */
.page-vip-program__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #001a33 100%);
    overflow: hidden;
    text-align: center;
}

.page-vip-program__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-vip-program__main-title {
    font-size: 52px;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.page-vip-program__hero-description {
    font-size: 22px;
    color: var(--text-color-light);
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-vip-program__cta-button {
    display: inline-block;
    padding: 18px 45px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.page-vip-program__cta-button--primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-vip-program__cta-button--primary:hover {
    background-color: #e6b800; /* Darker gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-vip-program__cta-button--secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-vip-program__cta-button--secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-vip-program__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    overflow: hidden;
}

.page-vip-program__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

/* Overview Section */
.page-vip-program__overview-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

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

.page-vip-program__info-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-vip-program__info-card-title {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-program__info-card p {
    font-size: 16px;
    color: var(--text-color-light);
}

/* Levels Section */
.page-vip-program__levels-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-color-light);
}

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

.page-vip-program__level-card {
    background-color: var(--primary-color);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-vip-program__level-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-vip-program__level-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.page-vip-program__level-title {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-program__level-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
    width: 100%;
    max-width: 250px;
}

.page-vip-program__level-benefits li {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-color-light);
    padding-left: 25px;
    position: relative;
}

.page-vip-program__level-benefits li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.page-vip-program__cta-button--small {
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 8px;
    margin-top: auto; /* Push button to bottom */
}

/* Exclusive Privileges Section */
.page-vip-program__exclusive-privileges-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

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

.page-vip-program__privilege-item {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-vip-program__privilege-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-vip-program__privilege-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid var(--secondary-color);
}

.page-vip-program__privilege-title {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-program__privilege-item p {
    font-size: 16px;
    color: var(--text-color-light);
}

/* Upgrade Section */
.page-vip-program__upgrade-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-color-light);
}

.page-vip-program__upgrade-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.page-vip-program__step-item {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-vip-program__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-vip-program__step-icon {
    font-size: 48px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-vip-program__step-title {
    font-size: 22px;
    color: var(--text-color-light);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-program__step-item p {
    font-size: 16px;
    color: var(--text-color-light);
}

.page-vip-program__step-item a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-vip-program__step-item a:hover {
    color: #e6b800;
}

.page-vip-program__upgrade-image-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-vip-program__upgrade-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--secondary-color);
}

/* Terms Section */
.page-vip-program__terms-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-vip-program__terms-list {
    list-style: disc;
    margin: 50px auto;
    max-width: 900px;
    padding-left: 40px;
    font-size: 17px;
    color: var(--text-color-light);
}

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

/* FAQ Section */
.page-vip-program__faq-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-color-light);
}

.page-vip-program__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

/* FAQ容器样式 */
.page-vip-program__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 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;
    padding: 0 20px;
    opacity: 0;
    color: var(--text-color-light);
}

/* FAQ展开状态 - 🚨 Sử dụng !important và max-height đủ lớn để đảm bảo nó 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 !important;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0 0 5px 5px;
}

/* Question style */
.page-vip-program__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--primary-color);
    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: #00264d; /* Slightly darker primary color */
}

.page-vip-program__faq-question:active {
    background: #001a33;
}