/* General styles for the VIP Club page */
.page-vip-club {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #FFFFFF; /* Default body background is white */
}

/* Section styling */
.page-vip-club__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-vip-club__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-vip-club__section-description--light {
    color: #f0f0f0;
}

.page-vip-club__content-area {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
}

/* Hero Section */
.page-vip-club__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background: linear-gradient(135deg, #017439, #005a2d); /* Brand color gradient */
    color: #FFFFFF;
}

.page-vip-club__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 16px;
    gap: 24px;
}

.page-vip-club__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: #FFFFFF; /* Ensure white text on dark background */
}

.page-vip-club__main-title {
    font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive H1 font size */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFF00; /* Special color for H1 as per brand colors */
}

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

.page-vip-club__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-vip-club__hero-side-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure no extra space below img */
}

/* CTA Buttons */
.page-vip-club__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-vip-club__cta-buttons--center {
    justify-content: center;
}

.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure buttons adapt */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

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

.page-vip-club__btn-primary:hover {
    background: #a80707;
    border-color: #a80707;
    transform: translateY(-2px);
}

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

.page-vip-club__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Benefits Section */
.page-vip-club__benefits-section {
    padding: 60px 0;
    background-color: #f8f8f8; /* Light background for contrast */
}

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

.page-vip-club__benefit-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    color: #333333;
}

.page-vip-club__benefit-card:hover {
    transform: translateY(-8px);
}

.page-vip-club__icon-box-media {
    width: 240px; /* Fixed size for circular image */
    height: 240px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-vip-club__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-vip-club__card-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #017439;
    margin-bottom: 10px;
}

.page-vip-club__card-title--light {
    color: #FFFF00; /* Consistent with H1 for emphasis on dark background */
}

.page-vip-club__card-text {
    font-size: 1em;
    color: #555555;
}

.page-vip-club__card-text--light {
    color: #f0f0f0;
}

/* Join Section */
.page-vip-club__join-section {
    padding: 60px 0;
    background: #017439; /* Brand primary color background */
    color: #FFFFFF;
}

.page-vip-club__dark-section {
    background: #017439;
    color: #FFFFFF;
}

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

.page-vip-club__step-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-vip-club__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-vip-club__text-link:hover {
    color: #fff;
}

/* FAQ Section */
.page-vip-club__faq-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

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

.page-vip-club__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: #017439;
    cursor: pointer;
    list-style: none; /* Hide default marker for <summary> */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.page-vip-club__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-vip-club__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-vip-club__faq-item[open] .page-vip-club__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-vip-club__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

/* Contact CTA Section */
.page-vip-club__contact-cta-section {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, #005a2d, #017439);
    color: #FFFFFF;
}

.page-vip-club__contact-cta-content {
    max-width: 900px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-vip-club__hero-container {
        flex-direction: column;
        text-align: center;
    }

    .page-vip-club__hero-content {
        flex: none;
        width: 100%;
    }

    .page-vip-club__hero-image {
        flex: none;
        width: 100%;
        margin-top: 30px;
    }

    .page-vip-club__hero-side-image {
        max-width: 80%;
    }

    .page-vip-club__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-vip-club__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    .page-vip-club__hero-container {
        padding: 30px 15px;
        gap: 20px;
    }

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

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

    .page-vip-club__hero-side-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* General containers and images */
    .page-vip-club__content-area {
        padding: 30px 15px;
    }

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

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

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

    /* Buttons */
    .page-vip-club__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .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: 12px 20px;
        font-size: 1em;
    }

    /* Module 1 - Benefits Grid */
    .page-vip-club__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-vip-club__benefit-card {
        padding: 20px;
    }

    .page-vip-club__icon-box-media {
        width: 200px;
        height: 200px;
        margin-bottom: 15px;
    }

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

    .page-vip-club__card-text {
        font-size: 0.95em;
    }

    /* Join Section */
    .page-vip-club__join-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-vip-club__step-card {
        padding: 20px;
    }

    /* FAQ Section */
    .page-vip-club__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-vip-club__faq-answer {
        font-size: 0.95em;
        padding: 0 20px 15px;
    }

    .page-vip-club__faq-toggle {
        font-size: 1.3em;
    }

    /* Contact CTA Section */
    .page-vip-club__contact-cta-content {
        padding: 30px 15px;
    }
}