/* style/vip-club.css */

:root {
    --page-vip-club-primary-color: #017439;
    --page-vip-club-secondary-color: #FFFFFF;
    --page-vip-club-text-dark: #333333;
    --page-vip-club-text-light: #ffffff;
    --page-vip-club-bg-dark: #1a1a2e;
    --page-vip-club-bg-light: #f8f9fa;
    --page-vip-club-register-color: #C30808;
    --page-vip-club-login-color: #C30808;
    --page-vip-club-btn-text-color: #FFFF00;
}

.page-vip-club {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-vip-club-text-light); /* Based on body background #1a1a2e being dark */
    background-color: var(--page-vip-club-bg-dark); /* Ensure consistency if shared.css sets body bg */
}

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

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

.page-vip-club__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-vip-club-primary-color);
    border-radius: 2px;
}

.page-vip-club__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-vip-club__hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.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: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.page-vip-club__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: var(--page-vip-club-text-light);
}

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

.page-vip-club__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* General Buttons */
.page-vip-club__btn-primary,
.page-vip-club__btn-secondary,
.page-vip-club__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-vip-club__btn-primary {
    background-color: var(--page-vip-club-register-color); /* Custom color for register */
    color: var(--page-vip-club-btn-text-color); /* Custom color for register/login font */
    border: 2px solid var(--page-vip-club-register-color);
}

.page-vip-club__btn-primary:hover {
    background-color: darken(var(--page-vip-club-register-color), 10%);
    border-color: darken(var(--page-vip-club-register-color), 10%);
}

.page-vip-club__btn-secondary {
    background-color: transparent;
    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__btn-tertiary {
    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-tertiary:hover {
    background-color: darken(var(--page-vip-club-primary-color), 10%);
    border-color: darken(var(--page-vip-club-primary-color), 10%);
}

/* Section Backgrounds and Text Colors */
.page-vip-club__dark-bg {
    background-color: var(--page-vip-club-bg-dark);
    color: var(--page-vip-club-text-light);
}

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

.page-vip-club__light-bg .page-vip-club__section-title,
.page-vip-club__light-bg .page-vip-club__level-title,
.page-vip-club__light-bg .page-vip-club__step-title,
.page-vip-club__light-bg .page-vip-club__benefit-title {
    color: var(--page-vip-club-text-dark);
}

.page-vip-club__light-bg .page-vip-club__section-title::after {
    background-color: var(--page-vip-club-primary-color);
}

/* Intro Section */
.page-vip-club__intro-section {
    padding: 80px 0;
}

/* Levels Section */
.page-vip-club__levels-section {
    padding: 80px 0;
}

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

.page-vip-club__level-card {
    background-color: 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, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-vip-club__level-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

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

.page-vip-club__level-description {
    font-size: 1em;
    color: var(--page-vip-club-text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-vip-club__level-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
}

.page-vip-club__level-benefits li {
    margin-bottom: 8px;
    font-size: 0.95em;
    color: var(--page-vip-club-text-light);
}

.page-vip-club__level-benefits li::before {
    content: '✅';
    margin-right: 10px;
}

/* How To Join Section */
.page-vip-club__how-to-join-section {
    padding: 80px 0;
}

.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-card {
    background-color: var(--page-vip-club-secondary-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--page-vip-club-text-dark);
}

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

.page-vip-club__step-description {
    font-size: 1em;
    color: var(--page-vip-club-text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-vip-club__note {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin-top: 40px;
}

/* Exclusive Benefits Section */
.page-vip-club__exclusive-benefits-section {
    padding: 80px 0;
}

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

.page-vip-club__benefit-card {
    background-color: 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);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--page-vip-club-text-light);
}

.page-vip-club__benefit-icon {
    width: 200px; /* Min size */
    height: 150px; /* Min size */
    object-fit: contain;
    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-description {
    font-size: 1em;
    color: var(--page-vip-club-text-light);
}

/* Customer Service Section */
.page-vip-club__customer-service-section {
    padding: 80px 0;
}

.page-vip-club__customer-service-section .page-vip-club__text-block {
    color: var(--page-vip-club-text-dark);
}

.page-vip-club__customer-service-section .page-vip-club__cta-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* FAQ Section */
.page-vip-club__faq-section {
    padding: 80px 0;
}

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

.page-vip-club__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-vip-club__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-vip-club-text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.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, padding 0.3s ease;
    color: var(--page-vip-club-text-light);
}

.page-vip-club__faq-item.active .page-vip-club__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 15px 25px;
}

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

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

.page-vip-club__cta-section .page-vip-club__text-block {
    color: var(--page-vip-club-text-dark);
}

.page-vip-club__cta-section .page-vip-club__cta-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-vip-club__btn-register {
    background-color: var(--page-vip-club-register-color);
    border-color: var(--page-vip-club-register-color);
    color: var(--page-vip-club-btn-text-color);
}

.page-vip-club__btn-register:hover {
    background-color: darken(var(--page-vip-club-register-color), 10%);
    border-color: darken(var(--page-vip-club-register-color), 10%);
}

.page-vip-club__btn-login {
    background-color: var(--page-vip-club-login-color);
    border-color: var(--page-vip-club-login-color);
    color: var(--page-vip-club-btn-text-color);
}

.page-vip-club__btn-login:hover {
    background-color: darken(var(--page-vip-club-login-color), 10%);
    border-color: darken(var(--page-vip-club-login-color), 10%);
}

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

@media (max-width: 768px) {
    .page-vip-club__hero-section {
        height: 60vh;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-vip-club__hero-title {
        font-size: 2.2em;
    }
    .page-vip-club__hero-description {
        font-size: 1em;
    }
    .page-vip-club__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-vip-club__btn-primary,
    .page-vip-club__btn-secondary,
    .page-vip-club__btn-tertiary {
        padding: 12px 20px;
        font-size: 0.9em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-vip-club__section-title {
        font-size: 1.8em;
    }
    .page-vip-club__levels-grid,
    .page-vip-club__steps-grid,
    .page-vip-club__benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile image responsiveness */
    .page-vip-club img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-vip-club__level-image, .page-vip-club__benefit-icon {
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Mobile container responsiveness */
    .page-vip-club__section,
    .page-vip-club__card,
    .page-vip-club__container,
    .page-vip-club__hero-section,
    .page-vip-club__intro-section,
    .page-vip-club__levels-section,
    .page-vip-club__how-to-join-section,
    .page-vip-club__exclusive-benefits-section,
    .page-vip-club__customer-service-section,
    .page-vip-club__faq-section,
    .page-vip-club__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-vip-club__hero-buttons,
    .page-vip-club__cta-buttons {
        flex-wrap: wrap !important;
        gap: 15px;
    }
    .page-vip-club__text-block {
        font-size: 0.95em;
    }
    .page-vip-club__faq-question {
        font-size: 1em;
    }
    .page-vip-club__faq-answer {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-vip-club__hero-section {
        height: 50vh;
    }
    .page-vip-club__hero-title {
        font-size: 1.8em;
    }
    .page-vip-club__hero-description {
        font-size: 0.9em;
    }
    .page-vip-club__section-title {
        font-size: 1.5em;
    }
    .page-vip-club__level-title,
    .page-vip-club__step-title,
    .page-vip-club__benefit-title {
        font-size: 1.3em;
    }
    .page-vip-club__hero-buttons {
        flex-direction: column;
    }
    .page-vip-club__cta-buttons {
        flex-direction: column;
    }
}