/* style/vip-privileges.css */

/* --- General Page Styles --- */
.page-vip-privileges {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light background */
    background-color: #f8f8f8;
}

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

.page-vip-privileges__section-title {
    font-size: 36px;
    color: #1A202C;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-vip-privileges__section-description {
    font-size: 18px;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Color Contrast Classes --- */
.page-vip-privileges__dark-bg {
    background-color: #1A202C;
    color: #ffffff;
}

.page-vip-privileges__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-vip-privileges__dark-bg .page-vip-privileges__section-title,
.page-vip-privileges__dark-bg .page-vip-privileges__section-description,
.page-vip-privileges__dark-bg .page-vip-privileges__card-title,
.page-vip-privileges__dark-bg .page-vip-privileges__card-text,
.page-vip-privileges__dark-bg .page-vip-privileges__step-title,
.page-vip-privileges__dark-bg .page-vip-privileges__step-text,
.page-vip-privileges__dark-bg .page-vip-privileges__note-text,
.page-vip-privileges__dark-bg .page-vip-privileges__testimonial-quote,
.page-vip-privileges__dark-bg .page-vip-privileges__testimonial-author {
    color: #ffffff;
}

/* --- Hero Section --- */
.page-vip-privileges__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #1A202C, #3A4750); /* Darker gradient for hero */
}

