/* style/vip-club.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #0a0a0a;
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --register-button-bg: #C30808;
    --login-button-bg: #C30808;
    --register-login-font: #FFFF00;
}

.page-vip-club {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--light-text-color); /* Default text color for dark body background */
    background-color: var(--dark-bg-color);
}

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

.page-vip-club__dark-bg {
    background-color: var(--dark-bg-color);
    color: var(--light-text-color);
}

.page-vip-club__light-bg {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
}

/* Hero Section */
.page-vip-club__hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.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-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-vip-club__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-vip-club__hero-title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-vip-club__hero-description {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

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

/* 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;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-vip-club__btn-primary {
    background-color: var(--register-button-bg); /* Custom color for register/login */
    color: var(--register-login-font); /* Custom font color */
    border: 2px solid var(--register-button-bg);
}

.page-vip-club__btn-primary:hover {
    background-color: darken(var(--register-button-bg), 10%);
    border-color: darken(var(--register-button-bg), 10%);
}

.page-vip-club__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-vip-club__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-vip-club__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-vip-club__btn-large {
    padding: 18px 35px;
    font-size: 1.1em;
}

/* Section Titles and Descriptions */
.page-vip-club__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: inherit; /* Inherit from parent section for contrast */
}

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

.page-vip-club__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
}

/* Benefits Section */
.page-vip-club__benefits-section {
    padding: 80px 0;
}

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

.page-vip-club__benefit-card {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-vip-club__benefit-image {
    width: 100%; /* Ensure images take full width of card */
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px;
}

.page-vip-club__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-vip-club__card-text {
    font-size: 1em;
    line-height: 1.5;
}

/* Levels Section */
.page-vip-club__levels-section {
    padding: 80px 0;
}

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

.page-vip-club__level-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--light-text-color);
}

.page-vip-club__level-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-vip-club__level-requirement {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.page-vip-club__level-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-vip-club__level-features li {
    margin-bottom: 10px;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.9);
}

.page-vip-club__note-text {
    text-align: center;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

/* Cockfighting VIP Section */
.page-vip-club__cockfighting-vip-section {
    padding: 80px 0;
}

.page-vip-club__cockfighting-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-vip-club__cockfighting-text {
    flex: 1;
}

.page-vip-club__cockfighting-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-vip-club__cockfighting-image {
    width: 100%;
    max-width: 600px; /* Max width for larger screens */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-height: 200px;
}

/* Join Section */
.page-vip-club__join-section {
    padding: 80px 0;
}

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

.page-vip-club__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: var(--light-text-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-vip-club__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--secondary-color);
}

.page-vip-club__step-card .page-vip-club__card-title {
    color: var(--secondary-color);
}

.page-vip-club__step-card a {
    color: var(--register-login-font);
    text-decoration: underline;
}

.page-vip-club__step-card a:hover {
    text-decoration: none;
}

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

/* FAQ Section */
.page-vip-club__faq-section {
    padding: 80px 0;
}

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

.page-vip-club__faq-item {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-vip-club__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    transition: background-color 0.3s ease;
}

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

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

.page-vip-club__faq-item.active .page-vip-club__faq-toggle {
    transform: rotate(45deg);
}

.page-vip-club__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--dark-text-color);
    background-color: #fcfcfc;
}

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

.page-vip-club__faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
    line-height: 1.6;
}

/* General Image Styling (ensure no small icons) */
.page-vip-club img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-vip-club__hero-title {
        font-size: 3em;
    }

    .page-vip-club__section-title {
        font-size: 2em;
    }

    .page-vip-club__cockfighting-content {
        flex-direction: column;
        text-align: center;
    }

    .page-vip-club__cockfighting-image-wrapper {
        margin-top: 30px;
    }

    .page-vip-club__cockfighting-text .page-vip-club__btn-primary {
        margin-top: 20px;
    }
}

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

    .page-vip-club__hero-section {
        height: 500px;
        padding-top: 0; /* Ensures no double padding if body has it */
    }

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

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

    .page-vip-club__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

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

    .page-vip-club__cta-buttons,
    .page-vip-club__hero-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important;
        gap: 15px;
    }

    .page-vip-club__section-title {
        font-size: 1.8em;
    }

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

    .page-vip-club__benefits-section,
    .page-vip-club__levels-section,
    .page-vip-club__cockfighting-vip-section,
    .page-vip-club__join-section,
    .page-vip-club__faq-section {
        padding: 40px 0;
    }

    .page-vip-club__benefits-grid,
    .page-vip-club__levels-grid,
    .page-vip-club__join-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-vip-club__benefit-card,
    .page-vip-club__level-card,
    .page-vip-club__step-card,
    .page-vip-club__faq-item {
        padding: 20px;
        margin-left: 15px;
        margin-right: 15px;
        width: auto !important;
        max-width: calc(100% - 30px) !important;
    }

    .page-vip-club__benefit-image,
    .page-vip-club__cockfighting-image {
        min-height: 200px !important; /* Enforce min size */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

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

    .page-vip-club__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

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

    .page-vip-club__faq-item.active .page-vip-club__faq-answer {
        padding: 10px 20px;
    }

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

    .page-vip-club__step-number {
        top: -20px;
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }

    .page-vip-club__cockfighting-content {
        flex-direction: column;
        gap: 20px;
    }

    .page-vip-club__cockfighting-image-wrapper {
        margin-top: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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