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

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-login-button-color: #C30808;
    --register-login-font-color: #FFFF00;
    --body-bg-color: #121212; /* From shared.css */
    --text-light-color: #ffffff;
    --text-dark-color: #333333;
    --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
    --card-bg-light-mode: #ffffff;
    --border-color: #e0e0e0;
}

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

.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: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions-vip-program__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-promotions-vip-program__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--text-light-color);
}

/* Hero Section */
.page-promotions-vip-program__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: var(--header-offset, 120px) 20px 60px; /* Apply header offset */
    text-align: center;
    overflow: hidden;
    background-color: var(--primary-color); /* Fallback, image should cover */
}

.page-promotions-vip-program__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-promotions-vip-program__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-promotions-vip-program__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: var(--secondary-color);
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Ensure text readability over image */
    border-radius: 10px;
}

.page-promotions-vip-program__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-promotions-vip-program__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

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

/* Buttons */
.page-promotions-vip-program__btn-primary,
.page-promotions-vip-program__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;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-promotions-vip-program__btn-primary:hover {
    background-color: #A30606;
    transform: translateY(-2px);
}

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

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

/* Content Sections */
.page-promotions-vip-program__content-section,
.page-promotions-vip-program__tiers-section,
.page-promotions-vip-program__privileges-section,
.page-promotions-vip-program__join-section,
.page-promotions-vip-program__faq-section,
.page-promotions-vip-program__conclusion-section {
    padding: 80px 0;
}

.page-promotions-vip-program__dark-bg {
    background-color: var(--body-bg-color);
    color: var(--text-light-color);
}

.page-promotions-vip-program__light-bg {
    background-color: var(--card-bg-light-mode);
    color: var(--text-dark-color);
}

.page-promotions-vip-program__light-bg .page-promotions-vip-program__section-title {
    color: var(--text-dark-color);
}

.page-promotions-vip-program__light-bg .page-promotions-vip-program__text-block {
    color: var(--text-dark-color);
}

/* Image container for content images */
.page-promotions-vip-program__image-container {
    text-align: center;
    margin: 40px 0;
}

.page-promotions-vip-program__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* VIP Tiers Grid */
.page-promotions-vip-program__tier-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-dark-mode);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-promotions-vip-program__tier-description {
    font-size: 1em;
    color: var(--text-light-color);
    margin-bottom: 20px;
}

.page-promotions-vip-program__tier-benefits {
    list-style: none;
    padding: 0;
    text-align: left;
    color: var(--text-light-color);
}

.page-promotions-vip-program__tier-benefits li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

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

/* Exclusive Privileges */
.page-promotions-vip-program__privilege-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-vip-program__privilege-card {
    background-color: var(--card-bg-light-mode);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-dark-color);
}

.page-promotions-vip-program__privilege-card:hover {
    transform: translateY(-5px);
}

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

.page-promotions-vip-program__privilege-description {
    font-size: 1em;
    color: var(--text-dark-color);
}

/* How to Join Steps */
.page-promotions-vip-program__join-steps {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    color: var(--text-light-color);
}

.page-promotions-vip-program__join-steps li {
    background-color: var(--card-bg-dark-mode);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--primary-color);
}

.page-promotions-vip-program__join-steps li strong {
    color: var(--primary-color);
}

/* FAQ Section */
.page-promotions-vip-program__faq-list {
    margin-top: 40px;
}

.page-promotions-vip-program__faq-item {
    background-color: var(--card-bg-light-mode);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-dark-color);
}

.page-promotions-vip-program__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

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

.page-promotions-vip-program__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-promotions-vip-program__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark-color);
}

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

.page-promotions-vip-program__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
    color: var(--text-dark-color);
}

/* Conclusion Section */
.page-promotions-vip-program__conclusion-section .page-promotions-vip-program__cta-buttons {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-vip-program__hero-title {
        font-size: 3em;
    }
    .page-promotions-vip-program__hero-description {
        font-size: 1.1em;
    }
    .page-promotions-vip-program__section-title {
        font-size: 2em;
    }
}

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

    .page-promotions-vip-program__hero-section {
        min-height: 60vh;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-promotions-vip-program__hero-title {
        font-size: 2.5em;
    }

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

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

    .page-promotions-vip-program__btn-primary,
    .page-promotions-vip-program__btn-secondary,
    .page-promotions-vip-program a[class*="button"],
    .page-promotions-vip-program a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-vip-program__cta-buttons,
    .page-promotions-vip-program__button-group,
    .page-promotions-vip-program__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

    .page-promotions-vip-program__content-section,
    .page-promotions-vip-program__tiers-section,
    .page-promotions-vip-program__privileges-section,
    .page-promotions-vip-program__join-section,
    .page-promotions-vip-program__faq-section,
    .page-promotions-vip-program__conclusion-section {
        padding: 60px 0;
    }

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

    .page-promotions-vip-program img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions-vip-program__image-container,
    .page-promotions-vip-program__tier-grid,
    .page-promotions-vip-program__privilege-grid,
    .page-promotions-vip-program__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    
    .page-promotions-vip-program__faq-question,
    .page-promotions-vip-program__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions-vip-program__hero-title {
        font-size: 2em;
    }
    .page-promotions-vip-program__hero-description {
        font-size: 0.9em;
    }
    .page-promotions-vip-program__section-title {
        font-size: 1.5em;
    }
    .page-promotions-vip-program__btn-primary,
    .page-promotions-vip-program__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
}