/* style/vip-program.css */

/* Base styles for the VIP program page content */
.page-vip-program {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-vip-program__hero-section {
    position: relative;
    background-color: #017439; /* Brand color for hero background */
    padding: 80px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding-top: var(--header-offset, 120px); /* Apply header offset here */
}

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

.page-vip-program__main-title {
    font-size: 3.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-vip-program__description {
    font-size: 1.2em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-vip-program__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Slightly transparent to let background color show */
}

.page-vip-program__btn-primary,
.page-vip-program__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-vip-program__btn-primary {
    background-color: #017439; /* Main brand color */
    color: #ffffff; /* White text for contrast */
    border: 2px solid #017439;
}

.page-vip-program__btn-primary:hover {
    background-color: #005a2e; /* Darker green on hover */
    border-color: #005a2e;
}

.page-vip-program__btn-secondary {
    background-color: #ffffff; /* White background */
    color: #017439; /* Main brand color text for contrast */
    border: 2px solid #017439;
    margin-left: 20px;
}

.page-vip-program__btn-secondary:hover {
    background-color: #f0f0f0; /* Light gray on hover */
    color: #005a2e; /* Darker green on hover */
    border-color: #005a2e;
}

.page-vip-program__section-title {
    font-size: 2.5em;
    color: #ffffff; /* Default to white for dark body background */
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.page-vip-program__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text for dark background */
}

.page-vip-program__text-link {
    color: #C30808; /* Use red for links as per '注册' and '登录' color, ensures visibility on dark bg */
    text-decoration: underline;
}

.page-vip-program__text-link:hover {
    color: #FF0000;
}

/* Section specific styles */
.page-vip-program__intro-section,
.page-vip-program__benefits-section,
.page-vip-program__conclusion-section,
.page-vip-program__video-section {
    padding: 60px 0;
    background-color: #000000; /* Explicitly set a dark background for these sections */
    color: #ffffff; /* Ensure text is white */
}

.page-vip-program__tiers-section,
.page-vip-program__cta-section,
.page-vip-program__faq-section {
    padding: 60px 0;
    background-color: #017439; /* Brand green for these sections */
    color: #ffffff; /* Ensure text is white */
}

/* Grid layout for VIP tiers and features */
.page-vip-program__grid-layout,
.page-vip-program__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-vip-program__card,
.page-vip-program__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Light transparent background on dark */
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff; /* Light text on card background */
}

/* For cards with .page-vip-program__light-bg, override background and text */
.page-vip-program__card.page-vip-program__light-bg,
.page-vip-program__feature-card.page-vip-program__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text for contrast */
}

.page-vip-program__card.page-vip-program__light-bg .page-vip-program__card-title,
.page-vip-program__feature-card.page-vip-program__light-bg .page-vip-program__feature-title {
    color: #017439; /* Brand color for titles on light background */
}

.page-vip-program__card-image,
.page-vip-program__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
    display: block; /* Ensure it behaves as a block element */
}

.page-vip-program__card-title,
.page-vip-program__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff; /* Default to white for dark card background */
}

.page-vip-program__card-text,
.page-vip-program__feature-text {
    font-size: 1em;
    color: #f0f0f0; /* Default to light for dark card background */
    flex-grow: 1; /* Allow text to grow */
}

.page-vip-program__card.page-vip-program__light-bg .page-vip-program__card-text,
.page-vip-program__feature-card.page-vip-program__light-bg .page-vip-program__feature-text {
    color: #333333; /* Dark text for light card background */
}

.page-vip-program__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-vip-program__list-item {
    background-color: rgba(255, 255, 255, 0.1); /* Light transparent background */
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-vip-program__list-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-vip-program__list-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-vip-program__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Video section */
.page-vip-program__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-vip-program__video-wrapper .page-vip-program__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block; /* Make the anchor tag cover the video */
}

.page-vip-program__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer;
}

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

.page-vip-program__faq-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter transparent */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-vip-program__faq-item summary {
    list-style: none; /* Remove default marker */
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05); /* Even lighter transparent on summary */
    transition: background-color 0.3s ease;
    color: #ffffff;
}

.page-vip-program__faq-item summary::-webkit-details-marker {
    display: none; /* Hide Chrome's default marker */
}

.page-vip-program__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

.page-vip-program__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    width: 20px; /* Fixed width for toggle */
    text-align: center;
    line-height: 1;
}

.page-vip-program__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #f0f0f0;
    background-color: rgba(255, 255, 255, 0.05); /* Consistent with summary hover */
}

/* Conclusion section */
.page-vip-program__conclusion-section .page-vip-program__section-title {
    color: #ffffff;
}
.page-vip-program__conclusion-section .page-vip-program__text-block {
    color: #f0f0f0;
}

/* --- Responsive Design --- */
/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-vip-program__main-title {
        font-size: 2.8em;
    }

    .page-vip-program__section-title {
        font-size: 2em;
    }

    .page-vip-program__btn-primary,
    .page-vip-program__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-vip-program__grid-layout,
    .page-vip-program__feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .page-vip-program__hero-section {
        padding: 60px 0;
        min-height: 400px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .page-vip-program__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    }

    .page-vip-program__container {
        padding: 0 15px; /* Add padding to container on mobile */
    }

    .page-vip-program__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-vip-program__description {
        font-size: 1em;
        margin-bottom: 30px;
    }

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

    .page-vip-program__btn-primary,
    .page-vip-program__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important; /* Remove margin for stacked buttons */
        margin-bottom: 10px; /* Add space between stacked buttons */
    }

    .page-vip-program__button-group {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px; /* Add padding to button group */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    /* Images responsive */
    .page-vip-program img {
      max-width: 100% !important;
      height: auto !important;
      display: block !important;
    }
}