
/* 自定义全局样式 */
:root {
    --primary-glow: rgba(0, 212, 255, 0.5);
    --secondary-glow: rgba(30, 58, 138, 0.5);
    --accent-glow: rgba(249, 115, 22, 0.5);
}

body {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(30, 58, 138, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 30%);
    background-attachment: fixed;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #00d4ff, #1e3a8a);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #00a8cc, #152866);
}

/* 玻璃态效果 */
.glass {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 科技感按钮 */
.tech-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tech-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.tech-button:hover::before {
    left: 100%;
}

/* 科技感输入框 */
.tech-input {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.tech-input:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

/* 科技感卡片 */
.tech-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
}

/* 科技感网格背景 */
.tech-grid {
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* 科技感动画 */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px var(--primary-glow);
    }
    50% {
        box-shadow: 0 0 20px var(--primary-glow), 0 0 30px var(--primary-glow);
    }
    100% {
        box-shadow: 0 0 5px var(--primary-glow);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* 科技感加载动画 */
.tech-loader {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00d4ff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 科技感提示框 */
.tech-alert {
    background: rgba(15, 23, 42, 0.9);
    border-left: 4px solid;
    backdrop-filter: blur(10px);
}

.tech-alert.success {
    border-color: #10b981;
}

.tech-alert.warning {
    border-color: #f59e0b;
}

.tech-alert.error {
    border-color: #ef4444;
}

/* 科技感表格 */
.tech-table {
    width: 100%;
    border-collapse: collapse;
}

.tech-table th,
.tech-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.tech-table th {
    background: rgba(0, 212, 255, 0.1);
    font-weight: 600;
}

.tech-table tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

/* 科技感标签 */
.tech-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.tech-tag.primary {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.tech-tag.secondary {
    background: rgba(30, 58, 138, 0.2);
    color: #3b82f6;
}

.tech-tag.accent {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tech-card {
        margin-bottom: 1rem;
    }
}
