/* style/vip-club-benefits-how-to-join.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-vip-club-benefits-how-to-join {
    background-color: var(--background-color);
    color: var(--text-main); /* Ensure text is visible on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-vip-club-benefits-how-to-join__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-vip-club-benefits-how-to-join__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    /* No filter properties */
}

.page-vip-club-benefits-how-to-join__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: 40px; /* Space between image and text */
    padding: 0 20px;
}

.page-vip-club-benefits-how-to-join__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-vip-club-benefits-how-to-join__hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Call to Action Button */
.page-vip-club-benefits-how-to-join__btn-primary {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-vip-club-benefits-how-to-join__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-vip-club-benefits-how-to-join__benefits-section,
.page-vip-club-benefits-how-to-join__how-to-join-section,
.page-vip-club-benefits-how-to-join__levels-section,
.page-vip-club-benefits-how-to-join__faq-section,
.page-vip-club-benefits-how-to-join__conclusion-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.page-vip-club-benefits-how-to-join__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-vip-club-benefits-how-to-join__section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Benefits Grid */
.page-vip-club-benefits-how-to-join__benefits-grid,
.page-vip-club-benefits-how-to-join__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-vip-club-benefits-how-to-join__benefit-card,
.page-vip-club-benefits-how-to-join__step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-main);
}

.page-vip-club-benefits-how-to-join__benefit-card:hover,
.page-vip-club-benefits-how-to-join__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-vip-club-benefits-how-to-join__benefit-image,
.page-vip-club-benefits-how-to-join__step-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    display: block;
    /* No filter properties */
}

.page-vip-club-benefits-how-to-join__card-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-club-benefits-how-to-join__card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.page-vip-club-benefits-how-to-join__cta-area {
    text-align: center;
    margin-top: 50px;
}

/* VIP Table */
.page-vip-club-benefits-how-to-join__table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-vip-club-benefits-how-to-join__vip-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Ensure table is readable on smaller screens before overflow-x */
}

.page-vip-club-benefits-how-to-join__vip-table th,
.page-vip-club-benefits-how-to-join__vip-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--divider-color);
    color: var(--text-main);
}

.page-vip-club-benefits-how-to-join__vip-table th {
    background-color: var(--deep-green);
    font-weight: bold;
    color: var(--gold-color);
    font-size: 1.05rem;
}

.page-vip-club-benefits-how-to-join__vip-table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.1);
}

.page-vip-club-benefits-how-to-join__vip-table tr:hover {
    background-color: rgba(var(--secondary-color), 0.1);
}

.page-vip-club-benefits-how-to-join__table-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 20px;
    padding: 0 20px;
}

/* FAQ Section */
.page-vip-club-benefits-how-to-join__faq-list {
    margin-top: 40px;
}

.page-vip-club-benefits-how-to-join__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-vip-club-benefits-how-to-join__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--deep-green);
    border-bottom: 1px solid transparent; /* default */
}

.page-vip-club-benefits-how-to-join__faq-item[open] .page-vip-club-benefits-how-to-join__faq-question {
    border-bottom-color: var(--border-color);
}

.page-vip-club-benefits-how-to-join__faq-qtext {
    flex-grow: 1;
}

.page-vip-club-benefits-how-to-join__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: var(--gold-color);
}

.page-vip-club-benefits-how-to-join__faq-item[open] .page-vip-club-benefits-how-to-join__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' or similar visual */
}

.page-vip-club-benefits-how-to-join__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-vip-club-benefits-how-to-join__faq-answer p {
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-vip-club-benefits-how-to-join__hero-content {
        max-width: 700px;
    }
    .page-vip-club-benefits-how-to-join__benefits-grid,
    .page-vip-club-benefits-how-to-join__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-vip-club-benefits-how-to-join {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-vip-club-benefits-how-to-join__hero-section {
        padding-bottom: 40px;
    }

    .page-vip-club-benefits-how-to-join__hero-content {
        margin-top: 20px;
    }

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

    .page-vip-club-benefits-how-to-join__hero-description {
        font-size: 1rem;
    }

    .page-vip-club-benefits-how-to-join__btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-vip-club-benefits-how-to-join__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }

    .page-vip-club-benefits-how-to-join__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-vip-club-benefits-how-to-join__benefits-section,
    .page-vip-club-benefits-how-to-join__how-to-join-section,
    .page-vip-club-benefits-how-to-join__levels-section,
    .page-vip-club-benefits-how-to-join__faq-section,
    .page-vip-club-benefits-how-to-join__conclusion-section {
        padding: 40px 0;
    }

    .page-vip-club-benefits-how-to-join__benefits-grid,
    .page-vip-club-benefits-how-to-join__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-vip-club-benefits-how-to-join__benefit-card,
    .page-vip-club-benefits-how-to-join__step-card {
        padding: 20px;
    }

    .page-vip-club-benefits-how-to-join__benefit-image,
    .page-vip-club-benefits-how-to-join__step-image {
        height: 180px;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
        object-fit: cover;
    }

    .page-vip-club-benefits-how-to-join__card-title {
        font-size: 1.3rem;
    }

    .page-vip-club-benefits-how-to-join__card-text {
        font-size: 0.9rem;
    }

    .page-vip-club-benefits-how-to-join__vip-table th,
    .page-vip-club-benefits-how-to-join__vip-table td {
        padding: 10px;
        font-size: 0.9rem;
    }

    .page-vip-club-benefits-how-to-join__table-note {
        font-size: 0.85rem;
    }

    .page-vip-club-benefits-how-to-join__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-vip-club-benefits-how-to-join__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    /* Mobile image and container adjustments */
    .page-vip-club-benefits-how-to-join img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-vip-club-benefits-how-to-join__section,
    .page-vip-club-benefits-how-to-join__card,
    .page-vip-club-benefits-how-to-join__container,
    .page-vip-club-benefits-how-to-join__cta-area {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-vip-club-benefits-how-to-join__cta-area .page-vip-club-benefits-how-to-join__btn-primary {
        width: auto !important; /* Allow button to shrink if needed, but max-width 100% still applies */
        display: block !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-vip-club-benefits-how-to-join__table-wrapper {
        margin: 20px 15px;
        width: calc(100% - 30px);
    }

    .page-vip-club-benefits-how-to-join__faq-section .page-vip-club-benefits-how-to-join__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-vip-club-benefits-how-to-join__main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    .page-vip-club-benefits-how-to-join__section-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }
    .page-vip-club-benefits-how-to-join__hero-description {
        font-size: 0.9rem;
    }
    .page-vip-club-benefits-how-to-join__card-title {
        font-size: 1.2rem;
    }
    .page-vip-club-benefits-how-to-join__faq-question {
        font-size: 0.95rem;
    }
}