/* 全局样式 */
:root {
    --tech-primary: #0d6efd;
    --tech-secondary: #6c757d;
    --tech-success: #198754;
    --tech-danger: #dc3545;
    --tech-warning: #ffc107;
    --tech-info: #0dcaf0;
    --tech-dark: #212529;
    --tech-light: #f8f9fa;
    --neon-blue: #00f3ff;
    --neon-purple: #9d4edd;
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #0a0e17;
    color: #e0e0e0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

/* 导航栏 */
.bg-tech {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border-bottom: 2px solid var(--neon-blue);
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-text {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--neon-blue) !important;
}

.nav-link.active {
    color: var(--neon-blue) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 状态栏 */
.status-bar {
    background: rgba(26, 26, 46, 0.9);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    font-size: 0.9rem;
}

.status-bar .col-md-3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-bar i {
    color: var(--neon-blue);
}

/* 卡片样式 */
.card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
}

.card-header {
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 15px 15px 0 0 !important;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9)) !important;
}

/* 数据卡片 */
.data-card {
    overflow: hidden;
}

/* 统计卡片 */
.stat-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
    border-color: var(--neon-blue);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.stat-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 快速导航卡片 */
.quick-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.quick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2);
    border-color: var(--neon-blue);
}

.quick-icon {
    font-size: 3rem;
    color: var(--neon-blue);
    margin-bottom: 20px;
}

.quick-content h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 数字球样式 */
.number-balls {
    display: flex;
    gap: 10px;
}

.ball {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: ballGlow 2s infinite;
}

.ball.large {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

@keyframes ballGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(102, 126, 234, 0.6); }
}

/* 表格样式 */
.table {
    color: #e0e0e0;
}

.table-dark {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9)) !important;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 243, 255, 0.1) !important;
}

/* 按钮样式 */
.btn-tech {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-tech:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-outline-tech {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-tech:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px 0 20px;
    margin-top: 50px;
    border-top: 2px solid var(--neon-blue);
}

.footer h5 {
    color: var(--neon-blue);
    margin-bottom: 20px;
}

.footer a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--neon-blue);
}

.footer .copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #aaa;
}

/* 科技感标题 */
.tech-title {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

/* 欢迎横幅 */
.welcome-banner {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

/* 模态框样式 */
.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.modal-title {
    color: var(--neon-blue);
}

/* 分页样式 */
.pagination .page-link {
    background: transparent;
    border: 1px solid rgba(0, 243, 255, 0.2);
    color: #e0e0e0;
    margin: 0 5px;
    border-radius: 5px;
}

.pagination .page-link:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-blue);
}

.pagination .active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

/* 筛选卡片 */
.filter-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .welcome-banner {
        padding: 20px;
    }
    
    .stat-card, .quick-card {
        margin-bottom: 20px;
    }
    
    .number-balls {
        justify-content: center;
    }
    
    .ball {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .status-bar .col-md-3 {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}