/* style/vip-club.css */

/* --- General Styles & Body Background (Assuming light background from shared.css) --- */
.page-vip-club {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: var(--background, #FFFFFF); /* Inherit from shared.css or default to white */
    overflow-x: hidden; /* Prevent horizontal scroll on wider elements */
}

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

.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;
    line-height: 1.2;
}

.page-vip-club__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Hero Section --- */
.page-vip-club__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0; /* Shared.css likely handles padding-top for header */
    color: #FFFFFF; /* White text on dark hero image */
    overflow: hidden;
}

.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-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for text readability */
    border-radius: 10px;
}

.page-vip-club__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Custom font color for VIP feel */
}

.page-vip-club__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* --- 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;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Important for max-width: 100% */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-vip-club__btn-primary {
    background-color: #C30808; /* Custom color for registration/login */
    color: #FFFF00; /* Custom font color */
    border: 2px solid #C30808;
    margin: 10px;
}

.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 */
    border: 2px solid #017439;
    margin: 10px;
}

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

.page-vip-club__cta-container {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    gap: 20px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Prevent overflow */
}

/* --- Section Styling --- */
.page-vip-club__intro-section,
.page-vip-club__bonuses-section,
.page-vip-club__join-section,
.page-vip-club__faq-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* Light background */
    color: #333333; /* Dark text */
}

.page-vip-club__dark-bg {
    background-color: #017439; /* Brand primary color as dark background */
    color: #FFFFFF; /* White text on dark background */
}

.page-vip-club__tiers-section,
.page-vip-club__services-section,
.page-vip-club__why-join-section {
    padding: 80px 0;
}

/* --- Tiers Section --- */
.page-vip-club__tiers-grid,
.page-vip-club__bonuses-grid,
.page-vip-club__services-grid,
.page-vip-club__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-vip-club__tier-card,
.page-vip-club__bonus-card,
.page-vip-club__service-item,
.page-vip-club__step-card {
    background-color: #FFFFFF;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-vip-club__tier-card:hover,
.page-vip-club__bonus-card:hover,
.page-vip-club__service-item:hover,
.page-vip-club__step-card:hover {
    transform: translateY(-10px);
}

.page-vip-club__tier-title,
.page-vip-club__bonus-title,
.page-vip-club__service-title,
.page-vip-club__step-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-club__tier-description,
.page-vip-club__bonus-description,
.page-vip-club__service-description,
.page-vip-club__step-description {
    font-size: 1em;
    margin-bottom: 20px;
}

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

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

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

.page-vip-club__tiers-image,
.page-vip-club__bonuses-image,
.page-vip-club__services-image,
.page-vip-club__join-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* --- Why Join Section --- */
.page-vip-club__why-join-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-vip-club__why-join-list li {
    font-size: 1.1em;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-vip-club__why-join-list li strong {
    color: #FFFF00; /* Highlight important points with custom color */
}

.page-vip-club__why-join-list li::before {
    content: '⭐';
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1.5;
}

/* --- FAQ Section --- */
.page-vip-club__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-vip-club__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-vip-club__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f8f8f8;
    cursor: pointer;
    font-weight: bold;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-vip-club__faq-question:hover {
    background-color: #e5e5e5;
}

.page-vip-club__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #017439;
}

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

.page-vip-club__faq-item.active .page-vip-club__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form a minus */
}

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

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

.page-vip-club__faq-answer p {
    margin: 0;
    line-height: 1.8;
    text-align: left;
}

/* --- Global Image & Container Responsiveness --- */
.page-vip-club img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-vip-club__section,
.page-vip-club__card,
.page-vip-club__container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Responsive Design for Tablets and Mobiles --- */
@media (max-width: 1024px) {
    .page-vip-club__section-title {
        font-size: 2em;
    }

    .page-vip-club__hero-title {
        font-size: 2.8em;
    }

    .page-vip-club__hero-description {
        font-size: 1.1em;
    }

    .page-vip-club__tiers-grid,
    .page-vip-club__bonuses-grid,
    .page-vip-club__services-grid,
    .page-vip-club__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .page-vip-club__btn-primary,
    .page-vip-club__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }

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

@media (max-width: 768px) {
    /* Fixed Header Spacing - Assuming shared.css handles body padding-top, so hero-section needs 0 */
    .page-vip-club__hero-section {
        padding-top: 0;
        min-height: 400px;
    }

    .page-vip-club__hero-content {
        padding: 20px;
    }

    .page-vip-club__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-vip-club__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

    .page-vip-club__section-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    /* Universal Image Adaptation */
    .page-vip-club img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-vip-club__tiers-image,
    .page-vip-club__bonuses-image,
    .page-vip-club__services-image,
    .page-vip-club__join-image {
        margin: 30px auto !important;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Card/Grid Layout Adaptation */
    .page-vip-club__tiers-grid,
    .page-vip-club__bonuses-grid,
    .page-vip-club__services-grid,
    .page-vip-club__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-vip-club__tier-card,
    .page-vip-club__bonus-card,
    .page-vip-club__service-item,
    .page-vip-club__step-card {
        padding: 20px;
    }

    .page-vip-club__tier-title,
    .page-vip-club__bonus-title,
    .page-vip-club__service-title,
    .page-vip-club__step-title {
        font-size: 1.5em;
    }

    .page-vip-club__intro-section,
    .page-vip-club__bonuses-section,
    .page-vip-club__join-section,
    .page-vip-club__faq-section,
    .page-vip-club__tiers-section,
    .page-vip-club__services-section,
    .page-vip-club__why-join-section {
        padding: 40px 0;
    }

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

    /* Button Adaptation */
    .page-vip-club__btn-primary,
    .page-vip-club__btn-secondary,
    .page-vip-club a[class*="button"],
    .page-vip-club a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Ensure padding inside button */
        padding-right: 15px; /* Ensure padding inside button */
        margin: 5px 0 !important; /* Adjust margins for vertical stacking */
    }

    .page-vip-club__cta-container {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        padding: 0 15px !important;
        margin-top: 30px !important;
    }

    /* Why Join List Adaptation */
    .page-vip-club__why-join-list {
        padding: 0 15px;
    }

    .page-vip-club__why-join-list li {
        font-size: 1em;
        padding-left: 25px;
    }

    /* FAQ Adaptation */
    .page-vip-club__faq-question {
        padding: 15px;
    }

    .page-vip-club__faq-question h3 {
        font-size: 1.1em;
    }

    .page-vip-club__faq-answer {
        padding: 0 15px;
    }

    .page-vip-club__faq-item.active .page-vip-club__faq-answer {
        padding: 15px !important;
    }
}