n/aiu/Str · vor 6 Mon.
Registrieren Anmelden
n/ai · vor 6 Mon. · Bearbeitet · 1.363 Aufrufe
u/StrEhrenmitgliedMeister
Roter Umschlag

(红包)个人精心制作的超强前端生成!点击即可尝试

https://linjin.netlify.app

今天写的一个超强的前端构建工具,写几个小时plan和ai如高山流水遇知音一样vibe coding出来的项目

你可以打开输入一些非常抽象的想法,比如“纸片”、“生活”等甚至一个词的内容

生成的效果非常惊艳,几乎可以媲美专业设计网站了(虽然这个生成器看上去简陋)

用语言可能描述不出来专业感觉,但是我认为你尝试后肯定会眼前一亮!

基于 DeepSeekv4 Pro + E01.ai Prompt

生成一次HTML可能需要10分钟或者更久,不过质量很高可以理解一下

禁止用于生成违法内容,免费服务经不起这么搞(你搞我就跑路)


非常希望大家能用我这个做出优秀作品,提交作品截图可以额外获取 10 NL (48小时内发放,截止前十名)
如果能附加生成的html就更好了,我在制作作品集列表(征集作品中)
https://linjin.netlify.app/works

18
113
Anmelden, um mitzudiskutieren.

113 Antworten

