/* style/vip-club.css */

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

.page-vip-club {
    font-family: 'Arial', sans-serif;
    background-color: var(--page-vip-club-background); /* Body background is dark, use light text */
    color: var(--page-vip-club-text-main);
}

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

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

.page-vip-club__section:nth-of-type(odd) {
    background-color: var(--page-vip-club-background);
}

.page-vip-club__section:nth-of-type(even) {
    background-color: var(--page-vip-club-deep-green);
}

.page-vip-club__section-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--page-vip-club-gold);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-vip-club__section-description {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--page-vip-club-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-vip-club__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    padding: 10px 0 60px 0; /* body handles padding-top, use small decorative padding here */
    background-color: var(--page-vip-club-background);
}

.page-vip-club__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-vip-club__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text contrast */
}

.page-vip-club__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: var(--page-vip-club-text-main);
    padding: 20px;
}

.page-vip-club__hero-title {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--page-vip-club-gold);
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-vip-club__hero-description {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 40px;
    line-height: 1.5;
    color: var(--page-vip-club-text-secondary);
}

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

.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-vip-club__btn-primary {
    background: var(--page-vip-club-button-gradient);
    color: #ffffff; /* Explicit white for contrast */
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-vip-club__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-vip-club__btn-secondary {
    background-color: transparent;
    color: var(--page-vip-club-gold); /* Gold for secondary buttons */
    border: 2px solid var(--page-vip-club-gold);
    box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-vip-club__btn-secondary:hover {
    background-color: rgba(242, 193, 78, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

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

.page-vip-club__content-grid:nth-of-type(even) {
    flex-direction: row-reverse;
}

.page-vip-club__text-block {
    flex: 1;
    color: var(--page-vip-club-text-main);
    line-height: 1.7;
    font-size: 17px;
}

.page-vip-club__text-block p {
    margin-bottom: 15px;
}

.page-vip-club__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-vip-club__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

.page-vip-club__tier-card {
    background-color: var(--page-vip-club-card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-vip-club-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-vip-club-text-main);
    min-height: 250px; /* Ensure cards have some height */
}

.page-vip-club__tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-vip-club__tier-title {
    font-size: 24px;
    color: var(--page-vip-club-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-vip-club__tier-description {
    font-size: 15px;
    color: var(--page-vip-club-text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.page-vip-club__tier-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.page-vip-club__tier-benefits li {
    font-size: 16px;
    color: var(--page-vip-club-text-main);
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.page-vip-club__tier-benefits li::before {
    content: '✓';
    color: var(--page-vip-club-glow);
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

.page-vip-club__offer-card {
    background-color: var(--page-vip-club-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-vip-club-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-vip-club-text-main);
    min-height: 400px; /* Ensure cards have some height */
    display: flex;
    flex-direction: column;
}

.page-vip-club__offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-vip-club__offer-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-vip-club__offer-card .page-vip-club__offer-title {
    font-size: 20px;
    color: var(--page-vip-club-gold);
    margin: 20px 20px 10px 20px;
    font-weight: 600;
}

.page-vip-club__offer-card .page-vip-club__offer-description {
    font-size: 15px;
    color: var(--page-vip-club-text-secondary);
    margin: 0 20px 20px 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.page-vip-club__how-to-join-section .page-vip-club__text-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-vip-club__faq-section {
    padding: 60px 0;
}

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

.page-vip-club__faq-item {
    background-color: var(--page-vip-club-card-bg);
    border: 1px solid var(--page-vip-club-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-vip-club-text-main);
}

.page-vip-club__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--page-vip-club-text-main);
    transition: background-color 0.3s ease;
}

.page-vip-club__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-vip-club__faq-item summary:hover {
    background-color: var(--page-vip-club-deep-green);
}

.page-vip-club__faq-qtext {
    flex-grow: 1;
}

.page-vip-club__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    margin-left: 15px;
    color: var(--page-vip-club-gold);
}

.page-vip-club__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--page-vip-club-text-secondary);
}

.page-vip-club__cta-section .page-vip-club__container {
    background-color: var(--page-vip-club-card-bg);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--page-vip-club-border);
}

.page-vip-club__cta-section .page-vip-club__section-title {
    margin-bottom: 15px;
    color: var(--page-vip-club-gold);
}

.page-vip-club__cta-section .page-vip-club__section-description {
    margin-bottom: 30px;
    color: var(--page-vip-club-text-secondary);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .page-vip-club__content-grid {
        flex-direction: column;
    }
    .page-vip-club__content-grid:nth-of-type(even) {
        flex-direction: column;
    }
    .page-vip-club__image-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-vip-club__section {
        padding: 40px 0;
    }
    .page-vip-club__container {
        padding: 0 15px;
    }
    .page-vip-club__hero-section {
        min-height: 500px;
        padding-bottom: 40px;
    }
    .page-vip-club__hero-title {
        font-size: 32px;
    }
    .page-vip-club__hero-description {
        font-size: 16px;
    }
    .page-vip-club__hero-cta-buttons,
    .page-vip-club__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-vip-club__btn-primary,
    .page-vip-club__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
    }
    .page-vip-club__section-title {
        font-size: 28px;
    }
    .page-vip-club__section-description {
        font-size: 16px;
    }
    .page-vip-club__tiers-grid,
    .page-vip-club__offers-grid {
        grid-template-columns: 1fr;
    }
    .page-vip-club__tier-card,
    .page-vip-club__offer-card {
        padding: 20px;
        min-height: unset;
    }
    .page-vip-club__offer-card .page-vip-club__offer-title,
    .page-vip-club__offer-card .page-vip-club__offer-description {
        margin-left: 15px;
        margin-right: 15px;
    }
    .page-vip-club__faq-item summary {
        font-size: 16px;
        padding: 15px;
    }
    .page-vip-club__faq-answer {
        font-size: 14px;
        padding: 0 15px 15px 15px;
    }
    .page-vip-club__cta-section .page-vip-club__container {
        padding: 30px 15px;
    }

    /* Mobile image adaptation */
    .page-vip-club img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-vip-club__section,
    .page-vip-club__card,
    .page-vip-club__container,
    .page-vip-club__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-vip-club__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-vip-club__hero-cta-buttons,
    .page-vip-club__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-vip-club__btn-primary,
    .page-vip-club__btn-secondary {
        width: 100% !important; /* Ensure full width on mobile for buttons in groups */
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Ensure min-width for all images in content area */
.page-vip-club__text-block img, .page-vip-club__offers-grid img, .page-vip-club__image-wrapper img {
    min-width: 200px;
    min-height: 200px;
}