/* VIP权限弹窗样式 */

.vip-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.vip-modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.vip-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
}

.vip-modal-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.vip-modal-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.vip-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.vip-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.vip-modal-body {
    padding: 25px;
}

.vip-modal-desc {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.vip-activate-section {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.vip-code-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: border-color 0.3s ease;
}

.vip-code-input:focus {
    outline: none;
    border-color: #667eea;
}

.vip-activate-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.vip-activate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.vip-modal-message {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 15px;
    display: none;
}

.vip-modal-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.vip-modal-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

.vip-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.vip-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
}

.vip-divider span {
    background: white;
    padding: 0 15px;
    color: #999;
    font-size: 13px;
    position: relative;
}

.vip-qr-code {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vip-qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vip-contact {
    text-align: center;
    color: #666;
    font-size: 13px;
    line-height: 1.8;
}

.vip-contact strong {
    color: #333;
}

.vip-modal-footer {
    display: flex;
    gap: 12px;
    padding: 0 25px 25px;
}

.vip-btn-secondary,
.vip-btn-primary {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.vip-btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.vip-btn-secondary:hover {
    background: #e8e8e8;
}

.vip-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.vip-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* VIP状态角标 */
.vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.vip-badge.trial {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.vip-badge.expired {
    background: #bdc3c7;
}

@media (max-width: 480px) {
    .vip-modal-content {
        max-height: 95vh;
    }
    
    .vip-modal-body {
        padding: 20px;
    }
    
    .vip-activate-section {
        flex-direction: column;
    }
    
    .vip-activate-btn {
        width: 100%;
    }
}
