/* style/vip-club-levels.css */

/* Custom Colors */
:root {
    --page-vip-club-levels-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-vip-club-levels-card-bg: #11271B;
    --page-vip-club-levels-background: #08160F;
    --page-vip-club-levels-text-main: #F2FFF6;
    --page-vip-club-levels-text-secondary: #A7D9B8;
    --page-vip-club-levels-border: #2E7A4E;
    --page-vip-club-levels-glow: #57E38D;
    --page-vip-club-levels-gold: #F2C14E;
    --page-vip-club-levels-divider: #1E3A2A;
    --page-vip-club-levels-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-vip-club-levels {
    background-color: var(--page-vip-club-levels-background);
    color: var(--page-vip-club-levels-text-main); /* Default text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Main sections */
.page-vip-club-levels__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
    overflow: hidden; /* Prevent content overflow */
}

.page-vip-club-levels__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-vip-club-levels__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size for images */
    min-height: 200px; /* Enforce minimum size for images */
}

.page-vip-club-levels__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 20px;
    z-index: 1;
    margin-top: -100px; /* Pull content up slightly over the image for visual flow, but not overlay */
    background: linear-gradient(to top, var(--page-vip-club-levels-background) 0%, transparent 100%);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.page-vip-club-levels__main-title {
    color: var(--page-vip-club-levels-text-main);
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-vip-club-levels__description {
    color: var(--page-vip-club-levels-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-vip-club-levels__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding for buttons container */
}

.page-vip-club-levels__btn-primary,
.page-vip-club-levels__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 300px; /* Limit individual button width */
    width: 100%; /* Ensure buttons take full width up to max-width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

.page-vip-club-levels__btn-primary {
    background: var(--page-vip-club-levels-button-gradient);
    color: var(--page-vip-club-levels-text-main);
    border: none;
}

.page-vip-club-levels__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-vip-club-levels__btn-secondary {
    background: transparent;
    color: var(--page-vip-club-levels-glow);
    border: 2px solid var(--page-vip-club-levels-glow);
}

.page-vip-club-levels__btn-secondary:hover {
    background: var(--page-vip-club-levels-glow);
    color: var(--page-vip-club-levels-background);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-vip-club-levels__section-title {
    color: var(--page-vip-club-levels-gold);
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

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

.page-vip-club-levels__text-block {
    color: var(--page-vip-club-levels-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* Intro Section */
.page-vip-club-levels__intro-section {
    padding: 80px 0;
    background-color: var(--page-vip-club-levels-background);
}

/* Levels Overview Section */
.page-vip-club-levels__levels-overview {
    padding: 80px 0;
    background-color: var(--page-vip-club-levels-deep-green); /* Example background for contrast */
}

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

.page-vip-club-levels__card {
    background-color: var(--page-vip-club-levels-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-vip-club-levels-border);
    color: var(--page-vip-club-levels-text-main); /* Ensure text is visible on card bg */
}

.page-vip-club-levels__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.page-vip-club-levels__card-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
    min-width: 200px; /* Enforce minimum size for images */
    min-height: 200px; /* Enforce minimum size for images */
}

.page-vip-club-levels__card-title {
    color: var(--page-vip-club-levels-gold);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.page-vip-club-levels__card-text {
    color: var(--page-vip-club-levels-text-secondary);
    font-size: 0.95rem;
}

/* Privileges Detail Section */
.page-vip-club-levels__privileges-detail {
    padding: 80px 0;
    background-color: var(--page-vip-club-levels-background);
}

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

.page-vip-club-levels__privilege-card {
    background-color: var(--page-vip-club-levels-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-vip-club-levels-border);
    color: var(--page-vip-club-levels-text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-vip-club-levels__privilege-title {
    color: var(--page-vip-club-levels-gold);
    font-size: 1.7rem;
    margin-bottom: 15px;
}

.page-vip-club-levels__privilege-text {
    color: var(--page-vip-club-levels-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to take available space */
}

.page-vip-club-levels__privilege-image {
    width: 100%;
    height: auto;
    max-width: 600px; /* Ensure image is not too wide */
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size for images */
    min-height: 200px; /* Enforce minimum size for images */
}

/* Upgrade Guide Section */
.page-vip-club-levels__upgrade-guide {
    padding: 80px 0;
    background-color: var(--page-vip-club-levels-deep-green);
    text-align: center;
}

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

.page-vip-club-levels__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-vip-club-levels__faq-item {
    background-color: var(--page-vip-club-levels-card-bg);
    border: 1px solid var(--page-vip-club-levels-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-vip-club-levels-text-main);
}

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

.page-vip-club-levels__faq-question:hover {
    background-color: var(--page-vip-club-levels-deep-green);
}

.page-vip-club-levels__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    user-select: none;
}

.page-vip-club-levels__faq-item[open] .page-vip-club-levels__faq-toggle {
    content: '−'; /* Changed by JS */
}

.page-vip-club-levels__faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--page-vip-club-levels-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Details element specific styling */
.page-vip-club-levels__faq-item summary {
    list-style: none; /* Remove default marker */
}

.page-vip-club-levels__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

/* General text color for contrast */
.page-vip-club-levels p,
.page-vip-club-levels li {
    color: var(--page-vip-club-levels-text-secondary); /* Ensure paragraph text is visible */
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-vip-club-levels__hero-content {
        margin-top: -50px;
    }
    .page-vip-club-levels__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    }
    .page-vip-club-levels__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-vip-club-levels__level-cards,
    .page-vip-club-levels__privilege-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Mobile specific image/video/button rules */
    .page-vip-club-levels img,
    .page-vip-club-levels video,
    .page-vip-club-levels__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-vip-club-levels__hero-image-wrapper,
    .page-vip-club-levels__container,
    .page-vip-club-levels__section,
    .page-vip-club-levels__card,
    .page-vip-club-levels__privilege-card,
    .page-vip-club-levels__faq-item,
    .page-vip-club-levels__video-section,
    .page-vip-club-levels__video-container,
    .page-vip-club-levels__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }

    .page-vip-club-levels__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        padding-bottom: 40px !important;
    }

    .page-vip-club-levels__hero-content {
        margin-top: -30px; /* Adjust for mobile */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-vip-club-levels__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-vip-club-levels__description {
        font-size: 1rem;
    }

    .page-vip-club-levels__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-vip-club-levels__btn-primary,
    .page-vip-club-levels__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-vip-club-levels__intro-section,
    .page-vip-club-levels__levels-overview,
    .page-vip-club-levels__privileges-detail,
    .page-vip-club-levels__upgrade-guide,
    .page-vip-club-levels__faq-section {
        padding: 40px 0 !important;
    }

    .page-vip-club-levels__level-cards,
    .page-vip-club-levels__privilege-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .page-vip-club-levels__card-icon,
    .page-vip-club-levels__privilege-image {
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-vip-club-levels__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-vip-club-levels__faq-answer {
        font-size: 0.95rem;
        padding: 0 15px 15px 15px;
    }
}