.page-vip-privileges__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-vip-privileges__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-vip-privileges__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-vip-privileges__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-vip-privileges__main-title {
    font-size: 52px;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.page-vip-privileges__intro-text {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-vip-privileges__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: #FFD700; /* Gold for CTA button */
    color: #1A202C; /* Dark text on gold */
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-vip-privileges__cta-button:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* --- Benefits Overview Section --- */
.page-vip-privileges__benefits-overview {
    padding: 80px 0;
}

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

.page-vip-privileges__benefit-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

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

.page-vip-privileges__benefit-card img {
    max-width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    display: block;
}

.page-vip-privileges__card-title {
    font-size: 24px;
    color: #1A202C;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-vip-privileges__card-text {
    font-size: 16px;
    color: #555555;
}

/* --- How To Join Section --- */
.page-vip-privileges__how-to-join {
    padding: 80px 0;
}

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

.page-vip-privileges__step-card {
    background-color: #2D3748; /* Slightly lighter dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-vip-privileges__step-icon {
    width: 60px;
    height: 60px;
    background-color: #FFD700;
    color: #1A202C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 25px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-vip-privileges__step-title {
    font-size: 26px;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-vip-privileges__step-text {
    font-size: 16px;
    color: #e0e0e0;
}

.page-vip-privileges__step-text a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-vip-privileges__step-text a:hover {
    text-decoration: underline;
}

.page-vip-privileges__cta-button--alt {
    background: #FFD700;
    color: #1A202C;
}

.page-vip-privileges__cta-button--alt:hover {
    background: #e6c200;
}

/* --- VIP Tiers Details Section --- */
.page-vip-privileges__vip-tiers-details {
    padding: 80px 0;
}

.page-vip-privileges__tiers-table {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-vip-privileges__tiers-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px; /* Ensure table is readable on smaller screens */
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.page-vip-privileges__tiers-table th,
.page-vip-privileges__tiers-table td {
    border: 1px solid #e0e0e0;
    padding: 15px;
    text-align: left;
    font-size: 16px;
}

.page-vip-privileges__tiers-table th {
    background-color: #1A202C;
    color: #FFD700;
    font-weight: 700;
    white-space: nowrap;
}

.page-vip-privileges__tiers-table td {
    color: #333333;
}

.page-vip-privileges__tiers-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.page-vip-privileges__note-text {
    font-size: 15px;
    color: #777777;
    text-align: center;
    margin-top: 20px;
}

/* --- Testimonials Section --- */
.page-vip-privileges__testimonials {
    padding: 80px 0;
    background-color: #2D3748;
}

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

.page-vip-privileges__testimonial-card {
    background-color: #1A202C;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A4750;
}

.page-vip-privileges__testimonial-card img {
    
    
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #FFD700;
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-vip-privileges__testimonial-quote {
    font-size: 18px;
    color: #f0f0f0;
    font-style: italic;
    margin-bottom: 15px;
}

.page-vip-privileges__testimonial-author {
    font-size: 16px;
    color: #FFD700;
    font-weight: bold;
}

/* --- FAQ Section --- */
.page-vip-privileges__faq {
    padding: 80px 0;
}

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

/* FAQ容器样式 */
.page-vip-privileges__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ默认状态 - 答案隐藏 */
.page-vip-privileges__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background-color: #f9f9f9;
    color: #555555;
    font-size: 16px;
    line-height: 1.7;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-vip-privileges__faq-item.active .page-vip-privileges__faq-answer {
    max-height: 2000px !important; /* 🚨 使用!important确保优先级，值足够大以容纳任何内容 */
    padding: 20px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

/* 问题样式 */
.page-vip-privileges__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-vip-privileges__faq-item.active .page-vip-privileges__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #d0d0d0;
    background-color: #f5f5f5;
}

.page-vip-privileges__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-vip-privileges__faq-question:active {
    background: #eeeeee;
}

/* 问题标题样式 */
.page-vip-privileges__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #1A202C;
    pointer-events: none; /* 防止h3标签阻止点击事件 */
}

/* 切换图标 */
.page-vip-privileges__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Gold for toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none; /* 防止图标阻止点击事件 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-vip-privileges__faq-item.active .page-vip-privileges__faq-toggle {
    color: #1A202C; /* Darker when active */
    transform: rotate(45deg); /* Plus to X for close, or just minus */
}

/* --- CTA Bottom Section --- */
.page-vip-privileges__cta-bottom {
    padding: 80px 0;
    text-align: center;
    background-color: #1A202C; /* Dark background */
    color: #ffffff;
}

.page-vip-privileges__cta-bottom-content {
    max-width: 800px;
}

.page-vip-privileges__cta-bottom .page-vip-privileges__section-title {
    color: #FFD700; /* Gold title */
}

.page-vip-privileges__cta-bottom .page-vip-privileges__section-description {
    color: #f0f0f0;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-vip-privileges__main-title {
        font-size: 44px;
    }
    .page-vip-privileges__section-title {
        font-size: 30px;
    }
    .page-vip-privileges__intro-text {
        font-size: 18px;
    }
    .page-vip-privileges__cta-button {
        padding: 15px 35px;
        font-size: 18px;
    }
    .page-vip-privileges__benefits-grid,
    .page-vip-privileges__steps-grid,
    .page-vip-privileges__testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    /* 🚨 Mobile Hero Section Padding */
    .page-vip-privileges__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-vip-privileges__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-vip-privileges__intro-text {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-vip-privileges__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        margin-top: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-vip-privileges__hero-image img {
        border-radius: 8px;
    }

    .page-vip-privileges__section-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    .page-vip-privileges__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .page-vip-privileges__benefits-overview,
    .page-vip-privileges__how-to-join,
    .page-vip-privileges__vip-tiers-details,
    .page-vip-privileges__testimonials,
    .page-vip-privileges__faq,
    .page-vip-privileges__cta-bottom {
        padding: 50px 0;
    }

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

    /* 🚨 Mobile Image Responsiveness */
    .page-vip-privileges img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-vip-privileges__section,
    .page-vip-privileges__card,
    .page-vip-privileges__container,
    .page-vip-privileges__benefits-grid,
    .page-vip-privileges__steps-grid,
    .page-vip-privileges__testimonial-grid,
    .page-vip-privileges__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-vip-privileges__benefit-card img {
        height: 200px; /* Adjust height for mobile */
    }

    .page-vip-privileges__tiers-table {
        border-radius: 8px;
    }
    .page-vip-privileges__tiers-table th,
    .page-vip-privileges__tiers-table td {
        padding: 10px;
        font-size: 14px;
    }

    /* FAQ Mobile Adjustments */
    .page-vip-privileges__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-vip-privileges__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-vip-privileges__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }

    .page-vip-privileges__faq-answer {
        padding: 0 15px;
    }

    .page-vip-privileges__faq-item.active .page-vip-privileges__faq-answer {
        padding: 15px !important;
    }

    /* Button specific mobile adjustments */
    .page-vip-privileges__cta-button,
    .page-vip-privileges__btn-primary,
    .page-vip-privileges__btn-secondary,
    .page-vip-privileges a[class*="button"],
    .page-vip-privileges 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-vip-privileges__cta-buttons,
    .page-vip-privileges__button-group,
    .page-vip-privileges__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-vip-privileges__cta-buttons {
      display: flex;
      flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-vip-privileges__main-title {
        font-size: 28px;
    }
    .page-vip-privileges__section-title {
        font-size: 24px;
    }
    .page-vip-privileges__hero-section,
    .page-vip-privileges__benefits-overview,
    .page-vip-privileges__how-to-join,
    .page-vip-privileges__vip-tiers-details,
    .page-vip-privileges__testimonials,
    .page-vip-privileges__faq,
    .page-vip-privileges__cta-bottom {
        padding: 40px 0;
    }
    .page-vip-privileges__benefit-card,
    .page-vip-privileges__step-card,
    .page-vip-privileges__testimonial-card {
        padding: 20px;
    }
    .page-vip-privileges__benefit-card img {
        
    }
    .page-vip-privileges__card-title {
        font-size: 20px;
    }
    .page-vip-privileges__step-title {
        font-size: 22px;
    }
    .page-vip-privileges__faq-question h3 {
        font-size: 14px;
    }
    .page-vip-privileges__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
}