/* ============================================================
   VIP 会员中心 — 页面样式
   ============================================================ */

/* ===== Hero ===== */
.vip-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #4a2520 0%, #6b3a2a 30%, #c44900 70%, #8b6508 100%);
    color: #fff;
    padding: 70px 0 60px;
    text-align: center;
}
.vip-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}
.vip-hero-badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 4px 16px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 20px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    text-transform: uppercase;
}
.vip-hero-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 16px;
    background: linear-gradient(90deg, #ffe8c8, #fff, #ffe8c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.vip-hero-subtitle {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    margin: 0 0 24px;
}
.vip-hero-status {
    margin-bottom: 20px;
}
.vip-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.vip-badge-active {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffe8c8;
}
.vip-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 36px;
}
.vip-stat {
    text-align: center;
}
.vip-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #ffe8c8;
    line-height: 1.2;
}
.vip-stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}
/* 装饰 */
.vip-hero-deco {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    z-index: 1;
}
.vip-hero-deco-l {
    top: -80px;
    left: -60px;
    background: #c4956a;
}
.vip-hero-deco-r {
    bottom: -100px;
    right: -60px;
    background: #6b3a00;
}

/* ===== 通用 Section ===== */
.vip-section {
    padding: 60px 0;
}
.vip-section-alt {
    background: #faf6ee;
}
.vip-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.vip-section-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px;
}
.vip-section-desc {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* ===== 会员等级卡片 ===== */
.vip-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.vip-plan-card {
    position: relative;
    background: #fff;
    border: 2px solid #e8e0d0;
    border-radius: 14px;
    padding: 28px 20px 24px;
    text-align: center;
    transition: all 0.25s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
}
.vip-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(145,51,0,0.12);
}
.vip-plan-card-hot {
    border-color: #c44900;
    box-shadow: 0 4px 20px rgba(145,51,0,0.1);
    z-index: 2;
}
.vip-plan-card-current {
    border-color: #52c41a;
    background: #fafff7;
}
.vip-plan-hot-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #e66800, #c44900);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 12px;
    white-space: nowrap;
}
.vip-plan-current-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #52c41a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 12px;
    white-space: nowrap;
}
.vip-plan-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 26px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.vip-plan-name {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px;
}
.vip-plan-price {
    margin-bottom: 8px;
    line-height: 1;
}
.vip-plan-price-symbol {
    font-size: 18px;
    font-weight: 700;
    color: #c44900;
    vertical-align: top;
}
.vip-plan-price-num {
    font-size: 38px;
    font-weight: 800;
    color: #c44900;
    letter-spacing: -1px;
}
.vip-plan-price-period {
    font-size: 13px;
    color: #999;
    margin-left: 2px;
}
.vip-plan-price-free {
    font-size: 24px;
    font-weight: 700;
    color: #8a7b6b;
}
.vip-plan-desc {
    font-size: 12px;
    color: #aaa;
    margin: 0 0 16px;
}
.vip-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
    flex: 1;
}
.vip-plan-features li {
    font-size: 13px;
    padding: 5px 0;
    color: #666;
    line-height: 1.5;
}
.vip-feat-yes::before {
    content: '✅ ';
    font-size: 11px;
}
.vip-feat-no {
    color: #ccc;
}
.vip-feat-no::before {
    content: '❌ ';
    font-size: 11px;
}
.vip-plan-btn {
    display: block;
    width: 100%;
    padding: 10px 0;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.vip-plan-btn:hover {
    opacity: 0.88;
    transform: scale(1.02);
}
.vip-plan-btn-free {
    background: #eee;
    color: #aaa;
    cursor: default;
}
.vip-plan-btn-current {
    background: #52c41a;
    color: #fff;
    cursor: default;
}

/* ===== 权益对比表 ===== */
.vip-compare-table-wrap {
    overflow-x: auto;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.vip-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}
.vip-compare-table th {
    padding: 14px 18px;
    text-align: left;
    font-weight: 700;
    color: #666;
    border-bottom: 2px solid #f0ebe4;
    background: #faf6ee;
}
.vip-compare-table th:first-child {
    border-radius: 12px 0 0 0;
}
.vip-compare-table th:last-child {
    border-radius: 0 12px 0 0;
}
.vip-compare-vip-col {
    background: linear-gradient(180deg, #fef8f0, #fff) !important;
    color: #c44900 !important;
    text-align: center;
    font-size: 15px;
}
.vip-compare-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #f5f2ed;
    color: #555;
}
.vip-compare-table tbody tr:last-child td {
    border-bottom: none;
}
.vip-compare-table tbody tr:hover {
    background: #fefcf8;
}
.vip-compare-feature {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}
.vip-compare-icon {
    margin-right: 6px;
    font-size: 15px;
}
.vip-compare-vip-col {
    text-align: center;
    font-weight: 600;
    color: #c44900;
}

/* ===== VIP 专属内容推荐 ===== */
.vip-content-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}
.vip-ctab {
    padding: 7px 20px;
    border: 1px solid #e0d8c8;
    background: #fff;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}
.vip-ctab.active {
    background: #c44900;
    color: #fff;
    border-color: #c44900;
}
.vip-ctab:hover:not(.active) {
    border-color: #c44900;
    color: #c44900;
}
.vip-content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}
.vip-content-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.2s;
    cursor: pointer;
}
.vip-content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(145,51,0,0.12);
}
.vip-cc-cover {
    position: relative;
    height: 160px;
    overflow: hidden;
}
.vip-cc-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vip-cc-vip-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #e66800, #c44900);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}
.vip-cc-body {
    padding: 12px 14px;
}
.vip-cc-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px;
    line-height: 1.4;
}
.vip-cc-summary {
    font-size: 12px;
    color: #999;
    margin: 0;
    line-height: 1.5;
}
.vip-content-more {
    text-align: center;
    margin-top: 28px;
}
.vip-more-btn {
    display: inline-block;
    padding: 9px 28px;
    border: 1px solid #c44900;
    border-radius: 8px;
    color: #c44900;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.vip-more-btn:hover {
    background: #c44900;
    color: #fff;
}

