/* ============================================================
 * vip.php 页面样式
 * ============================================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
}

.vip-header {
    text-align: center;
    margin-bottom: 32px;
}
.vip-header h1 {
    font-size: 32px;
    color: #2c3e50;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.vip-header p { color: #999; font-size: 15px; }

.current-status {
    background: linear-gradient(135deg, #fdf6e3 0%, #fef9ec 100%);
    border: 1px solid #f0d98a;
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 32px;
    text-align: center;
    font-size: 14px;
    color: #8a6d1b;
}
.current-status strong { color: #b8860b; }

/* ============ 三档方案 ============ */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.plan-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
    transition: transform 0.25s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.vip {
    border-color: #d4a017;
    background: linear-gradient(180deg, #fffbf0 0%, #fff 40%);
    box-shadow: 0 8px 32px rgba(212,160,23,0.15);
}
.plan-card .ribbon {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #d4a017 0%, #b8860b 100%);
    color: #fff;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}
.plan-card .plan-name {
    font-size: 22px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 6px;
}
.plan-card.vip .plan-name { color: #b8860b; }
.plan-card .plan-sub {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}
.plan-card .price {
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-height: 48px;
    flex-wrap: wrap;
}
.plan-card .price .num {
    font-size: 42px;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1;
}
.plan-card.vip .price .num { color: #b8860b; }
.plan-card .price .unit { font-size: 16px; color: #999; }
.plan-card .price .tag-small {
    background: #fdeaea;
    color: #e74c3c;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 8px;
}
.plan-card .price .price-old {
    font-size: 16px;
    color: #bbb;
    text-decoration: line-through;
    margin-right: 2px;
}

.plan-btn {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    margin-top: auto;
}
.plan-btn.current {
    background: #f0f0f0;
    color: #999;
    cursor: default;
}
.plan-btn.primary {
    background: linear-gradient(135deg, #d4a017 0%, #b8860b 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(212,160,23,0.3);
}
.plan-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212,160,23,0.4);
}

/* ============ 权益对比表 ============ */
.compare-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 28px 24px;
    margin-bottom: 32px;
    overflow-x: auto;
}
.compare-section h3 {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #4a6741;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 560px;
}
.compare-table thead th {
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #f0f0f0;
    font-size: 14px;
}
.compare-table thead th:first-child {
    text-align: left;
    width: 34%;
    color: #666;
    font-weight: 500;
}
.compare-table thead th.col-vip {
    color: #b8860b;
    background: linear-gradient(180deg, #fffbf0 0%, transparent 100%);
    border-radius: 8px 8px 0 0;
}
.compare-table tbody td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
    color: #555;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:first-child {
    text-align: left;
    color: #333;
}
.compare-table tbody tr:hover { background: #fafbfc; }
.compare-table tbody td.col-vip {
    background: #fffbf0;
}
.compare-table .ico {
    display: inline-flex;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}
.compare-table .ico.yes { background: #e8f4e8; color: #4a6741; }
.compare-table .ico.no { background: #f5f5f5; color: #ccc; }
.compare-table .ico.gold { background: #fdf6e3; color: #b8860b; }
.compare-table .txt-muted { color: #bbb; }
.compare-table .txt-num { color: #666; }
.compare-table .txt-vip { color: #b8860b; font-weight: 600; }

/* ============ 会员说明 ============ */
.notice {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 32px;
}
.notice h3 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 14px;
    padding-left: 10px;
    border-left: 3px solid #4a6741;
}
.notice ul { list-style: none; padding-left: 0; }
.notice ul li {
    padding: 6px 0;
    font-size: 13px;
    color: #666;
    padding-left: 20px;
    position: relative;
}
.notice ul li::before {
    content: '·';
    position: absolute;
    left: 6px;
    color: #4a6741;
    font-weight: bold;
}

/* ============ 收款码弹窗 ============ */
.pay-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pay-modal.show { display: flex; }
.pay-box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: paySlideIn 0.3s;
}
@keyframes paySlideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.pay-header {
    background: linear-gradient(135deg, #d4a017 0%, #b8860b 100%);
    color: #fff;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
}
.pay-header .close {
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    opacity: 0.85;
}
.pay-header .close:hover { opacity: 1; }
.pay-body {
    padding: 24px 24px 28px;
    text-align: center;
}
.pay-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
    color: #b8860b;
    flex-wrap: wrap;
}
.pay-amount .currency { font-size: 20px; font-weight: 600; }
.pay-amount .num { font-size: 48px; font-weight: 700; line-height: 1; }
.pay-amount .unit { font-size: 14px; color: #999; margin-left: 4px; }
.pay-amount .price-old {
    font-size: 13px;
    color: #666;
    text-decoration: line-through;
    margin-right: 8px;
}

.pay-qr {
    background: #fafafa;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    display: inline-block;
}
.pay-qr img { width: 250px; height: 250px; display: block; object-fit: contain; }
.pay-tip { font-size: 13px; color: #666; line-height: 1.8; margin-bottom: 16px; }
.pay-contact {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 12px;
    text-align: left;
}
.pay-contact strong { color: #b8860b; margin-left: 6px; }
.pay-note { font-size: 12px; color: #999; line-height: 1.7; }
.pay-note strong { color: #e67e22; }

@media (max-width: 900px) {
    .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .vip-header h1 { font-size: 24px; }
    .container { padding: 24px 16px; }
    .plan-card { padding: 24px 20px; }
    .plan-card .price .num { font-size: 36px; }
    .compare-section { padding: 20px 14px; }
}