/* style/vip-club.css */
.page-vip-club {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Header offset for the first content section */
.page-vip-club__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-vip-club__section {
    padding: 60px 20px;
    margin-bottom: 20px;
    background-color: #1a1a1a; /* Section background, matching body */
}

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

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

.page-vip-club__section-title--light {
    color: #ffffff;
}

.page-vip-club__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for better readability on dark background */
}

.page-vip-club__text-block--light {
    color: #ffffff;
}

.page-vip-club__text-link--light {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: underline;
}

/* Hero Section */
.page-vip-club__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #1a1a1a; /* Dark background */
    overflow: hidden;
    color: #ffffff;
}

.page-vip-club__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-vip-club__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay for text readability */
    filter: brightness(0.7); /* Darken image for text contrast */
}

.page-vip-club__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.page-vip-club__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Yellow for main title */
    line-height: 1.2;
    font-weight: bold;
}

.page-vip-club__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #ffffff;
}

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

/* 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;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-vip-club__btn-primary {
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login text color */
    border: 2px solid #C30808;
}

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

.page-vip-club__btn-secondary {
    background-color: transparent;
    color: #017439; /* Brand primary color for secondary button text */
    border: 2px solid #017439;
}

.page-vip-club__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-vip-club__cta-buttons--center {
    justify-content: center;
    margin-top: 30px;
}

/* Card Styles */
.page-vip-club__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    height: 100%; /* Ensure cards in a grid have equal height */
    box-sizing: border-box;
}

.page-vip-club__card-title {
    font-size: 1.8em;
    color: #FFFF00; /* Yellow for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-club__card-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 15px;
}

.page-vip-club__card-features {
    list-style: disc;
    margin-left: 20px;
    color: #f0f0f0;
}

.page-vip-club__card-features li {
    margin-bottom: 5px;
}

/* VIP Levels Section */
.page-vip-club__levels .page-vip-club__container {
    text-align: center;
}

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

.page-vip-club__level-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* VIP Benefits Section */
.page-vip-club__benefits .page-vip-club__container {
    text-align: center;
}

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

.page-vip-club__benefit-card {
    text-align: left;
}

/* How to Join Section */
.page-vip-club__how-to-join .page-vip-club__container {
    text-align: center;
}

/* FAQ Section */
.page-vip-club__faq {
    background-color: #1a1a1a;
}

.page-vip-club__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-vip-club__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly darker transparent white for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

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

.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: #ffffff;
    transition: color 0.3s ease;
}

.page-vip-club__faq-question:hover {
    color: #FFFF00; /* Yellow on hover for questions */
}

.page-vip-club__faq-title {
    margin: 0;
    color: inherit;
}

.page-vip-club__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439; /* Brand primary color for toggle */
}

.page-vip-club__faq-item.active .page-vip-club__faq-toggle {
    transform: rotate(45deg);
    color: #FFFF00; /* Yellow when active */
}

.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: #f0f0f0;
}

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

.page-vip-club__faq-answer p {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-vip-club__faq-answer a {
    color: #FFFF00; /* Yellow for links in FAQ answers */
    text-decoration: underline;
}

/* Final CTA Section */
.page-vip-club__cta-final {
    background-color: #017439; /* Brand primary color for final CTA */
    text-align: center;
    padding: 80px 20px;
    border-radius: 0;
}

/* Images */
.page-vip-club__image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

/* Responsive Styles */
@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 {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
    }

    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to prevent text from touching edges */
        padding-right: 15px;
    }

    .page-vip-club__cta-buttons,
    .page-vip-club__button-group,
    .page-vip-club__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-vip-club__section {
        padding: 40px 15px;
    }

    .page-vip-club__container {
        padding: 0 10px;
    }

    .page-vip-club__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-vip-club__text-block {
        font-size: 0.95em;
    }

    .page-vip-club__card {
        padding: 25px;
    }

    .page-vip-club__card-title {
        font-size: 1.5em;
    }

    .page-vip-club__level-cards,
    .page-vip-club__benefit-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-vip-club__faq-question {
        font-size: 1.1em;
        padding: 18px 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;
    }

    /* Images responsiveness */
    .page-vip-club img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Override min-width for mobile */
        min-height: unset !important; /* Override min-height for mobile */
    }

    .page-vip-club__section,
    .page-vip-club__card,
    .page-vip-club__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure no filter on images */
.page-vip-club img {
    filter: none; /* Explicitly ensure no filter is applied */
}