/* 创新元素：浮动粒子背景 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px currentColor;
    z-index: -1;
}

/* 浅色主题下的粒子样式 */
:root[data-theme="light"] .particle {
    box-shadow: 0 0 15px rgba(45, 70, 185, 0.2);
    background: rgba(45, 70, 185, 0.1);
}

.pulse-particle {
    animation: pulse-glow 3s infinite alternate !important;
}

.connection {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.5), transparent);
    height: 1px;
    border-radius: 1px;
    z-index: -1;
    opacity: 0.5;
}

/* 浅色主题下的连接线样式 */
:root[data-theme="light"] .connection {
    opacity: 0.1;
}

/* 添加科技感网格背景 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 30px 30px;
    z-index: -2;
    opacity: 0.15;
    pointer-events: none;
}