/* style/promotions-vip-program.css */

:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --background-color: #F4F7FB;
    --text-main: #1F2D3D;
    --text-black: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

/* Base styles for the page content */
.page-promotions-vip-program {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--background-color); /* Light background for the main content area */
}

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

.page-promotions-vip-program__section-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    color: var(--text-black);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions-vip-program__section-description {
    font-size: 18px;
    color: var(--text-main);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-promotions-vip-program__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* body handles top padding, this is for visual separation */
    background: var(--primary-color);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-promotions-vip-program__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height of the image wrapper */
    overflow: hidden;
}

.page-promotions-vip-program__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure image covers the area without distortion */
    filter: brightness(0.8); /* Slightly darken image for text readability */
}

.page-promotions-vip-program__hero-content {
    position: relative; /* Ensure content is above the dimmed image */
    z-index: 10;
    max-width: 900px;
    padding: 20px;
    margin-top: -100px; /* Pull content up over the image slightly for better visual flow */
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
    border-radius: 10px;
}

.page-promotions-vip-program__main-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.1;
}

.page-promotions-vip-program__hero-description {
    font-size: clamp(16px, 2vw, 20px);
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-promotions-vip-program__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-promotions-vip-program__btn-primary,
.page-promotions-vip-program__btn-secondary,
.page-promotions-vip-program__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-promotions-vip-program__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-promotions-vip-program__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-vip-program__btn-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-promotions-vip-program__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-vip-program__btn-link {
    background: none;
    color: var(--primary-color);
    border: 2px solid transparent;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
}

.page-promotions-vip-program__btn-link:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* Tiers Section */
.page-promotions-vip-program__tiers-section {
    padding: 80px 0;
    background-color: var(--background-color);
    color: var(--text-main);
}

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

.page-promotions-vip-program__tier-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions-vip-program__tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.page-promotions-vip-program__tier-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions-vip-program__tier-description {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions-vip-program__tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    width: 100%;
}

.page-promotions-vip-program__tier-features li {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-promotions-vip-program__tier-features li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.page-promotions-vip-program__note {
    font-size: 16px;
    text-align: center;
    margin-top: 40px;
    color: var(--text-main);
}

/* Benefits Section */
.page-promotions-vip-program__benefits-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: #ffffff;
}

.page-promotions-vip-program__benefits-section .page-promotions-vip-program__section-title,
.page-promotions-vip-program__benefits-section .page-promotions-vip-program__section-description {
    color: #ffffff;
}

.page-promotions-vip-program__benefit-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-promotions-vip-program__benefit-item:last-child {
    margin-bottom: 0;
}

.page-promotions-vip-program__benefit-item--reverse {
    flex-direction: row-reverse;
}

.page-promotions-vip-program__benefit-content {
    flex: 1;
    padding: 20px 0;
}

.page-promotions-vip-program__benefit-image-wrapper {
    flex: 1;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-promotions-vip-program__benefit-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions-vip-program__benefit-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-promotions-vip-program__benefit-text {
    font-size: 17px;
    color: #f0f0f0;
    margin-bottom: 25px;
}

.page-promotions-vip-program__benefits-section .page-promotions-vip-program__btn-primary {
    background: var(--card-bg);
    color: var(--primary-color);
    border-color: var(--card-bg);
}

.page-promotions-vip-program__benefits-section .page-promotions-vip-program__btn-primary:hover {
    background: #e0e0e0;
    color: var(--primary-color);
}

.page-promotions-vip-program__benefits-section .page-promotions-vip-program__btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.page-promotions-vip-program__benefits-section .page-promotions-vip-program__btn-secondary:hover {
    background: #ffffff;
    color: var(--primary-color);
}

/* How to Join Section */
.page-promotions-vip-program__how-to-join-section {
    padding: 80px 0;
    background-color: var(--background-color);
    color: var(--text-main);
}

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

.page-promotions-vip-program__step-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions-vip-program__step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-promotions-vip-program__step-icon {
    width: 60px;
    height: 60px;
    background: var(--button-gradient);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-promotions-vip-program__step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions-vip-program__step-text {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-promotions-vip-program__faq-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: #ffffff;
}

.page-promotions-vip-program__faq-section .page-promotions-vip-program__section-title,
.page-promotions-vip-program__faq-section .page-promotions-vip-program__section-description {
    color: #ffffff;
}

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

.page-promotions-vip-program__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-promotions-vip-program__faq-item[open] {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-vip-program__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.page-promotions-vip-program__faq-question::-webkit-details-marker {
    display: none;
}

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

.page-promotions-vip-program__faq-toggle {
    font-size: 24px;
    font-weight: 700;
    margin-left: 15px;
    line-height: 1;
}

.page-promotions-vip-program__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 16px;
    color: #f0f0f0;
}

.page-promotions-vip-program__faq-answer p {
    margin: 0;
}

/* Final CTA Section */
.page-promotions-vip-program__cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: #ffffff;
    text-align: center;
}

.page-promotions-vip-program__cta-section .page-promotions-vip-program__section-title,
.page-promotions-vip-program__cta-section .page-promotions-vip-program__section-description {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-vip-program__benefit-item {
        flex-direction: column;
        text-align: center;
    }

    .page-promotions-vip-program__benefit-item--reverse {
        flex-direction: column;
    }

    .page-promotions-vip-program__benefit-content,
    .page-promotions-vip-program__benefit-image-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .page-promotions-vip-program__benefit-content {
        order: 2;
    }

    .page-promotions-vip-program__benefit-image-wrapper {
        order: 1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-promotions-vip-program__hero-content {
        margin-top: -50px;
        padding: 15px;
    }

    .page-promotions-vip-program__main-title {
        font-size: 32px;
    }

    .page-promotions-vip-program__hero-description {
        font-size: 16px;
    }

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

    .page-promotions-vip-program__btn-primary,
    .page-promotions-vip-program__btn-secondary,
    .page-promotions-vip-program__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions-vip-program__section-title {
        font-size: 28px;
    }

    .page-promotions-vip-program__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-promotions-vip-program__tiers-grid,
    .page-promotions-vip-program__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions-vip-program__tier-card,
    .page-promotions-vip-program__step-card {
        padding: 25px;
    }

    .page-promotions-vip-program__benefit-title {
        font-size: 28px;
    }

    .page-promotions-vip-program__benefit-text {
        font-size: 15px;
    }

    /* Mobile image and container responsiveness */
    .page-promotions-vip-program img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions-vip-program__hero-image-wrapper,
    .page-promotions-vip-program__benefit-image-wrapper,
    .page-promotions-vip-program__container,
    .page-promotions-vip-program__tiers-section,
    .page-promotions-vip-program__benefits-section,
    .page-promotions-vip-program__how-to-join-section,
    .page-promotions-vip-program__faq-section,
    .page-promotions-vip-program__cta-section,
    .page-promotions-vip-program__tier-card,
    .page-promotions-vip-program__step-card,
    .page-promotions-vip-program__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no overflow */
    }
    
    /* Add padding to content containers for mobile */
    .page-promotions-vip-program__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Specific padding for sections that might not use container directly */
    .page-promotions-vip-program__hero-section,
    .page-promotions-vip-program__tiers-section,
    .page-promotions-vip-program__benefits-section,
    .page-promotions-vip-program__how-to-join-section,
    .page-promotions-vip-program__faq-section,
    .page-promotions-vip-program__cta-section {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .page-promotions-vip-program__hero-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-promotions-vip-program__main-title {
        font-size: 28px;
    }

    .page-promotions-vip-program__hero-description {
        font-size: 15px;
    }

    .page-promotions-vip-program__section-title {
        font-size: 24px;
    }

    .page-promotions-vip-program__section-description {
        font-size: 15px;
    }

    .page-promotions-vip-program__btn-primary,
    .page-promotions-vip-program__btn-secondary {
        font-size: 15px;
        padding: 10px 15px;
    }

    .page-promotions-vip-program__tier-title {
        font-size: 24px;
    }

    .page-promotions-vip-program__benefit-title {
        font-size: 24px;
    }
}