/* style/vip-club.css */

/* Base styles for the VIP Club page */
.page-vip-club {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f8f9fa; /* Light text for a dark background */
    background-color: transparent; /* Inherit from body, which is var(--dark-bg) */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-vip-club__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-vip-club__section-text {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f8f9fa; /* Light text */
}

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

.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); /* Dark overlay for text readability */
    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;
    color: #FFFFFF;
    font-weight: bold;
}

.page-vip-club__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

/* Buttons */
.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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-vip-club__btn-primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-vip-club__btn-primary:hover {
    background-color: #1a7fb3;
    border-color: #1a7fb3;
}

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

.page-vip-club__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* About Section */
.page-vip-club__about-section {
    padding: 80px 0;
    background-color: var(--dark-bg); /* Inherit from body for dark theme */
    color: #f8f9fa; /* Light text */
}

.page-vip-club__why-join {
    margin-top: 60px;
    text-align: center;
}

.page-vip-club__why-join-title {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 30px;
}

.page-vip-club__why-join-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.page-vip-club__why-join-list li {
    font-size: 1.1em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #f0f0f0;
}

.page-vip-club__list-icon {
    font-size: 1.5em;
    margin-right: 15px;
    color: #26A9E0; /* Primary color for icons */
}

/* Tiers Section */
.page-vip-club__tiers-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

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

.page-vip-club__tier-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 550px; /* Ensure cards have similar height */
}

.page-vip-club__tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.page-vip-club__tier-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    object-fit: cover;
    min-height: 200px; /* Ensure image isn't too small */
}

.page-vip-club__tier-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-club__tier-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1; /* Allows description to take available space */
}

.page-vip-club__tier-benefits {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: auto; /* Pushes benefits to the bottom */
}

.page-vip-club__tier-benefits li {
    font-size: 0.95em;
    color: #333333;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.page-vip-club__tier-benefits li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #26A9E0;
}

/* Benefits Section */
.page-vip-club__benefits-section {
    padding: 80px 0;
    background-color: var(--dark-bg); /* Dark background */
    color: #f8f9fa; /* Light text */
}

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

.page-vip-club__benefit-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark bg */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    min-height: 350px; /* Ensure consistent height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

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

.page-vip-club__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 25px;
    border-radius: 50%; /* Make icons round */
    border: 2px solid #26A9E0; /* Accent border */
    padding: 10px;
    background-color: #FFFFFF; /* White background for icons */
}

.page-vip-club__benefit-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-club__benefit-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* How to Join Section */
.page-vip-club__how-to-join-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background */
    color: #333333; /* Dark text */
}

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

.page-vip-club__step-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 450px; /* Consistent height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-vip-club__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.page-vip-club__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    object-fit: cover;
    min-height: 200px; /* Ensure image isn't too small */
}

.page-vip-club__step-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-club__step-description {
    font-size: 1em;
    color: #555555;
}

.page-vip-club__step-description a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-vip-club__step-description a:hover {
    text-decoration: underline;
}

.page-vip-club__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

/* FAQ Section */
.page-vip-club__faq-section {
    padding: 80px 0;
    background-color: var(--dark-bg); /* Dark background */
    color: #f8f9fa; /* Light text */
}

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

.page-vip-club__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-vip-club__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

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

.page-vip-club__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #FFFFFF;
    font-weight: bold;
}

.page-vip-club__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-vip-club__faq-item.active .page-vip-club__faq-toggle {
    transform: rotate(45deg); /* Plus to X/Minus */
}

.page-vip-club__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

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

.page-vip-club__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #f0f0f0;
}

/* Call to Action Section */
.page-vip-club__cta-section {
    padding: 80px 0;
    background-color: var(--dark-bg); /* Dark background */
    color: #f8f9fa; /* Light text */
    text-align: center;
}

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

/* Dark/Light background helpers for intelligent contrast */
.page-vip-club__dark-section {
    color: #ffffff;
    background-color: var(--dark-bg);
}

.page-vip-club__light-bg {
    color: #333333;
    background-color: #ffffff;
}

/* 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 {
        font-size: 2em;
    }
    .page-vip-club__tier-card {
        min-height: 500px;
    }
    .page-vip-club__benefit-item {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .page-vip-club {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-vip-club__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Fixed header offset for mobile */
    .page-vip-club__hero-section {
        height: auto;
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Apply header offset */
    }

    .page-vip-club__hero-title {
        font-size: 2.2em;
    }
    .page-vip-club__hero-description {
        font-size: 1em;
    }
    .page-vip-club__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-vip-club__btn-primary,
    .page-vip-club__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-vip-club__section-title {
        font-size: 1.8em;
    }
    .page-vip-club__section-text {
        font-size: 1em;
    }

    .page-vip-club__tier-card,
    .page-vip-club__benefit-item,
    .page-vip-club__step-card {
        min-height: auto; /* Allow height to adjust */
        padding: 20px;
    }

    /* Images responsiveness for mobile */
    .page-vip-club img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .page-vip-club__hero-image {
        position: absolute; /* Keep absolute for hero */
        width: 100% !important;
        height: 100% !important;
    }

    /* Specific container padding for mobile */
    .page-vip-club__about-section .page-vip-club__container,
    .page-vip-club__tiers-section .page-vip-club__container,
    .page-vip-club__benefits-section .page-vip-club__container,
    .page-vip-club__how-to-join-section .page-vip-club__container,
    .page-vip-club__faq-section .page-vip-club__container,
    .page-vip-club__cta-section .page-vip-club__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .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;
    }
}

@media (max-width: 480px) {
    .page-vip-club__hero-title {
        font-size: 1.8em;
    }
    .page-vip-club__section-title {
        font-size: 1.5em;
    }
    .page-vip-club__faq-title {
        font-size: 1em;
    }
}

/* Ensure no filter on images */
.page-vip-club img {
    filter: none !important;
}