.vip-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* VIP状态卡片 */
.vip-status-card {
    background: linear-gradient(135deg, #1e88e5 0%, #00bfa5 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.3);
}

.vip-status-card.is-vip {
    background: linear-gradient(135deg, #ff8f00 0%, #ffb300 100%);
    box-shadow: 0 8px 25px rgba(255, 143, 0, 0.3);
}

.vip-active {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.vip-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
}

.vip-info {
    text-align: left;
}

.vip-label {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.vip-expire {
    font-size: 14px;
    opacity: 0.9;
}

.vip-inactive .vip-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
}

.vip-inactive .vip-desc {
    font-size: 14px;
    opacity: 0.9;
}

/* VIP特权 */
.privilege-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.privilege-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.privilege-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.privilege-item i {
    font-size: 32px;
    color: #1e88e5;
    margin-bottom: 10px;
    display: block;
}

.privilege-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.privilege-desc {
    font-size: 13px;
    color: #666;
}

/* 套餐选择 */
.package-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.vip-package-item {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.vip-package-item:hover {
    border-color: #1e88e5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.2);
}

.vip-package-item.selected {
    border-color: #1e88e5;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.08) 0%, rgba(0, 191, 165, 0.08) 100%);
}

.pkg-hot-tag {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 10px;
}

.pkg-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.pkg-price {
    margin-bottom: 8px;
}

.price-symbol {
    font-size: 16px;
    color: #1e88e5;
    font-weight: bold;
}

.price-num {
    font-size: 32px;
    color: #1e88e5;
    font-weight: bold;
}

.pkg-duration {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

.pkg-download {
    font-size: 13px;
    color: #00bfa5;
    font-weight: 500;
}

/* 支付区域 */
.pay-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.pay-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #1e88e5;
}

.pay-label {
    font-weight: bold;
    color: #333;
}

.pay-amount {
    font-size: 24px;
    font-weight: bold;
    color: #1e88e5;
}

.pay-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1e88e5 0%, #00bfa5 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pay-button:hover {
    background: linear-gradient(135deg, #00bfa5 0%, #1e88e5 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

.pay-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 二维码区域 */
.qrcode-section {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.qrcode-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.qrcode-container {
    margin: 20px 0;
}

.qrcode-img {
    width: 200px;
    height: 200px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.qrcode-tip {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.order-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.order-no {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.order-amount {
    font-size: 18px;
    font-weight: bold;
    color: #1e88e5;
}

.countdown {
    font-size: 16px;
    color: #ff4757;
    font-weight: bold;
}

/* 支付成功 */
.success-section {
    text-align: center;
    padding: 50px 30px;
}

.success-icon {
    font-size: 60px;
    color: #00bfa5;
    margin-bottom: 15px;
}

.success-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.success-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.success-btn {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(135deg, #1e88e5 0%, #00bfa5 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.success-btn:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 20px;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1e88e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .vip-container {
        padding: 15px;
    }

    .package-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .privilege-list {
        grid-template-columns: 1fr;
    }

    .vip-active {
        flex-direction: column;
    }

    .vip-info {
        text-align: center;
    }

    .pay-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
