/* ==================== 会员相关样式 ==================== */

/* 导航栏会员标识 */
.vip-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #7a4f00;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.4);
    animation: vipGlow 2s ease-in-out infinite alternate;
    white-space: nowrap;
}

@keyframes vipGlow {
    from { box-shadow: 0 2px 6px rgba(255, 165, 0, 0.4); }
    to   { box-shadow: 0 2px 12px rgba(255, 165, 0, 0.8); }
}

/* 会员状态显示 */
.vip-status {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.vip-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
}

.vip-expires {
    font-size: 0.9rem;
    color: #333;
}

.vip-benefit {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

/* 购买会员卡片 */
.buy-vip-section {
    margin-bottom: 1.5rem;
}

.buy-vip-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.vip-icon {
    font-size: 3rem;
}

.vip-info {
    flex: 1;
}

.vip-info h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.vip-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.btn-buy-vip {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-buy-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.btn-buy-vip:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 价格预览 */
.price-preview {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.price-preview-vip,
.price-preview-normal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.price-row.highlight {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.original-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.vip-price {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.price-saved {
    background: rgba(6, 214, 160, 0.1);
    color: var(--success);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 0.5rem;
}

.amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.credits {
    color: var(--accent);
    font-weight: 600;
}

/* 会员订单高亮 */
.vip-highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    border: 1px solid #FFD700;
    border-radius: 8px;
    padding: 0.75rem 1rem !important;
}

.vip-highlight .value {
    color: #FFD700;
    font-weight: 700;
}





