html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;  /* 统一设置 */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-y: auto;  /* 允许垂直滚动 */
    overflow-x: hidden;
    min-height: 100vh;
}

/* 科技感背景元素 */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(41, 97, 157, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 90% 60%, rgba(15, 76, 129, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 50% 80%, rgba(28, 58, 132, 0.3) 0%, transparent 30%);
    z-index: -1;
}

/* 网格线效果 */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(66, 133, 244, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 133, 244, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    pointer-events: none;
}

/* 标题样式 */
.header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin: 20px 0 10px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(66, 133, 244, 0.7);
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    text-align: center;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4285f4, transparent);
}

p {
    color: #a0a0ee;
    font-size: 1.2rem;
    margin-top: 20px;
    text-shadow: 0 0 10px rgba(160, 160, 238, 0.5);
    text-align: center;
}

/* 数据卡片容器 */
.number-data {
    max-width: 1200px;
    margin: 0 auto 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* 数据卡片样式 */
.stat-list {
    background: rgba(16, 26, 61, 0.7);
    border-radius: 16px;
    padding: 30px;
    width: 280px;
    box-shadow: 0 8px 32px rgba(0, 4, 40, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(66, 133, 244, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.stat-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4285f4, #7baaf7);
}

.stat-list:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(0, 4, 40, 0.7);
    border-color: rgba(66, 133, 244, 0.6);
}

/* 数据卡片发光效果 */
.stat-list:hover::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(45deg, #4285f4, #7baaf7, #4285f4);
    border-radius: 18px;
    animation: glowing 1.5s infinite;
}

@keyframes glowing {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}

/* 数据标题与数值 */
.stat-title {
    color: #a0a0ee;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.stat-number {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    font-variant-numeric: tabular-nums;
}

/* 图表容器 */
.chart-container {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
    padding: 10px;
}

/* 图表卡片 */
.chart-card {
    background: rgba(16, 26, 61, 0.7);
    border-radius: 16px;
    width: 100%;
    max-width: 650px;
    height: 420px;
    box-shadow: 0 8px 32px rgba(0, 4, 40, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(66, 133, 244, 0.3);
    padding: 25px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.chart-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #4285f4, #7baaf7);
}

.chart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0, 4, 40, 0.7);
    border-color: rgba(66, 133, 244, 0.6);
}

.chart-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.chart-canvas {
    width: 100% !important;
    height: calc(100% - 50px) !important;
    border-radius: 12px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .chart-card {
        max-width: 550px;
    }
}

@media (max-width: 992px) {
    .chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .chart-card {
        width: 90%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .stat-list {
        width: 100%;
        max-width: 300px;
    }
    
    .chart-card {
        height: 350px;
        width: 100%;
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .number-data {
        gap: 20px;
    }
    
    .stat-list {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    p {
        font-size: 1rem;
    }
}