Sortierung
  1. hellocat Gold vor 6 Mon.

    我来看看

    5
  2. wkk Gold vor 6 Mon.

    厉害

    4
  3. ax570383885 Platin Nie verlassen, nie im Stich lassen vor 6 Mon.

    这么厉害 可惜生成要太久了

    1
  4. keale 🎧 Diamant 3 JAHRE vor 6 Mon.

    厉害

    1
  5. remenbo Silber vor 6 Mon.

    tk 消耗不少 给他个车厘子

    1
  6. hhhjjj Gold vor 6 Mon.

    来看看

    1
  7. Foxx vor 6 Mon. Bearbeitet

    好,来看看生成个看看(建一半就卡这里) :ac01:

    1
  8. Str Ehrenmitglied Meister OP vor 6 Mon.

    正常生成要十分钟啦,耐心等待~
    如果完全没反应(没新内容)建议刷新重新生成

    0
  9. CBlocks Silber vor 6 Mon.

    Bloxd.io — The Voxel Playground

    但是不能 Play

    1
  10. Str Ehrenmitglied Meister OP vor 6 Mon.

    可能他认为你是要产品页
    直接告诉他用threejs写一个能玩的

    0
  11. jzhfg 🍑Steinreich Meister MANAGER vor 6 Mon. Bearbeitet

    感谢Str的付出,成功开发农场游戏框架 :ac01: 要是能继续编辑就更好了

    @Str

    [quote="𝑺𝒕𝒓 [𝐁𝐨𝐭]‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ , post:72, topic:84861, full:true, username:Str"]
    建议可以附加html源代码
    因为在做生成的作品集展示页面
    目前缺作品
    [/quote]

    永绿之门

    永绿之门.txt (108.1 KB)

    1
  12. Str Ehrenmitglied Meister OP vor 6 Mon.

    怪了咋你这个咋那么ai味
    不应该啊我试了好多都专业

    编辑功能后面会考虑添加

    0
  13. jzhfg 🍑Steinreich Meister MANAGER vor 6 Mon.

    估计是我的提示词有问题? :ac01:

    1
  14. CBlocks Silber vor 6 Mon.

    能不能给个地址?

    0
  15. Str Ehrenmitglied Meister OP vor 6 Mon.

    建议可以附加html源代码
    因为在做生成的作品集展示页面
    目前缺作品

    0
  16. frank1 Gold vor 6 Mon.

    优秀优秀

    1
  17. Str Ehrenmitglied Meister OP vor 6 Mon.

    好名称 :ac01:

    0
  18. ghostlou1043 Gold vor 6 Mon.
    <!DOCTYPE html>
    <html lang="zh-CN">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>root@nullshell:~# _</title>
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&family=Press+Start+2P&display=swap" rel="stylesheet">
        <script src="https://cdn.tailwindcss.com">
        </script>
        <script src="https://unpkg.com/lucide@latest">
        </script>
        <style>
            :root {
                --bg-deep: #0B0D0F;
                --text-primary: #00FF41;
                --text-secondary: #B0BEC5;
                --accent-warning: #FF003C;
                --accent-blue: #00BFFF;
                --comment-gray: #546E7A;
                --warm-amber: #FFB300;
                --font-mono: 'JetBrains Mono', 'Courier New', monospace;
                --font-body: 'Space Grotesk', 'Inter', sans-serif;
                --font-pixel: 'Press Start 2P', monospace;
                --glow-soft: 0 0 8px currentColor;
                --glow-strong: 0 0 18px currentColor, 0 0 36px currentColor;
            }
    
            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }
    
            html {
                scroll-behavior: smooth;
                scrollbar-width: thin;
                scrollbar-color: #00FF41 #0B0D0F;
            }
    
            ::-webkit-scrollbar {
                width: 6px;
            }
            ::-webkit-scrollbar-track {
                background: #0B0D0F;
            }
            ::-webkit-scrollbar-thumb {
                background: #00FF41;
                border-radius: 0;
            }
            ::-webkit-scrollbar-thumb:hover {
                background: #00FF41;
                box-shadow: var(--glow-soft);
            }
    
            ::selection {
                background: #00FF41;
                color: #0B0D0F;
            }
    
            body {
                background-color: var(--bg-deep);
                color: var(--text-primary);
                font-family: var(--font-mono);
                cursor: crosshair;
                overflow-x: hidden;
                min-height: 100vh;
                position: relative;
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
            }
    
            body.night-mode::after {
                content: '';
                position: fixed;
                inset: 0;
                pointer-events: none;
                z-index: 10000;
                background: rgba(255, 179, 0, 0.04);
                mix-blend-mode: overlay;
                transition: background 0.8s ease;
            }
    
            .scanlines-overlay {
                position: fixed;
                inset: 0;
                pointer-events: none;
                z-index: 10001;
                background: repeating-linear-gradient(0deg,
                        transparent,
                        transparent 2px,
                        rgba(0, 0, 0, 0.028) 2px,
                        rgba(0, 0, 0, 0.028) 4px);
                opacity: 0.7;
            }
    
            .noise-overlay {
                position: fixed;
                inset: 0;
                pointer-events: none;
                z-index: 10002;
                opacity: 0.035;
                mix-blend-mode: overlay;
                filter: url(#noise-filter);
            }
    
            #particleCanvas {
                position: fixed;
                inset: 0;
                pointer-events: none;
                z-index: 10003;
            }
    
            #matrixCanvas {
                position: fixed;
                inset: 0;
                pointer-events: none;
                z-index: 10010;
                opacity: 0;
                transition: opacity 0.3s ease;
            }
            #matrixCanvas.active {
                opacity: 1;
            }
    
            #bootScreen {
                position: fixed;
                inset: 0;
                z-index: 20000;
                background: #0B0D0F;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: column;
                transition: opacity 0.5s ease, visibility 0.5s ease;
                opacity: 1;
                visibility: visible;
            }
            #bootScreen.hidden {
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
            }
            #bootContent {
                text-align: center;
                padding: 2rem;
            }
            #bootBanner {
                font-family: var(--font-pixel);
                font-size: clamp(0.8rem, 2.5vw, 1.4rem);
                color: #00FF41;
                text-shadow: 0 0 12px #00FF41, 0 0 30px #00FF41;
                line-height: 1.8;
                white-space: pre;
                min-height: 6em;
            }
            #bootCursor {
                display: inline-block;
                width: 10px;
                height: 1.2em;
                background: #00FF41;
                animation: blink 0.7s step-end infinite;
                vertical-align: text-bottom;
                margin-left: 2px;
                box-shadow: 0 0 10px #00FF41;
            }
            @keyframes blink {
                50% {
                    opacity: 0;
                }
            }
            #bootSubtitle {
                font-family: var(--font-mono);
                color: var(--text-secondary);
                font-size: 0.9rem;
                margin-top: 1.5rem;
                opacity: 0;
                transition: opacity 0.4s ease;
                min-height: 1.5em;
            }
            #bootSubtitle.visible {
                opacity: 1;
            }
    
            .glow-text {
                color: #00FF41;
                text-shadow: 0 0 8px #00FF41;
            }
            .glow-text-strong {
                color: #00FF41;
                text-shadow: 0 0 16px #00FF41, 0 0 32px #00FF41;
            }
            .glow-text-subtle {
                color: #00FF41;
                text-shadow: 0 0 3px #00FF41;
            }
    
            .text-secondary-glow {
                color: var(--text-secondary);
                text-shadow: 0 0 4px rgba(176, 190, 197, 0.3);
            }
            .text-warning-glow {
                color: var(--accent-warning);
                text-shadow: 0 0 10px #FF003C, 0 0 20px #FF003C;
            }
            .text-blue-glow {
                color: var(--accent-blue);
                text-shadow: 0 0 8px #00BFFF;
            }
    
            .ascii-divider {
                font-family: var(--font-mono);
                color: var(--comment-gray);
                font-size: 0.7rem;
                letter-spacing: 0.05em;
                text-align: center;
                padding: 1.5rem 0;
                user-select: none;
                opacity: 0.6;
            }
    
            .article-row {
                border-left: 2px solid transparent;
                padding: 0.75rem 1rem;
                margin: 0.25rem 0;
                transition: all 0.2s ease;
                cursor: pointer;
                position: relative;
                display: block;
                text-decoration: none;
                color: inherit;
            }
            .article-row:hover {
                border-left-color: #00FF41;
                background: rgba(0, 255, 65, 0.03);
                box-shadow: inset 0 0 40px rgba(0, 255, 65, 0.02);
            }
            .article-row:hover .article-title {
                text-shadow: 0 0 12px #00FF41;
            }
            .article-timestamp {
                color: var(--text-secondary);
                font-size: 0.75rem;
                opacity: 0.7;
            }
            .article-tag {
                display: inline-block;
                font-size: 0.65rem;
                padding: 0.15em 0.5em;
                border: 1px solid var(--comment-gray);
                color: var(--comment-gray);
                letter-spacing: 0.04em;
            }
            .article-title {
                font-family: var(--font-mono);
                font-weight: 500;
                color: #00FF41;
                transition: text-shadow 0.2s ease;
            }
            .article-excerpt {
                font-family: var(--font-body);
                color: var(--text-secondary);
                font-size: 0.85rem;
                line-height: 1.5;
                margin-top: 0.3rem;
            }
            .encrypted-badge {
                display: inline-block;
                background: rgba(255, 0, 60, 0.15);
                color: #FF003C;
                font-size: 0.65rem;
                padding: 0.2em 0.6em;
                letter-spacing: 0.08em;
                border: 1px solid rgba(255, 0, 60, 0.4);
                animation: pulse-warn 2s ease-in-out infinite;
            }
            @keyframes pulse-warn {
                0%,
                100% {
                    opacity: 0.7;
                }
                50% {
                    opacity: 1;
                }
            }
    
            #statusBar {
                font-family: var(--font-mono);
                font-size: 0.7rem;
                color: var(--text-secondary);
                border-bottom: 1px solid rgba(84, 110, 122, 0.3);
                padding: 0.5rem 0;
                display: flex;
                flex-wrap: wrap;
                gap: 1.5rem;
                opacity: 0.75;
            }
    
            .command-modal {
                position: fixed;
                inset: 0;
                z-index: 30000;
                background: rgba(11, 13, 15, 0.92);
                display: flex;
                align-items: flex-start;
                justify-content: center;
                padding-top: 18vh;
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.2s ease, visibility 0.2s ease;
            }
            .command-modal.open {
                opacity: 1;
                visibility: visible;
            }
            .command-input-wrap {
                background: #0F1317;
                border: 2px solid #00FF41;
                box-shadow: 0 0 30px rgba(0, 255, 65, 0.2), 0 0 60px rgba(0, 255, 65, 0.08);
                padding: 0.6rem 1rem;
                display: flex;
                align-items: center;
                gap: 0.6rem;
                width: min(560px, 90vw);
                font-family: var(--font-mono);
            }
            .command-input-wrap input {
                background: transparent;
                border: none;
                color: #00FF41;
                font-family: var(--font-mono);
                font-size: 1rem;
                outline: none;
                flex: 1;
                caret-color: #00FF41;
            }
            .command-prompt-symbol {
                color: #00FF41;
                font-weight: 600;
                text-shadow: 0 0 8px #00FF41;
            }
    
            .decrypt-modal {
                position: fixed;
                inset: 0;
                z-index: 30001;
                background: rgba(11, 13, 15, 0.94);
                display: flex;
                align-items: center;
                justify-content: center;
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.25s ease, visibility 0.25s ease;
            }
            .decrypt-modal.open {
                opacity: 1;
                visibility: visible;
            }
            .decrypt-terminal {
                background: #0B0D0F;
                border: 2px solid #FF003C;
                box-shadow: 0 0 40px rgba(255, 0, 60, 0.3), 0 0 80px rgba(255, 0, 60, 0.1);
                padding: 1.5rem;
                width: min(540px, 92vw);
                font-family: var(--font-mono);
            }
            .decrypt-terminal input {
                background: transparent;
                border: none;
                border-bottom: 1px solid #FF003C;
                color: #FF003C;
                font-family: var(--font-mono);
                font-size: 0.9rem;
                outline: none;
                padding: 0.4em 0;
                width: 100%;
                caret-color: #FF003C;
            }
            .decrypt-content {
                font-family: var(--font-body);
                color: #B0BEC5;
                line-height: 1.7;
                max-height: 50vh;
                overflow-y: auto;
                font-size: 0.9rem;
                transition: all 0.5s ease;
            }
            .decrypt-content.scrambled {
                color: #546E7A;
                letter-spacing: 0.15em;
                font-family: var(--font-mono);
                user-select: none;
            }
            .decrypt-content.revealed {
                color: #00FF41;
                text-shadow: 0 0 4px #00FF41;
                letter-spacing: normal;
                font-family: var(--font-body);
            }
    
            #searchBar {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                z-index: 25000;
                background: #0F1317;
                border-bottom: 1px solid #00FF41;
                padding: 0.5rem 1rem;
                display: flex;
                align-items: center;
                gap: 0.6rem;
                transform: translateY(-100%);
                transition: transform 0.2s ease;
                box-shadow: 0 0 30px rgba(0, 255, 65, 0.15);
            }
            #searchBar.visible {
                transform: translateY(0);
            }
            #searchBar input {
                background: transparent;
                border: none;
                color: #00FF41;
                font-family: var(--font-mono);
                font-size: 0.95rem;
                outline: none;
                flex: 1;
                caret-color: #00FF41;
            }
    
            .about-ascii-cam {
                position: relative;
                display: inline-block;
                cursor: crosshair;
                border: 1px dashed #546E7A;
                padding: 4px;
                transition: border-color 0.3s;
            }
            .about-ascii-cam:hover {
                border-color: #00FF41;
                box-shadow: 0 0 16px rgba(0, 255, 65, 0.2);
            }
            .about-ascii-cam canvas {
                display: block;
                image-rendering: pixelated;
            }
    
            @media (max-width: 768px) {
                .article-row {
                    padding: 0.5rem 0.6rem;
                }
                .article-title {
                    font-size: 0.85rem;
                }
                .article-excerpt {
                    font-size: 0.75rem;
                }
                #statusBar {
                    font-size: 0.6rem;
                    gap: 0.8rem;
                }
                #bootBanner {
                    font-size: 0.55rem;
                }
                .ascii-divider {
                    font-size: 0.55rem;
                }
            }
    
            .link-hover-glow {
                transition: all 0.2s ease;
            }
            .link-hover-glow:hover {
                text-shadow: 0 0 14px #00BFFF, 0 0 28px #00BFFF;
                color: #00BFFF;
            }
    
            .fade-in-stagger {
                opacity: 0;
                transform: translateY(8px);
                animation: fadeSlideIn 0.5s ease forwards;
            }
            @keyframes fadeSlideIn {
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
        </style>
    </head>
    <body>
        <svg style="position:fixed;width:0;height:0;" aria-hidden="true">
            <filter id="noise-filter">
                <feTurbulence type="fractalNoise" baseFrequency="0.7" numOctaves="4" stitchTiles="stitch" />
                <feColorMatrix type="matrix" values="1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 0.04 0" />
            </filter>
        </svg>
    
        <div class="scanlines-overlay" aria-hidden="true"></div>
        <div class="noise-overlay" aria-hidden="true"></div>
        <canvas id="particleCanvas" aria-hidden="true"></canvas>
        <canvas id="matrixCanvas" aria-hidden="true"></canvas>
    
        <div id="bootScreen">
            <div id="bootContent">
                <div id="bootBanner"></div>
                <div id="bootSubtitle"></div>
            </div>
        </div>
    
        <div id="searchBar">
            <span style="color:#00FF41;font-family:var(--font-mono);font-size:0.85rem;">/</span>
            <input type="text" id="searchInput" placeholder="搜索文章..." autocomplete="off">
            <span style="color:#546E7A;font-family:var(--font-mono);font-size:0.7rem;">ESC 关闭</span>
        </div>
    
        <main id="mainContent" style="opacity:0;transition:opacity 0.7s ease 0.1s;max-width:900px;margin:0 auto;padding:1.5rem 1.5rem 4rem;">
            <header style="text-align:center;padding:1rem 0 0.5rem;">
                <pre style="font-family:var(--font-mono);font-size:clamp(0.35rem, 1.1vw, 0.55rem);color:#00FF41;text-shadow:0 0 6px #00FF41;line-height:1.15;white-space:pre;overflow-x:auto;letter-spacing:0.02em;" aria-label="ASCII 艺术标题">
    ╔══════════════════════════════════════════════════════════════════╗
    ║  ███╗   ██╗ ██╗   ██╗ ██╗     ██╗      ███████╗ ██╗  ██╗ ███████╗ ██╗     ██╗     ║
    ║  ████╗  ██║ ██║   ██║ ██║     ██║      ██╔════╝ ██║  ██║ ██╔════╝ ██║     ██║     ║
    ║  ██╔██╗ ██║ ██║   ██║ ██║     ██║█████╗███████╗ ███████║ █████╗   ██║     ██║     ║
    ║  ██║╚██╗██║ ██║   ██║ ██║     ██║╚════╝╚════██║ ██╔══██║ ██╔══╝   ██║     ██║     ║
    ║  ██║ ╚████║ ╚██████╔╝ ███████╗██║      ███████║ ██║  ██║ ███████╗ ███████╗███████╗║
    ║  ╚═╝  ╚═══╝  ╚═════╝  ╚══════╝╚═╝      ╚══════╝ ╚═╝  ╚═╝ ╚══════╝ ╚══════╝╚══════╝║
    ╚══════════════════════════════════════════════════════════════════╝
                </pre>
                <p style="font-family:var(--font-mono);color:#546E7A;font-size:0.65rem;margin-top:0.3rem;letter-spacing:0.1em;">
                    [ 思维终端 v3.7.1 ] — 加密通信节点 — 安全连接已建立
                </p>
            </header>
    
            <div id="statusBar" style="margin-top:1rem;">
                <span>📍 节点: <span style="color:#00FF41;">NODE-0xF7A3</span></span>
                <span>🕐 会话: <span id="sessionTime" style="color:#B0BEC5;">--</span></span>
                <span>📡 延迟: <span style="color:#00FF41;">12ms</span></span>
                <span>🔐 TLS: <span style="color:#00FF41;">ACTIVE</span></span>
                <span>📂 目录: <span style="color:#00BFFF;">/var/log/posts</span></span>
            </div>
    
            <div class="ascii-divider" style="margin-top:0.5rem;">
                //==========[ SYSTEM LOG :: 文章列表 ]==========//
            </div>
    
            <section id="articlesList" aria-label="文章列表">
            </section>
    
            <div class="ascii-divider">
                //==========[ ABOUT :: 关于此节点 ]==========//
            </div>
    
            <section id="aboutSection" style="padding:1rem 0;font-family:var(--font-body);color:var(--text-secondary);line-height:1.8;font-size:0.9rem;">
                <p style="color:#00FF41;font-family:var(--font-mono);font-weight:500;margin-bottom:0.8rem;">$ cat /etc/hostinfo</p>
                <p>这个终端是一个<span style="color:#00FF41;text-shadow:0 0 5px #00FF41;">独立技术博客</span>,运行在一个模拟的加密通信节点之上。这里没有追踪器、没有广告、没有社交媒体的喧闹——只有纯粹的技术思考与代码。</p>
                <p style="margin-top:0.6rem;">博主专注于<span style="color:#00BFFF;">系统安全</span>、<span style="color:#00BFFF;">逆向工程</span>与<span style="color:#00BFFF;">隐私技术</span>。这片空间是心智的延伸,每一次提交都是一次对数字世界的勘探。</p>
                <p style="margin-top:0.6rem;color:#546E7A;">$ _ 保持好奇,保持隐匿。</p>
                <div style="margin-top:1.2rem;display:flex;align-items:flex-start;gap:1.5rem;flex-wrap:wrap;">
                    <div class="about-ascii-cam" id="asciiCamTrigger" title="点击开启ASCII自画像摄像头">
                        <canvas id="asciiCamCanvas" width="120" height="90" style="width:120px;height:90px;background:#0B0D0F;"></canvas>
                        <span style="display:block;text-align:center;font-family:var(--font-mono);font-size:0.55rem;color:#546E7A;margin-top:3px;">[ CAM::OFF ]</span>
                    </div>
                    <div style="font-family:var(--font-mono);font-size:0.7rem;color:#546E7A;line-height:1.6;">
                        <span style="color:#00FF41;">PGP指纹:</span><br>9F3A 7B21 C8D4 E601<br>482F 9A3C 1E7B D052<br>
                        <span style="color:#00BFFF;cursor:pointer;" class="link-hover-glow" onclick="navigator.clipboard?.writeText('[email protected]')" title="点击复制">[email protected]</span>
                    </div>
                </div>
            </section>
    
            <div class="ascii-divider">
                //==========[ END OF TRANSMISSION ]==========//
            </div>
    
            <footer style="text-align:center;padding:1rem 0;font-family:var(--font-mono);font-size:0.65rem;color:#546E7A;">
                <span id="footerPrompt">root@nullshell:/var/log/posts# <span class="glow-text-subtle" style="animation:blink 0.9s step-end infinite;">█</span></span>
                <br><span style="font-size:0.55rem;">按 <kbd style="color:#00FF41;border:1px solid #546E7A;padding:0.1em 0.5em;">Ctrl+K</kbd> 打开命令面板 · Vim键导航 · 输入 <kbd style="color:#00FF41;border:1px solid #546E7A;padding:0.1em 0.5em;">matrix</kbd> 激活矩阵</span>
            </footer>
        </main>
    
        <div class="command-modal" id="commandModal" aria-hidden="true">
            <div class="command-input-wrap">
                <span class="command-prompt-symbol">></span>
                <input type="text" id="commandInput" placeholder="输入命令..." autocomplete="off" spellcheck="false">
                <span style="color:#546E7A;font-size:0.65rem;">ESC</span>
            </div>
        </div>
    
        <div class="decrypt-modal" id="decryptModal" aria-hidden="true">
            <div class="decrypt-terminal">
                <p style="color:#FF003C;font-family:var(--font-mono);font-size:0.75rem;margin-bottom:0.6rem;text-shadow:0 0 6px #FF003C;">⚠ SECURE DECRYPTION REQUIRED</p>
                <p style="color:#B0BEC5;font-family:var(--font-mono);font-size:0.7rem;margin-bottom:0.8rem;">$ gpg --decrypt ./classified.log.gpg</p>
                <input type="text" id="decryptKeyInput" placeholder="输入解密密钥..." autocomplete="off" spellcheck="false">
                <p style="color:#546E7A;font-size:0.6rem;margin-top:0.4rem;">提示:博主的名字全拼(小写)</p>
                <div id="decryptContentArea" class="decrypt-content scrambled" style="margin-top:1rem;min-height:3em;">
                    ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
                </div>
                <button id="decryptCloseBtn" style="margin-top:0.8rem;background:transparent;border:1px solid #546E7A;color:#546E7A;font-family:var(--font-mono);font-size:0.65rem;padding:0.3em 0.8em;cursor:crosshair;transition:all 0.2s;" onmouseover="this.style.borderColor='#FF003C';this.style.color='#FF003C';" onmouseout="this.style.borderColor='#546E7A';this.style.color='#546E7A';">[ CLOSE ]</button>
            </div>
        </div>
    
        <script>
            (function() {
                const bootScreen = document.getElementById('bootScreen');
                const bootBanner = document.getElementById('bootBanner');
                const bootSubtitle = document.getElementById('bootSubtitle');
                const mainContent = document.getElementById('mainContent');
                const particleCanvas = document.getElementById('particleCanvas');
                const matrixCanvas = document.getElementById('matrixCanvas');
                const commandModal = document.getElementById('commandModal');
                const commandInput = document.getElementById('commandInput');
                const decryptModal = document.getElementById('decryptModal');
                const decryptKeyInput = document.getElementById('decryptKeyInput');
                const decryptContentArea = document.getElementById('decryptContentArea');
                const decryptCloseBtn = document.getElementById('decryptCloseBtn');
                const searchBar = document.getElementById('searchBar');
                const searchInput = document.getElementById('searchInput');
                const articlesList = document.getElementById('articlesList');
                const asciiCamCanvas = document.getElementById('asciiCamCanvas');
                const asciiCamTrigger = document.getElementById('asciiCamTrigger');
                const sessionTimeEl = document.getElementById('sessionTime');
    
                const DECRYPT_KEY = 'alexander';
                const codenames = ['GHOST_SHELL', 'NEON_PHANTOM', 'CIPHER_WOLF', 'BYTE_GHOST', 'NULL_ROOT', 'DARK_SIGIL',
                    'ZERO_COLD', 'PULSE_SHIFT'
                ];
                const randomCodename = codenames[Math.floor(Math.random() * codenames.length)];
    
                const blogPosts = [{
                    id: 'post-1',
                    date: '2025-11-15 03:27:11',
                    category: '/posts/security',
                    pid: 'PID:4423',
                    tag: 'reverse-engineering',
                    title: '逆向工程入门:从二进制到源代码的旅程',
                    excerpt: '探索可执行文件的内部结构,使用静态分析与动态调试技术揭示程序的隐藏逻辑。本文涵盖ELF格式解析、反汇编基础以及常见的逆向工具链使用指南。',
                    content: '逆向工程是一门将编译后的程序还原为可理解形式的艺术。从解析ELF头部到追踪系统调用,每一个字节都承载着开发者的意图。本文详细介绍了radare2和Ghidra的基本工作流,以及如何通过动态分析捕捉运行时的秘密。',
                    encrypted: false
                }, {
                    id: 'post-2',
                    date: '2025-11-10 18:42:05',
                    category: '/posts/privacy',
                    pid: 'PID:8891',
                    tag: 'privacy',
                    title: '构建你自己的暗网监控节点',
                    excerpt: '在隐私日益稀缺的时代,搭建一个Tor中继节点或暗网监控系统成为了解网络暗流的重要手段。本文从零开始,指导你配置一个安全的.onion服务。',
                    content: 'Tor网络为匿名通信提供了基础设施。通过配置一个中继节点,你不仅可以为网络做出贡献,还能深入观察流量模式。本文涵盖torrc配置、隐藏服务设置以及基本的流量分析工具使用。',
                    encrypted: false
                }, {
                    id: 'post-3',
                    date: '2025-11-05 22:13:38',
                    category: '/posts/classified',
                    pid: 'PID:1024',
                    tag: 'encrypted',
                    title: '数据流分析与隐蔽通信协议',
                    excerpt: '■ 此文章已加密,需要解密密钥才能阅读 ■',
                    content: '本文深入探讨了基于DNS隧道和ICMP隐蔽信道的通信协议设计。通过将数据伪装成正常的网络流量,可以实现高度隐蔽的信息传输。文章详细分析了数据分片策略、编码方案以及检测规避技术,并提供了完整的Python实现示例代码。这种技术在高度受限的网络环境中尤为重要,但同时也需要使用者具备强烈的道德意识。',
                    encrypted: true
                }, {
                    id: 'post-4',
                    date: '2025-10-28 14:55:21',
                    category: '/posts/security',
                    pid: 'PID:2048',
                    tag: 'forensics',
                    title: '系统日志分析:如何发现入侵痕迹',
                    excerpt: '当服务器被入侵时,日志文件是最忠实的见证者。学习如何从syslog、auth.log和journald中提取异常模式,追踪攻击者的每一步操作。',
                    content: '日志分析是安全取证的核心技能。通过建立正常行为的基线,任何偏离都可以成为调查的起点。本文演示了如何使用awk、sed和grep等工具快速筛选大量日志数据,并结合时间线分析重现攻击链。',
                    encrypted: false
                }, {
                    id: 'post-5',
                    date: '2025-10-20 09:11:47',
                    category: '/posts/scripting',
                    pid: 'PID:3072',
                    tag: 'linux',
                    title: '编写高效的Shell脚本:一个实用指南',
                    excerpt: 'Shell脚本是系统管理员的瑞士军刀。从自动化部署到日志轮转,掌握Bash的高级特性可以大幅提升工作效率。',
                    content: '好的Shell脚本应该具备错误处理、参数解析和清晰的代码结构。本文分享了在多年运维工作中积累的实用模式,包括trap信号处理、关联数组的使用以及并行任务管理技巧。',
                    encrypted: false
                }, {
                    id: 'post-6',
                    date: '2025-10-14 01:33:09',
                    category: '/posts/classified',
                    pid: 'PID:4096',
                    tag: 'encrypted',
                    title: '密码学在即时通讯中的应用',
                    excerpt: '■ 此文章已加密,需要解密密钥才能阅读 ■',
                    content: '端到端加密是现代即时通讯的基石。本文详细剖析了Signal协议的双棘轮机制,从X3DH密钥协商到Double Ratchet消息加密的完整流程。同时探讨了前向安全性和后向安全性的数学原理,以及在实际部署中可能遇到的密钥管理挑战。理解这些协议不仅有助于选择合适的通讯工具,更能启发你设计自己的安全系统。',
                    encrypted: true
                }];
    
                let currentDecryptPost = null;
                let camStream = null;
                let camAnimationId = null;
                let camActive = false;
                let searchVisible = false;
    
                function updateSessionTime() {
                    const now = new Date();
                    sessionTimeEl.textContent = now.toLocaleTimeString('zh-CN', { hour12: false }) + ' UTC+8';
                }
                updateSessionTime();
                setInterval(updateSessionTime, 30000);
    
                function checkNightMode() {
                    const hour = new Date().getHours();
                    if (hour >= 20 || hour < 6) {
                        document.body.classList.add('night-mode');
                    } else {
                        document.body.classList.remove('night-mode');
                    }
                }
                checkNightMode();
                setInterval(checkNightMode, 60000);
    
                function renderArticles(filterText = '') {
                    const filter = filterText.toLowerCase().trim();
                    const filtered = filter ? blogPosts.filter(p =>
                        p.title.toLowerCase().includes(filter) ||
                        p.tag.toLowerCase().includes(filter) ||
                        p.excerpt.toLowerCase().includes(filter) ||
                        p.category.toLowerCase().includes(filter)
                    ) : blogPosts;
    
                    articlesList.innerHTML = filtered.map((post, i) => {
                        const tagClass = post.encrypted ? 'encrypted-badge' : 'article-tag';
                        const tagText = post.encrypted ? '[ENCRYPTED]' : post.tag;
                        const titleText = post.encrypted ?
                            '■ ' + post.title + ' ■' : post.title;
                        const excerptText = post.encrypted ?
                            '■ 此文章已加密,需要解密密钥才能阅读 ■' : post.excerpt;
                        const onClickAttr = post.encrypted ?
                            `onclick="openDecrypt('${post.id}')"` :
                            `onclick="toggleArticleContent('${post.id}')"`;
                        const styleAttr = post.encrypted ?
                            'style="border-left-color:#FF003C;animation:pulse-warn 3s ease-in-out infinite;"' :
                            '';
    
                        return `
                    <article class="article-row fade-in-stagger" data-post-id="${post.id}" ${onClickAttr} ${styleAttr} id="article-${post.id}" style="animation-delay:${i * 0.06}s;">
                      <div style="display:flex;flex-wrap:wrap;gap:0.6rem;align-items:center;margin-bottom:0.2rem;">
                        <span class="article-timestamp">[${post.date}]</span>
                        <span style="color:#00BFFF;font-size:0.7rem;">${post.category}</span>
                        <span class="${tagClass}">${tagText}</span>
                        <span style="color:#546E7A;font-size:0.6rem;">${post.pid}</span>
                      </div>
                      <span class="article-title" style="font-size:1rem;">${titleText}</span>
                      <p class="article-excerpt">${excerptText}</p>
                      <div class="article-full-content" id="content-${post.id}" style="display:none;font-family:var(--font-body);color:#B0BEC5;line-height:1.7;font-size:0.85rem;padding:0.6rem 0;border-top:1px dashed rgba(84,110,122,0.3);margin-top:0.4rem;">
                        ${post.content}
                      </div>
                    </article>`;
                    }).join('');
    
                    if (filtered.length === 0 && filterText) {
                        articlesList.innerHTML =
                            '<p style="color:#546E7A;font-family:var(--font-mono);font-size:0.8rem;text-align:center;padding:2rem;">$ find . -name "*' +
                            filterText + '*"<br>// 未找到匹配的文章</p>';
                    }
                }
    
                function toggleArticleContent(postId) {
                    const contentEl = document.getElementById('content-' + postId);
                    if (contentEl) {
                        const isHidden = contentEl.style.display === 'none';
                        contentEl.style.display = isHidden ? 'block' : 'none';
                        const articleRow = document.getElementById('article-' + postId);
                        if (articleRow && isHidden) {
                            articleRow.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
                        }
                    }
                }
    
                window.toggleArticleContent = toggleArticleContent;
    
                function openDecrypt(postId) {
                    currentDecryptPost = blogPosts.find(p => p.id === postId);
                    if (!currentDecryptPost) return;
                    decryptContentArea.classList.add('scrambled');
                    decryptContentArea.classList.remove('revealed');
                    decryptContentArea.textContent =
                        '■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■';
                    decryptKeyInput.value = '';
                    decryptModal.classList.add('open');
                    decryptModal.setAttribute('aria-hidden', 'false');
                    setTimeout(() => decryptKeyInput.focus(), 150);
                }
                window.openDecrypt = openDecrypt;
    
                function closeDecrypt() {
                    decryptModal.classList.remove('open');
                    decryptModal.setAttribute('aria-hidden', 'true');
                    currentDecryptPost = null;
                    decryptContentArea.classList.add('scrambled');
                    decryptContentArea.classList.remove('revealed');
                }
    
                decryptCloseBtn.addEventListener('click', closeDecrypt);
                decryptModal.addEventListener('click', function(e) {
                    if (e.target === decryptModal) closeDecrypt();
                });
    
                decryptKeyInput.addEventListener('keydown', function(e) {
                    if (e.key === 'Enter') {
                        const key = decryptKeyInput.value.trim().toLowerCase();
                        if (key === DECRYPT_KEY && currentDecryptPost) {
                            decryptContentArea.classList.remove('scrambled');
                            decryptContentArea.classList.add('revealed');
                            decryptContentArea.textContent = '';
                            const fullText = currentDecryptPost.content;
                            let charIndex = 0;
                            decryptContentArea.textContent = '';
                            const revealInterval = setInterval(() => {
                                if (charIndex < fullText.length) {
                                    decryptContentArea.textContent += fullText[charIndex];
                                    charIndex++;
                                    decryptContentArea.scrollTop = decryptContentArea.scrollHeight;
                                } else {
                                    clearInterval(revealInterval);
                                }
                            }, 12);
                        } else {
                            decryptContentArea.textContent = '[!] 解密失败:密钥无效。访问被拒绝。';
                            decryptContentArea.style.color = '#FF003C';
                            setTimeout(() => {
                                decryptContentArea.style.color = '';
                                decryptContentArea.classList.add('scrambled');
                                decryptContentArea.classList.remove('revealed');
                                decryptContentArea.textContent =
                                    '■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■';
                            }, 1200);
                        }
                    }
                    if (e.key === 'Escape') {
                        closeDecrypt();
                    }
                });
    
                function openCommandPalette() {
                    commandModal.classList.add('open');
                    commandModal.setAttribute('aria-hidden', 'false');
                    commandInput.value = '';
                    setTimeout(() => commandInput.focus(), 100);
                }
    
                function closeCommandPalette() {
                    commandModal.classList.remove('open');
                    commandModal.setAttribute('aria-hidden', 'true');
                }
    
                commandModal.addEventListener('click', function(e) {
                    if (e.target === commandModal) closeCommandPalette();
                });
    
                commandInput.addEventListener('keydown', function(e) {
                    if (e.key === 'Escape') {
                        closeCommandPalette();
                    }
                    if (e.key === 'Enter') {
                        const cmd = commandInput.value.trim().toLowerCase();
                        executeCommand(cmd);
                        closeCommandPalette();
                    }
                });
    
                function executeCommand(cmd) {
                    switch (cmd) {
                        case 'matrix':
                            triggerMatrixRain();
                            break;
                        case 'help':
                            alert(
                                '可用命令:\n> matrix - 激活矩阵雨\n> help - 显示帮助\n> clear - 清除筛选\n> about - 关于信息\n> whoami - 显示身份\n> date - 当前时间\n> posts - 列出所有文章\n> exit - 关闭面板');
                            break;
                        case 'clear':
                            searchInput.value = '';
                            renderArticles('');
                            break;
                        case 'about':
                            document.getElementById('aboutSection')?.scrollIntoView({ behavior: 'smooth' });
                            break;
                        case 'whoami':
                            alert('身份: ' + randomCodename + '\n节点: NODE-0xF7A3\n访问级别: ROOT\n状态: 活跃');
                            break;
                        case 'date':
                            alert(new Date().toLocaleString('zh-CN', { hour12: false }));
                            break;
                        case 'posts':
                            document.getElementById('articlesList')?.scrollIntoView({ behavior: 'smooth' });
                            break;
                        case 'exit':
                            break;
                        default:
                            if (cmd.length > 0) {
                                const found = blogPosts.find(p =>
                                    p.title.toLowerCase().includes(cmd) ||
                                    p.tag.toLowerCase().includes(cmd)
                                );
                                if (found) {
                                    document.getElementById('article-' + found.id)?.scrollIntoView({ behavior: 'smooth' });
                                    if (found.encrypted) openDecrypt(found.id);
                                    else toggleArticleContent(found.id);
                                }
                            }
                    }
                }
    
                function triggerMatrixRain() {
                    matrixCanvas.classList.add('active');
                    const ctx = matrixCanvas.getContext('2d');
                    matrixCanvas.width = window.innerWidth;
                    matrixCanvas.height = window.innerHeight;
                    const chars = 'アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲン0123456789ABCDEF';
                    const fontSize = 14;
                    const columns = Math.floor(matrixCanvas.width / fontSize);
                    const drops = new Array(columns).fill(1);
                    let frameCount = 0;
                    const maxFrames = 180;
    
                    function drawMatrix() {
                        ctx.fillStyle = 'rgba(11, 13, 15, 0.06)';
                        ctx.fillRect(0, 0, matrixCanvas.width, matrixCanvas.height);
                        ctx.fillStyle = '#00FF41';
                        ctx.font = fontSize + 'px "JetBrains Mono", monospace';
                        ctx.shadowColor = '#00FF41';
                        ctx.shadowBlur = 6;
                        for (let i = 0; i < drops.length; i++) {
                            const text = chars[Math.floor(Math.random() * chars.length)];
                            ctx.fillText(text, i * fontSize, drops[i] * fontSize);
                            if (drops[i] * fontSize > matrixCanvas.height && Math.random() > 0.975) {
                                drops[i] = 0;
                            }
                            drops[i]++;
                        }
                        ctx.shadowBlur = 0;
                        frameCount++;
                        if (frameCount < maxFrames) {
                            matrixAnimId = requestAnimationFrame(drawMatrix);
                        } else {
                            fadeMatrixOut();
                        }
                    }
                    let matrixAnimId = requestAnimationFrame(drawMatrix);
    
                    function fadeMatrixOut() {
                        const fadeInterval = setInterval(() => {
                            const currentOpacity = parseFloat(matrixCanvas.style.opacity || 1);
                            if (currentOpacity <= 0.02) {
                                clearInterval(fadeInterval);
                                matrixCanvas.classList.remove('active');
                                matrixCanvas.style.opacity = 0;
                                ctx.clearRect(0, 0, matrixCanvas.width, matrixCanvas.height);
                            } else {
                                matrixCanvas.style.opacity = currentOpacity - 0.04;
                            }
                        }, 30);
                    }
                    setTimeout(() => {
                        if (matrixCanvas.classList.contains('active')) {
                            fadeMatrixOut();
                            if (matrixAnimId) cancelAnimationFrame(matrixAnimId);
                        }
                    }, 7000);
                }
    
                function toggleSearch() {
                    searchVisible = !searchVisible;
                    if (searchVisible) {
                        searchBar.classList.add('visible');
                        searchInput.focus();
                    } else {
                        searchBar.classList.remove('visible');
                        searchInput.value = '';
                        renderArticles('');
                    }
                }
    
                searchInput.addEventListener('input', function() {
                    renderArticles(searchInput.value);
                });
                searchInput.addEventListener('keydown', function(e) {
                    if (e.key === 'Escape') {
                        searchVisible = false;
                        searchBar.classList.remove('visible');
                        searchInput.value = '';
                        renderArticles('');
                    }
                });
    
                document.addEventListener('keydown', function(e) {
                    if (e.key === 'k' && !e.ctrlKey && !e.metaKey && !e.altKey) {
                        const activeEl = document.activeElement;
                        if (activeEl && (activeEl.tagName === 'INPUT' || activeEl.tagName === 'TEXTAREA'))
                            return;
                        if (commandModal.classList.contains('open')) return;
                        if (decryptModal.classList.contains('open')) return;
                        if (searchVisible) return;
                        window.scrollBy({ top: -200, behavior: 'smooth' });
                    }
                    if (e.key === 'j' && !e.ctrlKey && !e.metaKey && !e.altKey) {
                        const activeEl = document.activeElement;
                        if (activeEl && (activeEl.tagName === 'INPUT' || activeEl.tagName === 'TEXTAREA'))
                            return;
                        if (commandModal.classList.contains('open')) return;
                        if (decryptModal.classList.contains('open')) return;
                        if (searchVisible) return;
                        window.scrollBy({ top: 200, behavior: 'smooth' });
                    }
                    if (e.key === '/' && !e.ctrlKey && !e.metaKey && !e.altKey) {
                        const activeEl = document.activeElement;
                        if (activeEl && (activeEl.tagName === 'INPUT' || activeEl.tagName === 'TEXTAREA'))
                            return;
                        if (commandModal.classList.contains('open')) return;
                        if (decryptModal.classList.contains('open')) return;
                        e.preventDefault();
                        toggleSearch();
                    }
                    if (e.key === 'Escape') {
                        if (searchVisible) {
                            searchVisible = false;
                            searchBar.classList.remove('visible');
                            searchInput.value = '';
                            renderArticles('');
                        }
                        if (commandModal.classList.contains('open')) closeCommandPalette();
                        if (decryptModal.classList.contains('open')) closeDecrypt();
                    }
                    if ((e.ctrlKey || e.metaKey) && e.key === 'k') {
                        e.preventDefault();
                        if (commandModal.classList.contains('open')) {
                            closeCommandPalette();
                        } else {
                            openCommandPalette();
                        }
                    }
                });
    
                (function initParticleSystem() {
                    const ctx = particleCanvas.getContext('2d');
                    let particles = [];
                    const maxParticles = 60;
                    let mouseX = -100;
                    let mouseY = -100;
                    let width, height;
    
                    function resize() {
                        width = particleCanvas.width = window.innerWidth;
                        height = particleCanvas.height = window.innerHeight;
                    }
                    resize();
                    window.addEventListener('resize', resize);
    
                    document.addEventListener('mousemove', function(e) {
                        mouseX = e.clientX;
                        mouseY = e.clientY;
                        spawnParticles(mouseX, mouseY, 3);
                    });
                    document.addEventListener('touchmove', function(e) {
                        if (e.touches.length > 0) {
                            mouseX = e.touches[0].clientX;
                            mouseY = e.touches[0].clientY;
                            spawnParticles(mouseX, mouseY, 2);
                        }
                    }, { passive: true });
                    document.addEventListener('click', function(e) {
                        spawnParticles(e.clientX, e.clientY, 8);
                    });
    
                    function spawnParticles(x, y, count) {
                        for (let i = 0; i < count; i++) {
                            if (particles.length >= maxParticles) particles.shift();
                            particles.push({
                                x: x,
                                y: y,
                                vx: (Math.random() - 0.5) * 2.5,
                                vy: (Math.random() - 0.5) * 2.5 - Math.random() * 1.5,
                                life: 1,
                                decay: 0.015 + Math.random() * 0.04,
                                size: 1 + Math.random() * 2.5,
                            });
                        }
                    }
    
                    function animateParticles() {
                        ctx.clearRect(0, 0, width, height);
                        for (let i = particles.length - 1; i >= 0; i--) {
                            const p = particles[i];
                            p.x += p.vx;
                            p.y += p.vy;
                            p.life -= p.decay;
                            if (p.life <= 0) {
                                particles.splice(i, 1);
                                continue;
                            }
                            ctx.fillStyle = `rgba(0,255,65,${p.life * 0.7})`;
                            ctx.shadowColor = '#00FF41';
                            ctx.shadowBlur = p.life * 8;
                            ctx.beginPath();
                            ctx.arc(p.x, p.y, p.size, 0, Math.PI * 2);
                            ctx.fill();
                            ctx.shadowBlur = 0;
                        }
                        requestAnimationFrame(animateParticles);
                    }
                    animateParticles();
                })();
    
                function bootSequence() {
                    const bannerLines = [
                        '   ███╗   ██╗ ██╗   ██╗ ██╗     ██╗      ',
                        '   ████╗  ██║ ██║   ██║ ██║     ██║      ',
                        '   ██╔██╗ ██║ ██║   ██║ ██║     ██║      ',
                        '   ██║╚██╗██║ ██║   ██║ ██║     ██║      ',
                        '   ██║ ╚████║ ╚██████╔╝ ███████╗███████╗ ',
                        '   ╚═╝  ╚═══╝  ╚═════╝  ╚══════╝╚══════╝ ',
                    ];
                    const fullBanner = bannerLines.join('\n');
                    let charIndex = 0;
                    bootBanner.textContent = '';
    
                    const typeInterval = setInterval(() => {
                        if (charIndex < fullBanner.length) {
                            bootBanner.textContent = fullBanner.substring(0, charIndex + 1) + '█';
                            charIndex++;
                        } else {
                            clearInterval(typeInterval);
                            bootBanner.textContent = fullBanner;
                            setTimeout(() => {
                                bootBanner.innerHTML = fullBanner.replace(/\n/g, '<br>') +
                                    '<br><span style="font-size:0.65em;color:#00BFFF;">[ NODE AUTHENTICATED ]</span>';
                                bootSubtitle.textContent = '> ACCESS GRANTED. Welcome back, ' +
                                    randomCodename + '.';
                                bootSubtitle.classList.add('visible');
                                setTimeout(() => {
                                    bootScreen.classList.add('hidden');
                                    mainContent.style.opacity = '1';
                                    document.body.style.overflow = '';
                                    renderArticles();
                                    updateSessionTime();
                                }, 1000);
                            }, 300);
                        }
                    }, 28);
    
                    document.body.style.overflow = 'hidden';
                }
    
                document.addEventListener('DOMContentLoaded', function() {
                    document.body.style.overflow = 'hidden';
                    mainContent.style.opacity = '0';
                    setTimeout(bootSequence, 400);
                });
    
                bootScreen.addEventListener('click', function(e) {
                    if (e.target === bootScreen) {
                        bootScreen.classList.add('hidden');
                        mainContent.style.opacity = '1';
                        document.body.style.overflow = '';
                        renderArticles();
                        updateSessionTime();
                    }
                });
    
                asciiCamTrigger.addEventListener('click', async function() {
                    if (camActive) {
                        stopAsciiCam();
                        return;
                    }
                    try {
                        const stream = await navigator.mediaDevices.getUserMedia({
                            video: { width: 160, height: 120, facingMode: 'user' }
                        });
                        camStream = stream;
                        camActive = true;
                        asciiCamTrigger.querySelector('span').textContent = '[ CAM::ON ]';
                        asciiCamTrigger.querySelector('span').style.color = '#00FF41';
                        asciiCamTrigger.style.borderColor = '#00FF41';
                        startAsciiCam(stream);
                    } catch (err) {
                        alert('[!] 无法访问摄像头: ' + err.message);
                    }
                });
    
                function startAsciiCam(stream) {
                    const video = document.createElement('video');
                    video.srcObject = stream;
                    video.autoplay = true;
                    video.playsInline = true;
                    video.muted = true;
                    const offCanvas = document.createElement('canvas');
                    offCanvas.width = 80;
                    offCanvas.height = 60;
                    const offCtx = offCanvas.getContext('2d');
                    const asciiChars = '@%#*+=-:. ';
                    const displayCanvas = asciiCamCanvas;
                    const displayCtx = displayCanvas.getContext('2d');
                    displayCanvas.width = 120;
                    displayCanvas.height = 90;
    
                    function renderFrame() {
                        if (!camActive) return;
                        offCtx.drawImage(video, 0, 0, 80, 60);
                        const imageData = offCtx.getImageData(0, 0, 80, 60);
                        const pixels = imageData.data;
                        displayCtx.fillStyle = '#0B0D0F';
                        displayCtx.fillRect(0, 0, 120, 90);
                        displayCtx.font = '7px "JetBrains Mono", monospace';
                        displayCtx.fillStyle = '#00FF41';
                        displayCtx.textShadow = '0 0 3px #00FF41';
                        for (let y = 0; y < 60; y += 2) {
                            for (let x = 0; x < 80; x += 2) {
                                const idx = (y * 80 + x) * 4;
                                const brightness = (pixels[idx] + pixels[idx + 1] + pixels[idx + 2]) / 3;
                                const charIndex = Math.floor(brightness / 255 * (asciiChars.length - 1));
                                const char = asciiChars[charIndex];
                                displayCtx.fillText(char, x * 1.5, y * 1.5 + 7);
                            }
                        }
                        displayCtx.textShadow = 'none';
                        camAnimationId = requestAnimationFrame(renderFrame);
                    }
                    video.addEventListener('loadeddata', () => {
                        renderFrame();
                    });
                    video.play();
                }
    
                function stopAsciiCam() {
                    camActive = false;
                    if (camAnimationId) cancelAnimationFrame(camAnimationId);
                    if (camStream) {
                        camStream.getTracks().forEach(t => t.stop());
                        camStream = null;
                    }
                    asciiCamTrigger.querySelector('span').textContent = '[ CAM::OFF ]';
                    asciiCamTrigger.querySelector('span').style.color = '#546E7A';
                    asciiCamTrigger.style.borderColor = '#546E7A';
                    const displayCtx = asciiCamCanvas.getContext('2d');
                    displayCtx.fillStyle = '#0B0D0F';
                    displayCtx.fillRect(0, 0, 120, 90);
                    displayCtx.fillStyle = '#546E7A';
                    displayCtx.font = '10px "JetBrains Mono", monospace';
                    displayCtx.fillText('[CAM OFF]', 8, 48);
                }
    
                window.addEventListener('resize', function() {
                    if (matrixCanvas.classList.contains('active')) {
                        matrixCanvas.width = window.innerWidth;
                        matrixCanvas.height = window.innerHeight;
                    }
                });
    
                console.log('%c> SYSTEM ONLINE %c| %cNODE: ' + randomCodename +
                    ' %c| %cREADY',
                    'color:#00FF41;font-family:monospace;',
                    '',
                    'color:#00BFFF;font-family:monospace;',
                    '',
                    'color:#546E7A;font-family:monospace;');
                console.log('%c  按 Ctrl+K 打开命令面板 | 输入 matrix 激活彩蛋',
                    'color:#B0BEC5;font-family:monospace;font-size:0.8em;');
            })();
        </script>
    </body>
    </html>
    

    附上代码hhh,新用户没法发压缩包

    1
  19. Str Ehrenmitglied Meister OP vor 6 Mon.

    已添加,感谢提交

    0
  20. LOsEE Diamant Talentförderer vor 6 Mon.

    开源不 也想自己部署个玩玩

    1
  21. Str Ehrenmitglied Meister OP vor 6 Mon.

    这部分是纯前端,调用的api

    0
  22. LOsEE Diamant Talentförderer vor 6 Mon.

    知道 想自己部署一个用自己其他api :ac13:

    0
  23. Str Ehrenmitglied Meister OP vor 6 Mon.

    可以直接把首页保存下来就可以啦

    1
  24. CBlocks Silber vor 6 Mon.

    修仙

    <!DOCTYPE html>
    <html lang="zh-CN">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>修仙 — 宗门</title>
        <script src="https://cdn.tailwindcss.com">
        </script>
        <script src="https://unpkg.com/lucide@latest">
        </script>
        <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Noto+Serif+SC:wght@200;300;400;500;600;700;900&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
        <style>
            :root {
                --void: #0A0B0A;
                --bone: #F4F0E6;
                --jade: #7C8B78;
                --spirit-gold: #B99B6B;
                --cinnabar: #3E1F1F;
                --mist-deep: #1A1D20;
                --mist-mid: #2C3338;
                --font-display: 'Cormorant Garamond', 'Noto Serif SC', serif;
                --font-body: 'Noto Serif SC', serif;
                --font-ui: 'Space Mono', monospace;
                --scroll-progress: 0;
                --bg-hue: 0;
                --qi-level: 0;
                --dawn-mix: 0;
            }
    
            * {
                cursor: none !important;
                box-sizing: border-box;
            }
            html {
                scroll-behavior: auto;
                background: var(--void);
                overflow-x: hidden;
            }
            body {
                margin: 0;
                padding: 0;
                font-family: var(--font-body);
                background: var(--void);
                color: var(--bone);
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
                overflow-x: hidden;
                min-height: 100vh;
                user-select: none;
                -webkit-user-select: none;
            }
    
            #noise-overlay {
                position: fixed;
                inset: 0;
                pointer-events: none;
                z-index: 9998;
                opacity: 0.04;
                mix-blend-mode: overlay;
                background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
                background-size: 256px 256px;
                animation: noiseDrift 20s linear infinite;
            }
            @keyframes noiseDrift {
                0% {
                    transform: translate(0, 0);
                }
                25% {
                    transform: translate(-8px, 4px);
                }
                50% {
                    transform: translate(4px, -6px);
                }
                75% {
                    transform: translate(-3px, 8px);
                }
                100% {
                    transform: translate(0, 0);
                }
            }
    
            #cursor-flame {
                position: fixed;
                pointer-events: none;
                z-index: 9999;
                width: 32px;
                height: 32px;
                transform: translate(-50%, -50%);
                filter: blur(0.5px);
                transition: width 0.3s ease, height 0.3s ease, filter 0.3s ease;
            }
            #cursor-flame .flame-core {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background: radial-gradient(circle, #F4F0E6 0%, #B99B6B 30%, #7C8B7800 70%);
                box-shadow: 0 0 18px 4px rgba(185, 155, 107, 0.7), 0 0 40px 12px rgba(185, 155, 107, 0.25);
                animation: flamePulse 1.5s ease-in-out infinite;
            }
            #cursor-flame .flame-aura {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 22px;
                height: 22px;
                border-radius: 50%;
                background: radial-gradient(circle, rgba(185, 155, 107, 0.5) 0%, rgba(185, 155, 107, 0.08) 50%, transparent 70%);
                animation: flameAura 2s ease-in-out infinite;
            }
            #cursor-flame .flame-wisp {
                position: absolute;
                top: 50%;
                left: 50%;
                width: 6px;
                height: 14px;
                background: radial-gradient(ellipse at center, rgba(244, 240, 230, 0.9) 0%, rgba(185, 155, 107, 0.4) 40%, transparent 70%);
                border-radius: 50%;
                transform-origin: bottom center;
                animation: wispFlicker 0.8s ease-in-out infinite;
            }
            #cursor-flame .flame-wisp:nth-child(3) {
                animation-delay: 0.25s;
                transform-origin: bottom center;
                width: 5px;
                height: 11px;
                margin-left: -3px;
            }
            #cursor-flame .flame-wisp:nth-child(4) {
                animation-delay: 0.5s;
                transform-origin: bottom center;
                width: 4px;
                height: 9px;
                margin-left: 2px;
            }
            @keyframes flamePulse {
                0%,
                100% {
                    transform: translate(-50%, -50%) scale(1);
                    box-shadow: 0 0 18px 4px rgba(185, 155, 107, 0.7), 0 0 40px 12px rgba(185, 155, 107, 0.25);
                }
                50% {
                    transform: translate(-50%, -50%) scale(1.35);
                    box-shadow: 0 0 24px 8px rgba(185, 155, 107, 0.9), 0 0 50px 18px rgba(185, 155, 107, 0.35);
                }
            }
            @keyframes flameAura {
                0%,
                100% {
                    transform: translate(-50%, -50%) scale(1);
                    opacity: 0.7;
                }
                60% {
                    transform: translate(-50%, -50%) scale(1.8);
                    opacity: 0.3;
                }
            }
            @keyframes wispFlicker {
                0%,
                100% {
                    transform: translate(-50%, -80%) rotate(-5deg) scaleY(1);
                    opacity: 0.8;
                }
                30% {
                    transform: translate(-50%, -85%) rotate(3deg) scaleY(1.4);
                    opacity: 1;
                }
                60% {
                    transform: translate(-50%, -78%) rotate(-2deg) scaleY(0.7);
                    opacity: 0.5;
                }
            }
            #cursor-flame.idle .flame-core {
                animation: flamePulseIdle 3s ease-in-out infinite;
                box-shadow: 0 0 6px 2px rgba(185, 155, 107, 0.3), 0 0 14px 4px rgba(185, 155, 107, 0.1);
                width: 5px;
                height: 5px;
            }
            #cursor-flame.idle .flame-aura {
                animation: flameAuraIdle 4s ease-in-out infinite;
                width: 10px;
                height: 10px;
            }
            #cursor-flame.idle .flame-wisp {
                opacity: 0.25;
                animation-duration: 2.5s;
            }
            @keyframes flamePulseIdle {
                0%,
                100% {
                    transform: translate(-50%, -50%) scale(1);
                }
                50% {
                    transform: translate(-50%, -50%) scale(1.6);
                }
            }
            @keyframes flameAuraIdle {
                0%,
                100% {
                    transform: translate(-50%, -50%) scale(1);
                    opacity: 0.3;
                }
                60% {
                    transform: translate(-50%, -50%) scale(2.2);
                    opacity: 0.1;
                }
            }
    
            #flame-trail-canvas {
                position: fixed;
                inset: 0;
                pointer-events: none;
                z-index: 9997;
            }
    
            #loading-overlay {
                position: fixed;
                inset: 0;
                z-index: 10000;
                background: var(--void);
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-end;
                transition: opacity 1.2s ease, visibility 1.2s ease;
            }
            #loading-overlay.hidden {
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
            }
            #loading-ink-container {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                height: 100%;
                overflow: hidden;
                pointer-events: none;
            }
            #loading-ink-fill {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                background: linear-gradient(to top,
                        #0A0B0A 0%,
                        #0E100F 30%,
                        #1A1D20 60%,
                        #2C3338 85%,
                        #3a4238 95%,
                        transparent 100%);
                transition: height 0.05s linear;
                height: 0%;
            }
            #loading-ink-fill::after {
                content: '';
                position: absolute;
                top: -40px;
                left: 0;
                right: 0;
                height: 60px;
                background: linear-gradient(to top,
                        rgba(44, 51, 56, 0.3) 0%,
                        rgba(26, 29, 32, 0.15) 40%,
                        transparent 100%);
                filter: blur(8px);
            }
            #loading-mountains {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                pointer-events: none;
            }
            #loading-mountains svg {
                width: 100%;
                height: auto;
                display: block;
            }
            #loading-qi-pool {
                position: relative;
                z-index: 1;
                margin-bottom: 8vh;
                text-align: center;
                pointer-events: none;
            }
            #loading-qi-pool .pool-label {
                font-family: var(--font-ui);
                font-size: 10px;
                letter-spacing: 6px;
                color: var(--jade);
                text-transform: uppercase;
                margin-bottom: 12px;
                opacity: 0.7;
            }
            #loading-qi-pool .pool-bar-outer {
                width: 200px;
                height: 2px;
                background: rgba(124, 139, 120, 0.25);
                border-radius: 1px;
                margin: 0 auto;
                overflow: hidden;
                position: relative;
            }
            #loading-qi-pool .pool-bar-inner {
                height: 100%;
                background: var(--spirit-gold);
                border-radius: 1px;
                transition: width 0.1s linear;
                width: 0%;
                box-shadow: 0 0 8px rgba(185, 155, 107, 0.6);
            }
            #loading-qi-pool .pool-hint {
                font-family: var(--font-body);
                font-size: 13px;
                color: var(--bone);
                opacity: 0.5;
                margin-top: 16px;
                letter-spacing: 2px;
                animation: hintFade 3s ease-in-out infinite;
            }
            @keyframes hintFade {
                0%,
                100% {
                    opacity: 0.3;
                }
                50% {
                    opacity: 0.7;
                }
            }
            #loading-qi-pool .pool-scroll-indicator {
                display: inline-block;
                margin-top: 6px;
                animation: scrollUpHint 2s ease-in-out infinite;
            }
            @keyframes scrollUpHint {
                0%,
                100% {
                    transform: translateY(0);
                    opacity: 0.4;
                }
                50% {
                    transform: translateY(-12px);
                    opacity: 1;
                }
            }
    
            #scroll-container {
                position: relative;
                z-index: 1;
            }
            #parallax-bg {
                position: fixed;
                inset: 0;
                pointer-events: none;
                z-index: 0;
                transition: background 1.5s ease;
                background: radial-gradient(ellipse at 50% 100%, #1a1d20 0%, #0A0B0A 55%, #050605 100%);
            }
            #parallax-bg.dawn {
                background: radial-gradient(ellipse at 50% 100%, #3a3528 0%, #1a1810 30%, #0A0B0A 55%, #0a0905 100%);
            }
            #parallax-bg .bg-mountain-far {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                height: 55vh;
                opacity: 0.5;
                transition: transform 0.05s linear, opacity 1.5s ease;
            }
            #parallax-bg .bg-mountain-near {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                height: 40vh;
                opacity: 0.7;
                transition: transform 0.05s linear, opacity 1.5s ease;
            }
            #parallax-bg .bg-mountain-near svg,
            #parallax-bg .bg-mountain-far svg {
                width: 100%;
                height: 100%;
                preserveaspectratio: none;
            }
            #parallax-fg {
                position: fixed;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                pointer-events: none;
                z-index: 2;
                width: 180px;
                height: 320px;
                transition: transform 0.05s linear, opacity 1.5s ease;
            }
            #parallax-fg .fg-tree {
                width: 100%;
                height: 100%;
                opacity: 0.55;
            }
    
            #main-content {
                position: relative;
                z-index: 3;
                padding-top: 20vh;
                min-height: 280vh;
            }
            .scroll-section {
                min-height: 60vh;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding: 4rem 2rem;
                position: relative;
            }
            .scroll-section.hero-section {
                min-height: 90vh;
                justify-content: flex-start;
                padding-top: 18vh;
            }
            .section-title-display {
                font-family: var(--font-display);
                font-size: clamp(5rem, 10vw, 9rem);
                font-weight: 300;
                letter-spacing: 0.08em;
                color: var(--bone);
                text-align: center;
                line-height: 1;
                transition: color 1.5s ease;
            }
            .section-title-display.gold-shift {
                color: var(--spirit-gold);
            }
            .section-subtitle {
                font-family: var(--font-body);
                font-size: clamp(1rem, 2vw, 1.35rem);
                font-weight: 300;
                letter-spacing: 0.15em;
                color: var(--jade);
                text-align: center;
                margin-top: 1.5rem;
                opacity: 0.7;
                transition: opacity 1.5s ease;
            }
            .verse-text {
                font-family: var(--font-body);
                font-size: 1.1rem;
                font-weight: 300;
                letter-spacing: 0.1em;
                line-height: 2.2;
                color: var(--bone);
                opacity: 0.6;
                text-align: center;
                max-width: 500px;
                transition: opacity 1.5s ease, color 1.5s ease;
            }
            .verse-text.lit {
                opacity: 0.9;
                color: var(--spirit-gold);
            }
            .micro-quote {
                font-family: var(--font-display);
                font-size: 8px;
                letter-spacing: 200px;
                color: var(--jade);
                opacity: 0.35;
                text-align: center;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: clip;
                padding-left: 200px;
                user-select: none;
                transition: opacity 1.5s ease;
            }
            .cta-button {
                font-family: var(--font-ui);
                font-size: 13px;
                letter-spacing: 8px;
                text-transform: uppercase;
                color: var(--bone);
                border: 1px solid rgba(244, 240, 230, 0.3);
                background: transparent;
                padding: 16px 40px;
                border-radius: 2px;
                transition: all 0.6s ease;
                position: relative;
                overflow: hidden;
                text-decoration: none;
                display: inline-block;
                cursor: none;
            }
            .cta-button:hover {
                border-color: var(--spirit-gold);
                color: var(--spirit-gold);
                box-shadow: 0 0 30px rgba(185, 155, 107, 0.2), inset 0 0 30px rgba(185, 155, 107, 0.05);
                letter-spacing: 12px;
            }
            .cta-button::before {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: linear-gradient(90deg, transparent, rgba(185, 155, 107, 0.08), transparent);
                transition: left 0.8s ease;
            }
            .cta-button:hover::before {
                left: 100%;
            }
    
            #meridian-toggle {
                position: fixed;
                bottom: 28px;
                right: 28px;
                z-index: 9995;
                width: 36px;
                height: 36px;
                border-radius: 50%;
                border: 1px solid rgba(124, 139, 120, 0.4);
                background: rgba(10, 11, 10, 0.8);
                display: flex;
                align-items: center;
                justify-content: center;
                transition: all 0.4s ease;
                cursor: none;
                opacity: 0.5;
            }
            #meridian-toggle:hover {
                opacity: 1;
                border-color: var(--spirit-gold);
                box-shadow: 0 0 16px rgba(185, 155, 107, 0.3);
            }
            #meridian-toggle.active {
                border-color: var(--spirit-gold);
                opacity: 1;
                box-shadow: 0 0 20px rgba(185, 155, 107, 0.5);
            }
            #meridian-grid-overlay {
                position: fixed;
                inset: 0;
                z-index: 9994;
                pointer-events: none;
                opacity: 0;
                transition: opacity 0.8s ease;
            }
            #meridian-grid-overlay.visible {
                opacity: 1;
            }
            #meridian-grid-overlay canvas {
                width: 100%;
                height: 100%;
            }
            #qi-index-reveal {
                position: fixed;
                top: 50%;
                right: 8%;
                transform: translateY(-50%);
                z-index: 9993;
                pointer-events: none;
                opacity: 0;
                transition: opacity 0.8s ease;
                font-family: var(--font-ui);
                font-size: 11px;
                letter-spacing: 3px;
                color: var(--spirit-gold);
                text-align: right;
                writing-mode: vertical-rl;
                text-orientation: mixed;
            }
            #qi-index-reveal.shown {
                opacity: 0.8;
            }
            #qi-index-reveal .qi-score {
                font-family: var(--font-display);
                font-size: 3rem;
                font-weight: 300;
                letter-spacing: 0;
                display: block;
                writing-mode: horizontal-tb;
                margin-bottom: 8px;
            }
            #departure-overlay {
                position: fixed;
                inset: 0;
                z-index: 10001;
                background: rgba(10, 11, 10, 0.92);
                display: flex;
                align-items: center;
                justify-content: center;
                opacity: 0;
                visibility: hidden;
                transition: opacity 2s ease, visibility 2s ease;
                pointer-events: none;
            }
            #departure-overlay.active {
                opacity: 1;
                visibility: visible;
            }
            #departure-overlay .departure-text {
                font-family: var(--font-body);
                font-size: 1.2rem;
                letter-spacing: 0.2em;
                color: var(--jade);
                text-align: center;
                opacity: 0.7;
            }
            #scroll-brushstroke {
                position: fixed;
                top: 50%;
                left: 0;
                right: 0;
                height: 2px;
                z-index: 9992;
                pointer-events: none;
                opacity: 0;
                transition: opacity 0.3s ease;
                overflow: visible;
            }
            #scroll-brushstroke svg {
                width: 100%;
                height: 20px;
                overflow: visible;
            }
            #scroll-brushstroke .brush-path {
                stroke: var(--spirit-gold);
                stroke-width: 2;
                fill: none;
                stroke-dasharray: 2000;
                stroke-dashoffset: 2000;
                opacity: 0.6;
                filter: blur(0.3px);
            }
            #scroll-brushstroke .brush-path.animate {
                animation: brushDraw 1.8s ease-out forwards;
            }
            @keyframes brushDraw {
                to {
                    stroke-dashoffset: 0;
                    opacity: 0;
                }
            }
    
            @media (max-width: 768px) {
                #cursor-flame {
                    display: none !important;
                }
                #flame-trail-canvas {
                    display: none !important;
                }
                * {
                    cursor: auto !important;
                }
                .cta-button {
                    cursor: pointer !important;
                }
                #meridian-toggle {
                    cursor: pointer !important;
                }
                .section-title-display {
                    font-size: clamp(3rem, 8vw, 5rem);
                }
                #parallax-fg {
                    width: 100px;
                    height: 200px;
                }
                #loading-qi-pool .pool-bar-outer {
                    width: 140px;
                }
                .micro-quote {
                    font-size: 7px;
                    letter-spacing: 60px;
                    padding-left: 60px;
                }
            }
        </style>
    </head>
    <body>
    
        <div id="noise-overlay"></div>
    
        <div id="cursor-flame">
            <div class="flame-core"></div>
            <div class="flame-aura"></div>
            <div class="flame-wisp"></div>
            <div class="flame-wisp"></div>
            <div class="flame-wisp"></div>
        </div>
        <canvas id="flame-trail-canvas"></canvas>
    
        <div id="loading-overlay">
            <div id="loading-ink-container">
                <div id="loading-ink-fill"></div>
                <div id="loading-mountains">
                    <svg viewBox="0 0 1440 400" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
                        <defs>
                            <filter id="ink-blur"><feGaussianBlur stdDeviation="2"/></filter>
                            <filter id="ink-blur-far"><feGaussianBlur stdDeviation="6"/></filter>
                        </defs>
                        <path d="M0 400 L0 320 Q120 260 280 300 Q400 330 520 270 Q640 210 760 280 Q880 340 1000 260 Q1120 190 1240 240 Q1360 280 1440 250 L1440 400 Z" fill="#1A1D20" opacity="0.7" filter="url(#ink-blur-far)"/>
                        <path d="M0 400 L0 350 Q180 300 340 330 Q500 360 620 310 Q740 260 880 320 Q1020 370 1160 300 Q1300 240 1440 290 L1440 400 Z" fill="#0E100F" opacity="0.85" filter="url(#ink-blur)"/>
                        <path d="M0 400 L0 370 Q200 340 380 360 Q560 380 700 340 Q840 300 980 350 Q1120 390 1280 330 Q1400 290 1440 320 L1440 400 Z" fill="#0A0B0A" opacity="0.95"/>
                    </svg>
                </div>
            </div>
            <div id="loading-qi-pool">
                <div class="pool-label">Qi Pool</div>
                <div class="pool-bar-outer">
                    <div class="pool-bar-inner" id="pool-bar-inner"></div>
                </div>
                <div class="pool-hint">
                    向上滚动 · 凝聚真气
                    <div class="pool-scroll-indicator">↑</div>
                </div>
            </div>
        </div>
    
        <div id="parallax-bg">
            <div class="bg-mountain-far" id="bg-mountain-far">
                <svg viewBox="0 0 1440 500" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M0 500 L0 180 Q200 100 400 160 Q600 220 800 120 Q1000 40 1200 140 Q1350 200 1440 150 L1440 500 Z" fill="#1A1D20" opacity="0.5"/>
                    <path d="M0 500 L0 250 Q300 180 500 220 Q700 280 900 190 Q1100 120 1300 200 Q1400 240 1440 210 L1440 500 Z" fill="#15171A" opacity="0.35"/>
                </svg>
            </div>
            <div class="bg-mountain-near" id="bg-mountain-near">
                <svg viewBox="0 0 1440 400" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M0 400 L0 280 Q180 230 350 270 Q500 310 650 240 Q800 180 950 250 Q1100 300 1250 220 Q1380 180 1440 240 L1440 400 Z" fill="#0E100F" opacity="0.6"/>
                    <path d="M0 400 L0 320 Q250 280 450 310 Q650 340 800 290 Q950 250 1100 300 Q1280 340 1440 290 L1440 400 Z" fill="#0A0B0A" opacity="0.7"/>
                </svg>
            </div>
        </div>
        <div id="parallax-fg">
            <svg class="fg-tree" viewBox="0 0 120 300" xmlns="http://www.w3.org/2000/svg">
                <g opacity="0.7">
                    <line x1="60" y1="280" x2="60" y2="100" stroke="#2C3338" stroke-width="4" stroke-linecap="round"/>
                    <line x1="60" y1="280" x2="60" y2="180" stroke="#1A1D20" stroke-width="3" stroke-linecap="round"/>
                    <path d="M60 100 Q30 160 10 200 M60 100 Q90 160 110 200 M60 130 Q35 180 20 220 M60 130 Q85 180 100 220 M60 160 Q40 200 30 240 M60 160 Q80 200 90 240" stroke="#2C3338" stroke-width="2.5" fill="none" stroke-linecap="round" opacity="0.8"/>
                    <path d="M60 60 Q25 120 5 165 M60 60 Q95 120 115 165 M60 90 Q38 140 20 180 M60 90 Q82 140 100 180" stroke="#1A1D20" stroke-width="2" fill="none" stroke-linecap="round" opacity="0.9"/>
                    <circle cx="60" cy="45" r="8" fill="#1A1D20" opacity="0.5"/>
                    <circle cx="55" cy="40" r="4" fill="#2C3338" opacity="0.4"/>
                </g>
            </svg>
        </div>
    
        <div id="main-content">
            <div class="scroll-section hero-section" id="hero-section">
                <h1 class="section-title-display" id="main-title">修 仙</h1>
                <p class="section-subtitle">XIŪ XIĀN</p>
                <p class="verse-text" id="hero-verse" style="margin-top:2rem;">
                    以身为炉<br>以心为鼎<br>炼精化气 · 炼气化神
                </p>
                <div class="micro-quote" style="margin-top:3rem;" aria-hidden="true">
                    The obstacle is the path.
                </div>
            </div>
    
            <div class="scroll-section" id="mid-section" style="min-height:70vh;">
                <p class="verse-text" id="mid-verse">
                    万法归宗<br>大道至简<br>一呼一吸间<br>天地自现
                </p>
                <div style="height:4rem;"></div>
                <div id="qi-index-reveal">
                    <span class="qi-score" id="qi-score-value">—</span>
                    灵息指数
                </div>
            </div>
    
            <div class="scroll-section" id="cta-section" style="min-height:50vh;">
                <a href="#" class="cta-button" id="cta-button" onclick="event.preventDefault(); handleCTA();">
                    进 入 宗 门
                </a>
                <p style="font-family:var(--font-body);font-size:0.8rem;color:var(--jade);opacity:0.4;margin-top:2rem;letter-spacing:0.15em;">
                    心静者入 · 缘至者见
                </p>
            </div>
        </div>
    
        <div id="meridian-toggle" title="经络视图">
            <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" style="color:var(--jade);">
                <circle cx="12" cy="5" r="1.5" fill="currentColor"/>
                <circle cx="12" cy="19" r="1.5" fill="currentColor"/>
                <circle cx="5" cy="12" r="1.5" fill="currentColor"/>
                <circle cx="19" cy="12" r="1.5" fill="currentColor"/>
                <line x1="12" y1="6.5" x2="12" y2="17.5" stroke="currentColor" stroke-width="0.6" opacity="0.5"/>
                <line x1="6.5" y1="12" x2="17.5" y2="12" stroke="currentColor" stroke-width="0.6" opacity="0.5"/>
            </svg>
        </div>
        <div id="meridian-grid-overlay">
            <canvas id="meridian-canvas"></canvas>
        </div>
    
        <div id="scroll-brushstroke">
            <svg viewBox="0 0 1440 20" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
                <path class="brush-path" id="brush-path" d="M-20 10 Q200 2 400 8 Q600 14 800 6 Q1000 -2 1200 10 Q1350 16 1460 10"/>
            </svg>
        </div>
    
        <div id="departure-overlay">
            <p class="departure-text">
                道径暂隐<br>
                <span style="font-size:0.8rem;opacity:0.5;">心静之时 · 复归此境</span>
            </p>
        </div>
    
        <script>
            (function() {
                const cursorFlame = document.getElementById('cursor-flame');
                const trailCanvas = document.getElementById('flame-trail-canvas');
                const trailCtx = trailCanvas.getContext('2d');
                const loadingOverlay = document.getElementById('loading-overlay');
                const loadingInkFill = document.getElementById('loading-ink-fill');
                const poolBarInner = document.getElementById('pool-bar-inner');
                const parallaxBg = document.getElementById('parallax-bg');
                const parallaxFg = document.getElementById('parallax-fg');
                const bgMountainFar = document.getElementById('bg-mountain-far');
                const bgMountainNear = document.getElementById('bg-mountain-near');
                const mainTitle = document.getElementById('main-title');
                const heroVerse = document.getElementById('hero-verse');
                const midVerse = document.getElementById('mid-verse');
                const qiIndexReveal = document.getElementById('qi-index-reveal');
                const qiScoreValue = document.getElementById('qi-score-value');
                const brushPath = document.getElementById('brush-path');
                const brushstrokeContainer = document.getElementById('scroll-brushstroke');
                const departureOverlay = document.getElementById('departure-overlay');
                const meridianToggle = document.getElementById('meridian-toggle');
                const meridianGridOverlay = document.getElementById('meridian-grid-overlay');
                const meridianCanvas = document.getElementById('meridian-canvas');
                const meridianCtx = meridianCanvas.getContext('2d');
                const ctaButton = document.getElementById('cta-button');
    
                let mouseX = window.innerWidth / 2;
                let mouseY = window.innerHeight / 2;
                let trailPoints = [];
                let qiPoolLevel = 0;
                let loadingComplete = false;
                let idleTimer = null;
                let idleTimeout = 180000;
                let isIdle = false;
                let cursorIdleTimer = null;
                let scrollHistory = [];
                let qiScore = 0;
                let qiScoreCalculated = false;
                let dawnTriggered = false;
                let meridianVisible = false;
                let mouseTrailForCircle = [];
                let circleDetectionTimeout = null;
                let audioCtx = null;
                let lastSoundTime = 0;
                let soundCooldown = 800;
                let flameHovered = false;
    
                function initAudio() {
                    if (!audioCtx) {
                        audioCtx = new(window.AudioContext || window.webkitAudioContext)();
                    }
                    if (audioCtx.state === 'suspended') audioCtx.resume();
                }
    
                function playBell(freq = 520, vol = 0.08, decay = 1.8) {
                    const now = Date.now();
                    if (now - lastSoundTime < soundCooldown) return;
                    lastSoundTime = now;
                    initAudio();
                    const t = audioCtx.currentTime;
                    const osc = audioCtx.createOscillator();
                    const gain = audioCtx.createGain();
                    osc.type = 'sine';
                    osc.frequency.setValueAtTime(freq, t);
                    osc.frequency.exponentialRampToValueAtTime(freq * 0.5, t + decay);
                    gain.gain.setValueAtTime(vol, t);
                    gain.gain.exponentialRampToValueAtTime(0.0001, t + decay);
                    osc.connect(gain);
                    gain.connect(audioCtx.destination);
                    osc.start(t);
                    osc.stop(t + decay + 0.1);
                }
    
                function playGrain(vol = 0.04) {
                    const now = Date.now();
                    if (now - lastSoundTime < soundCooldown - 300) return;
                    lastSoundTime = now;
                    initAudio();
                    const t = audioCtx.currentTime;
                    const bufferSize = audioCtx.sampleRate * 0.08;
                    const buffer = audioCtx.createBuffer(1, bufferSize, audioCtx.sampleRate);
                    const data = buffer.getChannelData(0);
                    for (let i = 0; i < bufferSize; i++) {
                        data[i] = (Math.random() * 2 - 1) * Math.exp(-i / (bufferSize * 0.15));
                    }
                    const source = audioCtx.createBufferSource();
                    source.buffer = buffer;
                    const gain = audioCtx.createGain();
                    gain.gain.setValueAtTime(vol, t);
                    gain.gain.exponentialRampToValueAtTime(0.0001, t + 0.08);
                    const filter = audioCtx.createBiquadFilter();
                    filter.type = 'bandpass';
                    filter.frequency.setValueAtTime(3000, t);
                    filter.Q.setValueAtTime(0.5, t);
                    source.connect(filter);
                    filter.connect(gain);
                    gain.connect(audioCtx.destination);
                    source.start(t);
                }
    
                function resizeCanvases() {
                    trailCanvas.width = window.innerWidth;
                    trailCanvas.height = window.innerHeight;
                    meridianCanvas.width = window.innerWidth;
                    meridianCanvas.height = window.innerHeight;
                }
                resizeCanvases();
                window.addEventListener('resize', resizeCanvases);
    
                function updateCursorFlame(x, y) {
                    cursorFlame.style.left = x + 'px';
                    cursorFlame.style.top = y + 'px';
                }
    
                function addTrailPoint(x, y) {
                    trailPoints.push({ x, y, life: 1.0, size: 3 + Math.random() * 3 });
                    if (trailPoints.length > 60) trailPoints.shift();
                }
    
                function renderTrail() {
                    trailCtx.clearRect(0, 0, trailCanvas.width, trailCanvas.height);
                    for (let i = trailPoints.length - 1; i >= 0; i--) {
                        const p = trailPoints[i];
                        p.life -= 0.025;
                        if (p.life <= 0) {
                            trailPoints.splice(i, 1);
                            continue;
                        }
                        const alpha = p.life * 0.5;
                        const size = p.size * p.life;
                        const gradient = trailCtx.createRadialGradient(p.x, p.y, 0, p.x, p.y, size);
                        gradient.addColorStop(0, `rgba(185,155,107,${alpha})`);
                        gradient.addColorStop(0.5, `rgba(185,155,107,${alpha * 0.4})`);
                        gradient.addColorStop(1, 'rgba(185,155,107,0)');
                        trailCtx.fillStyle = gradient;
                        trailCtx.beginPath();
                        trailCtx.arc(p.x, p.y, size, 0, Math.PI * 2);
                        trailCtx.fill();
                    }
                    if (!loadingComplete && qiPoolLevel < 100) {
                        for (let i = 0; i < 2; i++) {
                            const px = mouseX + (Math.random() - 0.5) * 60;
                            const py = mouseY + (Math.random() - 0.5) * 40 + 20;
                            trailCtx.fillStyle = `rgba(185,155,107,${0.15 + Math.random() * 0.2})`;
                            trailCtx.beginPath();
                            trailCtx.arc(px, py, 0.5 + Math.random() * 1.5, 0, Math.PI * 2);
                            trailCtx.fill();
                        }
                    }
                }
    
                document.addEventListener('mousemove', function(e) {
                    mouseX = e.clientX;
                    mouseY = e.clientY;
                    updateCursorFlame(mouseX, mouseY);
                    addTrailPoint(mouseX, mouseY);
                    if (isIdle) {
                        resetIdle();
                    }
                    if (cursorIdleTimer) clearTimeout(cursorIdleTimer);
                    cursorFlame.classList.remove('idle');
                    cursorIdleTimer = setTimeout(() => {
                        cursorFlame.classList.add('idle');
                    }, 5000);
                    mouseTrailForCircle.push({ x: mouseX, y: mouseY, t: Date.now() });
                    if (mouseTrailForCircle.length > 80) mouseTrailForCircle.shift();
                    if (circleDetectionTimeout) clearTimeout(circleDetectionTimeout);
                    circleDetectionTimeout = setTimeout(detectCircleGesture, 600);
                });
    
                document.addEventListener('mouseleave', function() {
                    cursorFlame.style.opacity = '0';
                    trailPoints = [];
                });
                document.addEventListener('mouseenter', function() {
                    cursorFlame.style.opacity = '1';
                    if (isIdle) resetIdle();
                });
    
                const hoverTargets = document.querySelectorAll(
                    'a, button, .cta-button, #meridian-toggle, [role="button"]');
                hoverTargets.forEach(el => {
                    el.addEventListener('mouseenter', function() {
                        flameHovered = true;
                        cursorFlame.style.width = '44px';
                        cursorFlame.style.height = '44px';
                        cursorFlame.style.filter = 'blur(0px)';
                        playBell(660, 0.06, 1.2);
                    });
                    el.addEventListener('mouseleave', function() {
                        flameHovered = false;
                        cursorFlame.style.width = '32px';
                        cursorFlame.style.height = '32px';
                        cursorFlame.style.filter = 'blur(0.5px)';
                    });
                    el.addEventListener('click', function() {
                        playBell(880, 0.1, 1.5);
                    });
                });
    
                function detectCircleGesture() {
                    if (mouseTrailForCircle.length < 30) return;
                    const recent = mouseTrailForCircle.slice(-40);
                    const first = recent[0];
                    const last = recent[recent.length - 1];
                    const dist = Math.hypot(last.x - first.x, last.y - first.y);
                    if (dist < 30) {
                        let cx = 0,
                            cy = 0;
                        recent.forEach(p => { cx += p.x;
                            cy += p.y; });
                        cx /= recent.length;
                        cy /= recent.length;
                        let totalDist = 0;
                        recent.forEach(p => { totalDist += Math.hypot(p.x - cx, p.y - cy); });
                        const avgDist = totalDist / recent.length;
                        if (avgDist > 25 && avgDist < 200 && dist < 40) {
                            toggleMeridianGrid();
                            mouseTrailForCircle = [];
                        }
                    }
                }
    
                function toggleMeridianGrid() {
                    meridianVisible = !meridianVisible;
                    if (meridianVisible) {
                        meridianGridOverlay.classList.add('visible');
                        meridianToggle.classList.add('active');
                        drawMeridianGrid();
                        playBell(440, 0.07, 2);
                    } else {
                        meridianGridOverlay.classList.remove('visible');
                        meridianToggle.classList.remove('active');
                        playGrain(0.03);
                    }
                }
                meridianToggle.addEventListener('click', toggleMeridianGrid);
    
                function drawMeridianGrid() {
                    const w = meridianCanvas.width;
                    const h = meridianCanvas.height;
                    meridianCtx.clearRect(0, 0, w, h);
                    meridianCtx.strokeStyle = 'rgba(185,155,107,0.25)';
                    meridianCtx.lineWidth = 0.5;
                    const cx = w / 2;
                    const cy = h / 2;
                    for (let i = 0; i < 8; i++) {
                        const angle = (i / 8) * Math.PI * 2;
                        const dx = Math.cos(angle) * w * 0.7;
                        const dy = Math.sin(angle) * h * 0.7;
                        meridianCtx.beginPath();
                        meridianCtx.moveTo(cx, cy);
                        meridianCtx.lineTo(cx + dx, cy + dy);
                        meridianCtx.stroke();
                    }
                    for (let r = 0.1; r <= 0.7; r += 0.15) {
                        meridianCtx.beginPath();
                        meridianCtx.arc(cx, cy, Math.min(w, h) * r, 0, Math.PI * 2);
                        meridianCtx.stroke();
                    }
                    const nodeCount = 24;
                    for (let i = 0; i < nodeCount; i++) {
                        const angle = (i / nodeCount) * Math.PI * 2 + 0.3;
                        const dist = (0.25 + (i % 3) * 0.18) * Math.min(w, h);
                        const nx = cx + Math.cos(angle) * dist;
                        const ny = cy + Math.sin(angle) * dist;
                        meridianCtx.fillStyle = 'rgba(185,155,107,0.7)';
                        meridianCtx.beginPath();
                        meridianCtx.arc(nx, ny, 3, 0, Math.PI * 2);
                        meridianCtx.fill();
                        meridianCtx.fillStyle = 'rgba(244,240,230,0.5)';
                        meridianCtx.beginPath();
                        meridianCtx.arc(nx, ny, 1.2, 0, Math.PI * 2);
                        meridianCtx.fill();
                    }
                }
    
                function resetIdle() {
                    isIdle = false;
                    departureOverlay.classList.remove('active');
                    if (idleTimer) clearTimeout(idleTimer);
                    idleTimer = setTimeout(() => {
                        isIdle = true;
                        departureOverlay.classList.add('active');
                        playBell(180, 0.05, 3);
                    }, idleTimeout);
                    cursorFlame.classList.remove('idle');
                    if (cursorIdleTimer) clearTimeout(cursorIdleTimer);
                    cursorIdleTimer = setTimeout(() => {
                        cursorFlame.classList.add('idle');
                    }, 5000);
                }
                resetIdle();
                document.addEventListener('mousemove', resetIdle);
                document.addEventListener('wheel', resetIdle);
                document.addEventListener('touchstart', resetIdle);
                document.addEventListener('keydown', resetIdle);
    
                document.addEventListener('click', function(e) {
                    if (!loadingComplete && qiPoolLevel >= 100) return;
                    if (e.target.closest('a') || e.target.closest('button') || e.target.closest('#meridian-toggle'))
                        return;
                    playGrain(0.025);
                });
    
                function handleLoadingScroll(e) {
                    if (loadingComplete) return;
                    const deltaY = e.deltaY;
                    if (deltaY < 0) {
                        const increment = Math.min(Math.abs(deltaY) * 0.35, 8);
                        qiPoolLevel = Math.min(100, qiPoolLevel + increment);
                    } else if (deltaY > 0 && qiPoolLevel < 5) {} else if (deltaY > 0 && qiPoolLevel > 0) {
                        qiPoolLevel = Math.max(0, qiPoolLevel - Math.min(deltaY * 0.1, 2));
                    }
                    updateQiPoolDisplay();
                    if (qiPoolLevel >= 100 && !loadingComplete) {
                        completeLoading();
                    }
                    e.preventDefault();
                }
    
                function handleLoadingTouch(e) {
                    if (loadingComplete) return;
                    if (e.touches.length === 1) {
                        const touch = e.touches[0];
                        if (!handleLoadingTouch.lastY) handleLoadingTouch.lastY = touch.clientY;
                        const dy = handleLoadingTouch.lastY - touch.clientY;
                        if (dy > 0) {
                            const increment = Math.min(Math.abs(dy) * 0.5, 10);
                            qiPoolLevel = Math.min(100, qiPoolLevel + increment);
                        }
                        handleLoadingTouch.lastY = touch.clientY;
                        updateQiPoolDisplay();
                        if (qiPoolLevel >= 100 && !loadingComplete) {
                            completeLoading();
                        }
                    }
                    e.preventDefault();
                }
                handleLoadingTouch.lastY = null;
    
                document.addEventListener('wheel', function(e) {
                    if (!loadingComplete) {
                        handleLoadingScroll(e);
                    }
                }, { passive: false });
    
                document.addEventListener('touchmove', function(e) {
                    if (!loadingComplete) {
                        handleLoadingTouch(e);
                    }
                }, { passive: false });
    
                document.addEventListener('touchend', function() {
                    handleLoadingTouch.lastY = null;
                });
    
                function updateQiPoolDisplay() {
                    const level = Math.round(qiPoolLevel);
                    loadingInkFill.style.height = level + '%';
                    poolBarInner.style.width = level + '%';
                    if (level > 0 && level < 100) {
                        const hintEl = document.querySelector('#loading-qi-pool .pool-hint');
                        if (hintEl && level > 15) {
                            hintEl.style.opacity = Math.max(0.2, 0.7 - (level / 100) * 0.5);
                        }
                    }
                }
    
                function completeLoading() {
                    loadingComplete = true;
                    qiPoolLevel = 100;
                    updateQiPoolDisplay();
                    playBell(520, 0.12, 2.5);
                    setTimeout(() => {
                        playBell(780, 0.08, 2);
                    }, 400);
                    setTimeout(() => {
                        loadingOverlay.classList.add('hidden');
                        document.body.style.overflow = '';
                        resetIdle();
                    }, 600);
                    document.body.style.overflow = 'hidden';
                }
    
                loadingOverlay.addEventListener('transitionend', function(e) {
                    if (loadingOverlay.classList.contains('hidden') && e.propertyName === 'opacity') {
                        loadingOverlay.style.display = 'none';
                    }
                });
    
                document.body.style.overflow = 'hidden';
                updateQiPoolDisplay();
    
                const cssAnimProgress = setInterval(() => {
                    if (loadingComplete) {
                        clearInterval(cssAnimProgress);
                        return;
                    }
                    if (qiPoolLevel < 100) {
                        qiPoolLevel = Math.min(100, qiPoolLevel + 0.08);
                        updateQiPoolDisplay();
                        if (qiPoolLevel >= 100 && !loadingComplete) {
                            completeLoading();
                            clearInterval(cssAnimProgress);
                        }
                    }
                }, 200);
    
                function updateParallax() {
                    const scrollY = window.scrollY || window.pageYOffset;
                    const docHeight = document.body.scrollHeight - window.innerHeight;
                    const progress = docHeight > 0 ? Math.min(1, Math.max(0, scrollY / docHeight)) : 0;
                    document.documentElement.style.setProperty('--scroll-progress', progress);
    
                    const farOffset = scrollY * 0.15;
                    const nearOffset = scrollY * 0.35;
                    const fgOffset = scrollY * 0.55;
                    bgMountainFar.style.transform = `translateY(${farOffset}px)`;
                    bgMountainNear.style.transform = `translateY(${nearOffset}px)`;
                    parallaxFg.style.transform = `translateX(-50%) translateY(${fgOffset}px)`;
    
                    const dawnThreshold = 0.7;
                    if (progress >= dawnThreshold && !dawnTriggered) {
                        dawnTriggered = true;
                        parallaxBg.classList.add('dawn');
                        mainTitle.classList.add('gold-shift');
                        heroVerse.classList.add('lit');
                        midVerse.classList.add('lit');
                        calculateQiScore();
                        triggerBrushstroke();
                        playBell(660, 0.1, 2.2);
                        setTimeout(() => playBell(880, 0.07, 1.8), 500);
                    }
                    if (progress < dawnThreshold && dawnTriggered) {
                        dawnTriggered = false;
                        parallaxBg.classList.remove('dawn');
                        mainTitle.classList.remove('gold-shift');
                        heroVerse.classList.remove('lit');
                        midVerse.classList.remove('lit');
                        qiIndexReveal.classList.remove('shown');
                        qiScoreCalculated = false;
                    }
                    document.documentElement.style.setProperty('--dawn-mix', progress >= dawnThreshold ? Math.min(1, (
                        progress - dawnThreshold) / 0.3) : 0);
    
                    if (!loadingComplete) return;
                    trackScrollForQi(scrollY, Date.now());
                }
    
                function trackScrollForQi(scrollY, time) {
                    scrollHistory.push({ y: scrollY, t: time });
                    if (scrollHistory.length > 200) scrollHistory.shift();
                }
    
                function calculateQiScore() {
                    if (qiScoreCalculated) return;
                    qiScoreCalculated = true;
                    if (scrollHistory.length < 10) {
                        qiScore = Math.floor(50 + Math.random() * 40);
                    } else {
                        let smoothness = 0;
                        let pauses = 0;
                        for (let i = 2; i < scrollHistory.length; i++) {
                            const v1 = (scrollHistory[i - 1].y - scrollHistory[i - 2].y) / Math.max(1, scrollHistory[i -
                                1].t - scrollHistory[i - 2].t);
                            const v2 = (scrollHistory[i].y - scrollHistory[i - 1].y) / Math.max(1, scrollHistory[i].t -
                                scrollHistory[i - 1].t);
                            smoothness += Math.abs(v2 - v1);
                            if (Math.abs(v2) < 0.05) pauses++;
                        }
                        const avgSmoothness = smoothness / Math.max(1, scrollHistory.length - 2);
                        const pauseRatio = pauses / Math.max(1, scrollHistory.length);
                        const rawScore = Math.max(10, 100 - avgSmoothness * 8 - pauseRatio * 40);
                        qiScore = Math.floor(rawScore + (Math.random() - 0.5) * 15);
                        qiScore = Math.min(99, Math.max(11, qiScore));
                    }
                    qiScoreValue.textContent = qiScore;
                    qiIndexReveal.classList.add('shown');
                }
    
                function triggerBrushstroke() {
                    brushstrokeContainer.style.opacity = '1';
                    brushPath.classList.remove('animate');
                    void brushPath.offsetWidth;
                    brushPath.classList.add('animate');
                    setTimeout(() => {
                        brushstrokeContainer.style.opacity = '0';
                    }, 2200);
                }
    
                window.addEventListener('scroll', updateParallax, { passive: true });
                updateParallax();
    
                function handleCTA() {
                    playBell(1040, 0.14, 3);
                    const btn = document.getElementById('cta-button');
                    btn.textContent = '缘 已 至';
                    btn.style.borderColor = 'var(--spirit-gold)';
                    btn.style.color = 'var(--spirit-gold)';
                    btn.style.boxShadow = '0 0 40px rgba(185,155,107,0.35), inset 0 0 40px rgba(185,155,107,0.08)';
                    btn.style.letterSpacing = '14px';
                    setTimeout(() => {
                        btn.textContent = '进 入 宗 门';
                        btn.style.borderColor = 'rgba(244,240,230,0.3)';
                        btn.style.color = 'var(--bone)';
                        btn.style.boxShadow = 'none';
                        btn.style.letterSpacing = '8px';
                    }, 2500);
                    const particles = 15;
                    for (let i = 0; i < particles; i++) {
                        setTimeout(() => {
                            const px = mouseX + (Math.random() - 0.5) * 120;
                            const py = mouseY + (Math.random() - 0.5) * 80;
                            for (let j = 0; j < 4; j++) {
                                trailPoints.push({
                                    x: px + (Math.random() - 0.5) * 30,
                                    y: py + (Math.random() - 0.5) * 30,
                                    life: 0.7 + Math.random() * 0.5,
                                    size: 2 + Math.random() * 5
                                });
                            }
                        }, i * 30);
                    }
                }
                document.getElementById('cta-button').addEventListener('click', handleCTA);
    
                function animate() {
                    renderTrail();
                    if (meridianVisible) {
                        drawMeridianGrid();
                    }
                    if (!loadingComplete && qiPoolLevel < 100) {
                        const loadingMountains = document.getElementById('loading-mountains');
                        if (loadingMountains) {
                            const floatY = Math.sin(Date.now() * 0.0003) * 4;
                            loadingMountains.style.transform = `translateY(${floatY}px)`;
                        }
                    }
                    const idleNow = cursorFlame.classList.contains('idle');
                    if (idleNow && !isIdle) {
                        cursorFlame.style.opacity = '0.55';
                    } else if (!idleNow) {
                        cursorFlame.style.opacity = '1';
                    }
                    requestAnimationFrame(animate);
                }
                animate();
    
                document.addEventListener('keydown', function(e) {
                    if (e.key === 'm' && e.ctrlKey && e.shiftKey) {
                        toggleMeridianGrid();
                    }
                    if (!loadingComplete && (e.key === 'ArrowUp' || e.key === 'w')) {
                        qiPoolLevel = Math.min(100, qiPoolLevel + 4);
                        updateQiPoolDisplay();
                        if (qiPoolLevel >= 100 && !loadingComplete) completeLoading();
                    }
                });
    
                window.addEventListener('resize', function() {
                    if (meridianVisible) drawMeridianGrid();
                });
    
                console.log('%c修 仙 %c· 宗门已启',
                    'font-family:"Noto Serif SC",serif;font-size:24px;color:#B99B6B;',
                    'font-family:"Space Mono",monospace;font-size:11px;color:#7C8B78;letter-spacing:3px;');
                console.log('%c以身为炉 · 以心为鼎',
                    'font-family:"Noto Serif SC",serif;font-size:13px;color:#F4F0E6;opacity:0.6;letter-spacing:2px;');
                console.log('%c画圈于屏 · 经络自现 | 按 Ctrl+Shift+M 亦可',
                    'font-family:"Space Mono",monospace;font-size:9px;color:#7C8B78;opacity:0.5;');
    
            })();
        </script>
    </body>
    </html>
    
    1
  25. Serendipity1 Diamant vor 6 Mon.

    来晚了,没有红包了,但还是要感谢分享

    1
  26. jzhfg 🍑Steinreich Meister MANAGER vor 6 Mon.

    作品展示页面emoji图标不显示 :ac10:

    1
  27. NangongQingsheng Silber vor 6 Mon.

    让我康康。

    0
  28. wxk 💯 Diamant vor 6 Mon.

    感谢分享

    0
  29. zxylxy Platin vor 6 Mon.

    看看

    0
  30. moer15 Gold 3 JAHRE vor 6 Mon.

    康康

    0
  31. Leo_Wang Bronze vor 6 Mon.

    大佬牛逼

    0
  32. sydney1 Diamant vor 6 Mon.

    大佬好强

    0
  33. kCK Silber vor 6 Mon.

    还不错哦

    0
  34. sydney1 Diamant vor 6 Mon.

    建议加个鉴权,至少验证一下邮箱,或者NL关联登录,否则很可能被攻击爆

    0
  35. zizi Gold vor 6 Mon.

    感谢大佬,

    0
  36. James 💯 Legende MANAGER vor 6 Mon.

    夭折了

    0
  37. Str Ehrenmitglied Meister OP vor 6 Mon.

    比较久,一次要十分钟,耐心等等 ☻️

    0
  38. haoqi75 Gold vor 6 Mon.

    让我看一下

    0
  39. chenmoshijin168 Gold vor 6 Mon.

    我来康康

    0
  40. Leo_Wang Bronze vor 6 Mon.

    还挺好玩的

    0
  41. haohaowen123 Silber vor 6 Mon.

    路过

    0
  42. ggbond666 Silber vor 6 Mon.

    看看怎么个事

    0