/* yingrun 模板自定义样式 */
body {
    background-color: #050B14;
    color: #F8FAFC;
    overflow-x: hidden;
}

/* 隐藏滚动条但保留功能 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0F172A; 
}
::-webkit-scrollbar-thumb {
    background: #1E293B; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2563EB; 
}

/* 核心毛玻璃组件 */
.glass-panel {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* 渐变文本 */
.text-gradient {
    background: linear-gradient(to right, #c084fc, #60A5FA, #22D3EE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 滚动进入动画类（translate3d 促进 GPU 合成，减轻闪烁） */
.reveal {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* 卡片光晕效果 */
.glow-card {
    position: relative;
    z-index: 1;
}
.glow-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.5), rgba(6, 182, 212, 0.5));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.glow-card:hover::before {
    opacity: 1;
}

/* 画布背景 */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* 标准化1440px容器 */
.container-1440 {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}
