/* style/vip-club.css */

/* Biến màu */
:root {
    --page-vip-club-primary-color: #26A9E0;
    --page-vip-club-secondary-color: #FFFFFF;
    --page-vip-club-dark-text: #333333;
    --page-vip-club-light-text: #FFFFFF;
    --page-vip-club-login-color: #EA7C07;
    --page-vip-club-background-color: #000000; /* Body background from shared.css */
}

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

/* Header offset for main content */
.page-vip-club__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset */
}

/* Hero Section */
.page-vip-club__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--page-vip-club-light-text);
}

.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);
    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.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-vip-club-secondary-color);
}

.page-vip-club__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: var(--page-vip-club-secondary-color);
}

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

/* Common Section Styles */
.page-vip-club__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

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

.page-vip-club__section-title {
    font-size: 2.5em;
    color: var(--page-vip-club-secondary-color);
    text-align: center;
    margin-bottom: 20px;
}

.page-vip-club__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-vip-club__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--page-vip-club-light-text);
}

/* Buttons */
.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

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

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

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

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

.page-vip-club__inline-link {
    color: var(--page-vip-club-primary-color);
    text-decoration: underline;
}

.page-vip-club__inline-link:hover {
    color: var(--page-vip-club-login-color);
}

/* Tiers Section */
.page-vip-club__tiers-section {
    padding: 80px 20px;
}

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

.page-vip-club__tier-card {
    background: rgba(255, 255, 255, 0.1);
    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 0.3s ease;
    color: var(--page-vip-club-light-text);
}

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

.page-vip-club__tier-title {
    font-size: 1.8em;
    color: var(--page-vip-club-secondary-color);
    margin-bottom: 15px;
}

.page-vip-club__tier-image {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid var(--page-vip-club-secondary-color);
    object-fit: cover;
}

.page-vip-club__tier-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-vip-club__tier-benefits li {
    font-size: 1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    text-align: left;
}

.page-vip-club__tier-benefits li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.page-vip-club__tier-condition {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Benefits Section */
.page-vip-club__benefits-section {
    padding: 80px 20px;
    background-color: var(--page-vip-club-background-color);
}

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

.page-vip-club__benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--page-vip-club-light-text);
}

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

.page-vip-club__benefit-icon {
    width: 100%; /* Ensure image fills card width */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-vip-club__benefit-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--page-vip-club-light-text);
}

.page-vip-club__cta-container {
    text-align: center;
    margin-top: 50px;
}

/* Join Section */
.page-vip-club__join-section {
    padding: 80px 20px;
}

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

.page-vip-club__step-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--page-vip-club-light-text);
}

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

.page-vip-club__step-title {
    font-size: 1.5em;
    color: var(--page-vip-club-secondary-color);
    margin-bottom: 15px;
}

.page-vip-club__step-text {
    font-size: 1em;
    line-height: 1.6;
}

/* FAQ Section */
.page-vip-club__faq-section {
    padding: 80px 20px;
    background-color: var(--page-vip-club-background-color);
}

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

.page-vip-club__faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.page-vip-club__faq-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.page-vip-club__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-vip-club-secondary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-vip-club__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1em;
}

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

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

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

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

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

/* Final CTA Section */
.page-vip-club__cta-section {
    padding: 80px 20px;
    text-align: center;
}

.page-vip-club__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-vip-club__cta-title {
    font-size: 2.8em;
    color: var(--page-vip-club-secondary-color);
    margin-bottom: 20px;
}

.page-vip-club__cta-description {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--page-vip-club-light-text);
}

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

@media (max-width: 768px) {
    .page-vip-club__hero-section {
        height: 500px;
    }
    .page-vip-club__hero-title {
        font-size: 2.2em;
    }
    .page-vip-club__hero-description {
        font-size: 1em;
    }
    .page-vip-club__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-vip-club__btn-primary,
    .page-vip-club__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-vip-club__content-area,
    .page-vip-club__tiers-section,
    .page-vip-club__benefits-section,
    .page-vip-club__join-section,
    .page-vip-club__faq-section,
    .page-vip-club__cta-section {
        padding: 40px 15px;
    }
    .page-vip-club__section-title,
    .page-vip-club__cta-title {
        font-size: 1.8em;
    }
    .page-vip-club__section-description,
    .page-vip-club__text-block,
    .page-vip-club__cta-description,
    .page-vip-club__benefit-text,
    .page-vip-club__step-text,
    .page-vip-club__faq-answer p {
        font-size: 0.95em;
    }
    .page-vip-club img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-vip-club__section,
    .page-vip-club__card,
    .page-vip-club__container,
    .page-vip-club__tiers-grid,
    .page-vip-club__benefits-grid,
    .page-vip-club__steps-grid,
    .page-vip-club__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }
    .page-vip-club__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-vip-club__faq-question {
        padding: 15px 20px;
    }
    .page-vip-club__faq-answer {
        padding: 0 20px;
    }
    .page-vip-club__faq-item.active .page-vip-club__faq-answer {
        padding: 15px 20px 20px 20px;
    }
    .page-vip-club__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-vip-club__hero-section {
        height: 400px;
    }
    .page-vip-club__hero-title {
        font-size: 1.8em;
    }
    .page-vip-club__hero-description {
        font-size: 0.9em;
    }
    .page-vip-club__section-title,
    .page-vip-club__cta-title {
        font-size: 1.5em;
    }
}