/* ===== VIP 特权亮点 ===== */
.vip-perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}
.vip-perk {
    background: #fff;
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.2s;
}
.vip-perk:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(145,51,0,0.1);
}
.vip-perk-icon {
    font-size: 36px;
    margin-bottom: 14px;
}
.vip-perk-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px;
}
.vip-perk-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
    margin: 0;
}

/* ===== FAQ ===== */
.vip-faq-list {
    max-width: 760px;
    margin: 0 auto;
}
.vip-faq-item {
    border-bottom: 1px solid #f0ebe4;
}
.vip-faq-item:last-child {
    border-bottom: none;
}
.vip-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}
.vip-faq-q:hover {
    color: #c44900;
}
.vip-faq-arrow {
    font-size: 12px;
    color: #ccc;
    transition: transform 0.25s;
    flex-shrink: 0;
}
.vip-faq-item.open .vip-faq-arrow {
    transform: rotate(180deg);
}
.vip-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0;
}
.vip-faq-item.open .vip-faq-a {
    max-height: 200px;
    padding: 0 0 16px;
}
.vip-faq-a p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ===== CTA ===== */
.vip-cta {
    background: linear-gradient(135deg, #4a2520 0%, #6b3a2a 50%, #c44900 100%);
    color: #fff;
    padding: 56px 0;
    text-align: center;
}
.vip-cta-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
}
.vip-cta-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 28px;
}
.vip-cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}
.vip-cta-btn {
    display: inline-block;
    padding: 12px 36px;
    background: linear-gradient(135deg, #ffe8c8, #ffd299);
    color: #4a2520;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.vip-cta-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 20px rgba(255,200,100,0.4);
}
.vip-cta-link {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-decoration: none;
}
.vip-cta-link:hover {
    color: #fff;
}

/* ===== 支付弹窗 ===== */
.vip-pay-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
}
.vip-pay-modal.show {
    display: block;
}
.vip-pay-modal-mask {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
}
.vip-pay-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 92vw;
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.vip-pay-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    color: #ccc;
    cursor: pointer;
    line-height: 1;
}
.vip-pay-modal-close:hover {
    color: #666;
}
.vip-pay-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px;
    text-align: center;
}
.vip-pay-plan-info {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding: 12px;
    background: #faf6ee;
    border-radius: 8px;
}
.vip-pay-methods {
    margin-bottom: 20px;
}
.vip-pay-methods-title {
    font-size: 13px;
    color: #999;
    margin: 0 0 10px;
}
.vip-pay-method {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e8e0d0;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    margin-bottom: 8px;
    transition: all 0.2s;
}
.vip-pay-method.active {
    border-color: #c44900;
    background: #fef8f0;
    color: #c44900;
}
.vip-pay-qr {
    text-align: center;
    margin-bottom: 12px;
}
.vip-pay-qr-placeholder {
    padding: 30px;
    border: 2px dashed #e8e0d0;
    border-radius: 10px;
    color: #999;
    font-size: 14px;
}
.vip-pay-qr-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f0ebe4;
    border-top-color: #c44900;
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: vipSpin 0.8s linear infinite;
}
@keyframes vipSpin {
    to { transform: rotate(360deg); }
}
.vip-pay-qr-amount {
    font-size: 22px;
    font-weight: 800;
    color: #c44900;
    margin-top: 8px;
}
.vip-pay-tip {
    text-align: center;
    font-size: 12px;
    color: #bbb;
    margin: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .vip-plans {
        grid-template-columns: repeat(2, 1fr);
    }
    .vip-content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vip-perks {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .vip-hero-title {
        font-size: 24px;
    }
    .vip-hero-stats {
        gap: 20px;
    }
    .vip-stat-num {
        font-size: 22px;
    }
    .vip-plans {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .vip-content-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .vip-perks {
        grid-template-columns: 1fr;
    }
    .vip-cta-btns {
        flex-direction: column;
    }
    .vip-pay-modal-box {
        padding: 24px 18px 18px;
    }
}
