:root {
    --primary: #6DD3ED;
    /* 柔光青 */
    --secondary: #FFA34E;
    /* 温暖橙 */
    --accent: #A57AFF;
    /* 科技紫 */
    --bg: #1A1F2D;
    /* 深海蓝 */
}

/* 清新模式 */
:root {
    --primary: #8c3905;
    --secondary: #8c3905;
    --accent: #8c3905;
    --bg: #1E2835;
}

/* 深色模式 */
/* :root {
    --primary: #5BC0EB;
    --secondary: #FFA600;
    --accent: #9B59B6;
    --bg: #0D131A;
} */
#loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    z-index:100000;
    }

.neo-loader {
    width: 200px;
    height: 200px;
    margin: 100px auto;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(109, 211, 237, 0.2));
}

/* 流体模块 */
.fluid-block {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg,
            var(--primary) 30%,
            var(--secondary) 70%);
    border-radius: 15px;
    animation:
        float 2s ease infinite,
        color-shift 4s alternate infinite;
    clip-path: polygon(15% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%);
}

@keyframes float {
    50% {
        transform: translateY(-20px) rotate(8deg);
    }
}

@keyframes color-shift {
    100% {
        background: linear-gradient(135deg, var(--secondary) 30%, var(--accent) 70%);
    }
}

/* 粒子轨迹 */
.particle-track {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 2px solid rgba(var(--primary), 0.15);
    border-radius: 50%;
    animation: track-rotate 20s linear infinite;
}

.code-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation:
        particle-orbit 3s linear infinite,
        particle-pulse 1.5s ease infinite;
    filter: drop-shadow(0 0 8px var(--accent));
}

@keyframes track-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes particle-orbit {
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes particle-pulse {
    50% {
        transform: scale(2);
        opacity: 0.5;
    }
}

/* 动态背景 */
.hologram-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 30%,
            rgba(var(--primary), 0.1) 0%,
            transparent 60%),
        linear-gradient(45deg,
            rgba(var(--secondary), 0.05) 0%,
            rgba(var(--accent), 0.05) 100%);
    animation: bg-pulse 6s alternate infinite;
}

@keyframes bg-pulse {
    100% {
        opacity: 0.8;
    }
}

/* 进度指示 */
.neo-progress {
    position: absolute;
    bottom: -50px;
    width: 100%;
    color: var(--primary);
    font: 500 14px/1 'Segoe UI', sans-serif;
    text-align: center;
    letter-spacing: 2px;
}

.progress-text::after {
    content: '🚀 正在启动创意引擎...';
    animation: typing 2.4s steps(18) infinite;
}

