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

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

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

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

.page-vs388-vip-club__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-vs388-vip-club__section-title,
.page-vs388-vip-club__cta-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--vs388-secondary-color);
    font-weight: bold;
    line-height: 1.2;
}

.page-vs388-vip-club__section-description,
.page-vs388-vip-club__cta-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.page-vs388-vip-club__hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--vs388-light-text);
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-vs388-vip-club__hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-vs388-vip-club__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

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

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

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

/* Buttons */
.page-vs388-vip-club__btn-primary,
.page-vs388-vip-club__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-vs388-vip-club__btn-primary {
    background-color: var(--vs388-register-login-bg);
    color: var(--vs388-register-login-text);
    border: 2px solid var(--vs388-register-login-bg);
}

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

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

.page-vs388-vip-club__btn-secondary:hover {
    background-color: var(--vs388-secondary-color);
    color: var(--vs388-primary-color);
    transform: translateY(-2px);
}

/* Benefits Section */
.page-vs388-vip-club__benefits-section {
    background-color: var(--vs388-dark-bg);
    color: var(--vs388-light-text);
}

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

.page-vs388-vip-club__benefit-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--vs388-light-text);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-vs388-vip-club__benefit-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-vs388-vip-club__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-vs388-vip-club__benefit-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--vs388-secondary-color);
    font-weight: bold;
}

.page-vs388-vip-club__benefit-text {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

/* Games Section */
.page-vs388-vip-club__games-section {
    background-color: var(--vs388-primary-color);
    color: var(--vs388-light-text);
}

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

.page-vs388-vip-club__game-card {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: var(--vs388-light-text);
}

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

.page-vs388-vip-club__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-vs388-vip-club__game-title {
    font-size: 1.6em;
    padding: 20px 20px 10px 20px;
    color: var(--vs388-secondary-color);
    font-weight: bold;
}

.page-vs388-vip-club__game-text {
    font-size: 0.95em;
    padding: 0 20px 20px 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* Promotions Section */
.page-vs388-vip-club__promotions-section {
    background-color: var(--vs388-dark-bg);
    color: var(--vs388-light-text);
}

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

.page-vs388-vip-club__promo-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--vs388-light-text);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-vs388-vip-club__promo-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-vs388-vip-club__promo-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-vs388-vip-club__promo-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--vs388-secondary-color);
    font-weight: bold;
}

.page-vs388-vip-club__promo-text {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

.page-vs388-vip-club__cta-buttons--center {
    text-align: center;
    margin-top: 40px;
}

/* How to Join Section */
.page-vs388-vip-club__how-to-join-section {
    background-color: var(--vs388-primary-color);
    color: var(--vs388-light-text);
}

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

.page-vs388-vip-club__step-card {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: var(--vs388-light-text);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-vs388-vip-club__step-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-vs388-vip-club__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--vs388-secondary-color);
    font-weight: bold;
}

.page-vs388-vip-club__step-text {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

/* Security Section */
.page-vs388-vip-club__security-section {
    background-color: var(--vs388-dark-bg);
    color: var(--vs388-light-text);
}

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

.page-vs388-vip-club__security-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--vs388-light-text);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-vs388-vip-club__security-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-vs388-vip-club__security-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-vs388-vip-club__security-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--vs388-secondary-color);
    font-weight: bold;
}

.page-vs388-vip-club__security-text {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

/* FAQ Section */
.page-vs388-vip-club__faq-section {
    background-color: var(--vs388-dark-bg);
    color: var(--vs388-light-text);
}

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

.page-vs388-vip-club__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-vs388-vip-club__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--vs388-secondary-color);
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-vs388-vip-club__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-vs388-vip-club__faq-title {
    margin: 0;
    color: inherit;
}

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

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

.page-vs388-vip-club__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

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

/* Final CTA Section */
.page-vs388-vip-club__cta-final-section {
    background-color: var(--vs388-dark-bg);
    padding: 80px 0;
}

.page-vs388-vip-club__cta-final-section .page-vs388-vip-club__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    background-color: var(--vs388-primary-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-vs388-vip-club__cta-image {
    width: 50%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.page-vs388-vip-club__cta-content {
    width: 50%;
    text-align: left;
}

.page-vs388-vip-club__cta-content .page-vs388-vip-club__cta-title {
    text-align: left;
    font-size: 2.5em;
    color: var(--vs388-secondary-color);
}

.page-vs388-vip-club__cta-content .page-vs388-vip-club__cta-description {
    text-align: left;
    margin-left: 0;
    color: rgba(255, 255, 255, 0.9);
}

.page-vs388-vip-club__cta-final-section .page-vs388-vip-club__cta-buttons {
    justify-content: flex-start;
    margin-top: 30px;
}

/* General Image Styles (for all images within main content) */
.page-vs388-vip-club img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* No filter properties to change image colors */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-vs388-vip-club__hero-title {
        font-size: 3em;
    }
    .page-vs388-vip-club__section-title {
        font-size: 2.2em;
    }
    .page-vs388-vip-club__cta-content .page-vs388-vip-club__cta-title {
        font-size: 2em;
    }
    .page-vs388-vip-club__cta-final-section .page-vs388-vip-club__container {
        flex-direction: column;
        text-align: center;
    }
    .page-vs388-vip-club__cta-image,
    .page-vs388-vip-club__cta-content {
        width: 100%;
    }
    .page-vs388-vip-club__cta-content .page-vs388-vip-club__cta-title,
    .page-vs388-vip-club__cta-content .page-vs388-vip-club__cta-description {
        text-align: center;
    }
    .page-vs388-vip-club__cta-final-section .page-vs388-vip-club__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-vs388-vip-club {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-vs388-vip-club__hero-section {
        height: auto;
        min-height: 70vh;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-vs388-vip-club__hero-title {
        font-size: 2.5em;
    }
    .page-vs388-vip-club__hero-description {
        font-size: 1.1em;
    }
    .page-vs388-vip-club__section {
        padding: 40px 0;
    }
    .page-vs388-vip-club__section-title,
    .page-vs388-vip-club__cta-title {
        font-size: 1.8em;
    }
    .page-vs388-vip-club__section-description,
    .page-vs388-vip-club__cta-description {
        font-size: 1em;
        margin-bottom: 20px;
        padding: 0 15px; /* Add padding to prevent overflow */
    }
    .page-vs388-vip-club__benefits-grid,
    .page-vs388-vip-club__games-grid,
    .page-vs388-vip-club__promotions-grid,
    .page-vs388-vip-club__steps-grid,
    .page-vs388-vip-club__security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .page-vs388-vip-club__container {
        padding: 0;
    }
    .page-vs388-vip-club__hero-cta-buttons,
    .page-vs388-vip-club__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .page-vs388-vip-club__btn-primary,
    .page-vs388-vip-club__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-vs388-vip-club img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-vs388-vip-club__section,
    .page-vs388-vip-club__card,
    .page-vs388-vip-club__container,
    .page-vs388-vip-club__hero-content {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
    .page-vs388-vip-club__cta-final-section .page-vs388-vip-club__container {
        padding: 20px 15px;
    }
    .page-vs388-vip-club__cta-image {
        border-radius: 10px;
    }
    .page-vs388-vip-club__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-vs388-vip-club__faq-answer {
        padding: 0 15px;
    }
    .page-vs388-vip-club__faq-item.active .page-vs388-vip-club__faq-answer {
        padding: 15px 15px 15px 15px;
    }
}