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

/* Base styles for the page content, ensuring contrast with dark body background */
.page-promotions-vip-program {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css (#333) */
}

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

/* Hero Section */
.page-promotions-vip-program__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 600px; /* Minimum height for hero */
    padding: 100px 20px 60px;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    overflow: hidden;
    background-color: #017439; /* Brand color for hero background */
    color: #ffffff;
}

.page-promotions-vip-program__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Slightly transparent to allow text to stand out */
}

.page-promotions-vip-program__hero-section .page-promotions-vip-program__container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-promotions-vip-program__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-promotions-vip-program__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styling */
.page-promotions-vip-program__overview-section,
.page-promotions-vip-program__benefits-section,
.page-promotions-vip-program__cta-section {
    padding: 80px 0;
    background-color: transparent; /* Body background is #333 */
    color: #ffffff;
}

.page-promotions-vip-program__levels-section,
.page-promotions-vip-program__faq-section {
    padding: 80px 0;
    background-color: #017439; /* Brand color for sections */
    color: #ffffff;
}

.page-promotions-vip-program__section-title {
    font-size: 2.5em;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-promotions-vip-program__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.page-promotions-vip-program__text-block a {
    color: #FFFF00; /* Highlight links */
    text-decoration: underline;
}

.page-promotions-vip-program__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-promotions-vip-program__btn-primary,
.page-promotions-vip-program__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-vip-program__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
    margin: 0 10px 20px;
}

.page-promotions-vip-program__btn-primary:hover {
    background-color: #e02a2a;
    border-color: #e02a2a;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-promotions-vip-program__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    margin: 0 10px 20px;
}

.page-promotions-vip-program__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #017439;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-promotions-vip-program__cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
}

/* VIP Levels Section */
.page-promotions-vip-program__level-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-promotions-vip-program__card {
    background-color: #ffffff; /* Light background for cards */
    color: #333333; /* Dark text for light background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-vip-program__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions-vip-program__card-title {
    font-size: 1.8em;
    color: #017439; /* Brand color for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-vip-program__card-text {
    font-size: 1em;
    margin-bottom: 20px;
}

.page-promotions-vip-program__card-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.page-promotions-vip-program__card-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95em;
    color: #555555;
}

.page-promotions-vip-program__card-list li::before {
    content: '✓';
    color: #017439;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-promotions-vip-program__note {
    font-size: 0.9em;
    margin-top: 40px;
    text-align: center;
    color: #f0f0f0;
}

/* Benefits Section */
.page-promotions-vip-program__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.page-promotions-vip-program__benefit-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark body bg */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-vip-program__benefit-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-vip-program__benefit-icon {
    width: 200px; /* Enforce minimum size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-vip-program__benefit-title {
    font-size: 1.6em;
    color: #FFFF00; /* Highlight benefit titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-vip-program__benefit-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-promotions-vip-program__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-vip-program__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark body bg */
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-vip-program__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: #017439; /* Brand color for question background */
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-promotions-vip-program__faq-question:hover {
    background-color: #005a2e;
}

.page-promotions-vip-program__faq-question h3 {
    margin: 0;
    color: #ffffff;
}

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

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

.page-promotions-vip-program__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter transparent background for answer */
    color: #f0f0f0;
}

.page-promotions-vip-program__faq-item.active .page-promotions-vip-program__faq-answer {
    max-height: 1000px !important; /* Sufficiently large for content */
    padding: 20px 30px;
}

.page-promotions-vip-program__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-vip-program__hero-title {
        font-size: 3em;
    }
    .page-promotions-vip-program__section-title {
        font-size: 2em;
    }
    .page-promotions-vip-program__level-cards,
    .page-promotions-vip-program__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    .page-promotions-vip-program__hero-section {
        min-height: 450px;
        padding: 80px 15px 40px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
    }
    .page-promotions-vip-program__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-promotions-vip-program__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-promotions-vip-program__overview-section,
    .page-promotions-vip-program__levels-section,
    .page-promotions-vip-program__benefits-section,
    .page-promotions-vip-program__faq-section,
    .page-promotions-vip-program__cta-section {
        padding: 50px 0;
    }

    .page-promotions-vip-program__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-promotions-vip-program__text-block {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-promotions-vip-program__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }

    .page-promotions-vip-program__btn-primary,
    .page-promotions-vip-program__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0; /* Remove horizontal margin for full width */
        padding: 12px 20px;
    }

    .page-promotions-vip-program__card,
    .page-promotions-vip-program__benefit-item,
    .page-promotions-vip-program__faq-item {
        margin-left: 15px;
        margin-right: 15px;
    }

    /* Images responsive */
    .page-promotions-vip-program img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions-vip-program__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important; /* Hero image needs to cover its container */
    }

    /* All containers with images/videos/buttons */
    .page-promotions-vip-program__section,
    .page-promotions-vip-program__card,
    .page-promotions-vip-program__container,
    .page-promotions-vip-program__level-cards,
    .page-promotions-vip-program__benefits-grid,
    .page-promotions-vip-program__faq-list,
    .page-promotions-vip-program__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-promotions-vip-program__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-promotions-vip-program__faq-answer {
        padding: 15px 20px;
    }
    .page-promotions-vip-program__faq-item.active .page-promotions-vip-program__faq-answer {
        padding: 15px 20px;
    }
}

/* Ensure no filter on images */
.page-promotions-vip-program img {
    filter: none;
}