        /* === 全局暗色调风格强化 === */
        body {
            background-color: #0a0a0a;
            color: #c0c0c0;
            font-family: 'Courier New', monospace;
            /* 强制使用代码字体 */
            overflow-x: hidden;
            cursor: crosshair;
            /* 鼠标变为十字准星 */
        }

        /* 背景网格线 */
        .bg-grid {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                linear-gradient(rgba(0, 51, 102, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 51, 102, 0.1) 1px, transparent 1px);
            background-size: 40px 40px;
            z-index: -1;
            pointer-events: none;
        }

        /* === 导航栏微调 === */
        .navbar {
            z-index: 100;
        }

        /* === Hero Section: 终端打字机 === */
        .terminal-hero {
            height: 80vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 10%;
            position: relative;
        }

        .terminal-window {
            background: rgba(0, 0, 0, 0.8);
            border: 1px solid #333;
            box-shadow: 0 0 20px rgba(0, 51, 102, 0.5);
            border-radius: 5px;
            overflow: hidden;
            max-width: 800px;
        }

        .terminal-header {
            background: #1a1a1a;
            padding: 8px 15px;
            border-bottom: 1px solid #333;
            display: flex;
            gap: 8px;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .red {
            background: #ff5f56;
        }

        .yellow {
            background: #ffbd2e;
        }

        .green {
            background: #27c93f;
        }

        .terminal-body {
            padding: 20px;
            font-size: 1.2rem;
            line-height: 1.6;
            color: #0f0;
            min-height: 200px;
        }

        .cursor-blink {
            animation: blink 1s infinite;
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0;
            }
        }

        /* === IDE 风格的内容区 === */
        .code-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 50px 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .ide-panel {
            background: #1e1e1e;
        }

        .ide-panel .comment {
            color: #5c6370;
            font-style: italic;
        }

        .ide-panel .tag {
            color: #e06c75;
        }

        .reverse-layout .visual-panel {
            order: -1;
        }

        .number {
            color: #d19a66;
        }

        .boolean {
            color: #56b6c2;
        }

        .operator {
            color: #56b6c2;
        }

        .keyword {
            color: #c678dd;
        }

        .function {
            color: #61afef;
        }

        .string {
            color: #98c379;
        }

        .font-pricedown {
            font-family: 'Pricedown', sans-serif;
        }

        .font-serif {
            font-family: 'Libre Baskerville', serif;
        }

        .navbar .banner-text,
        .navbar .subtitle {
            font-family: 'Pricedown', sans-serif;
            letter-spacing: 1px;
        }

        .about-value {
            color: #98c379;
            font-family: 'Libre Baskerville', serif;
            font-style: italic;
        }

        .about-key {
            color: #e06c75;
        }

        .visual-panel img {
            width: 100%;
            border: 1px solid #333;
            filter: grayscale(100%);
            transition: all 0.4s ease;
        }

        .visual-panel:hover img {
            filter: grayscale(0%);
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
        }

        .gallery-title-bar {
            border-top: 1px dashed #333;
            border-bottom: 1px dashed #333;
            padding: 20px 0;
            margin: 80px 0 40px;
            text-align: center;
            font-size: 1.5rem;
            letter-spacing: 5px;
        }

        .matrix-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            padding: 0 5%;
        }

        .matrix-item {
            position: relative;
            background: #000;
            border: 1px solid #222;
            overflow: hidden;
            transition: border-color 0.3s;
        }

        .matrix-item:hover {
            border-color: #00ff00;
        }

        .matrix-item img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            display: block;
            transition: transform 0.2s;
        }

        .matrix-item:hover img {
            transform: scale(1.05) translateX(5px);
            filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feColorMatrix type="matrix" values="1 0 0 0 0  0 0 0 0 0  0 0 1 0 0  0 0 0 1 0" /></filter></svg>#filter');
            opacity: 0.8;
        }

        .meta-data {
            padding: 10px;
            background: #0d0d0d;
            font-size: 0.7rem;
            color: #666;
            font-family: 'Courier New', monospace;
            border-top: 1px solid #222;
        }

        .json-key {
            color: #61afef;
        }

        .json-val {
            color: #d19a66;
        }

        #codeCanvas {
            position: fixed;
            top: 0;
            left: 0;
            z-index: -2;
        }

        .footer-badges {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin: 40px 0;
        }


        @media (max-width: 768px) {
            .code-container {
                grid-template-columns: 1fr;
            }

            .terminal-hero {
                height: auto;
                padding: 100px 5%;
            }

            .terminal-body {
                font-size: 0.9rem;
            }
        }

        .project-nexus-container {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin: 80px auto;
            flex-wrap: wrap;
            perspective: 1000px;
        }

        .nexus-card {
            position: relative;
            width: 280px;
            height: 80px;
            background: rgba(20, 20, 20, 0.6);
            border: 1px solid #333;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            overflow: hidden;
            clip-path: polygon(15px 0, 100% 0,
                    100% calc(100% - 15px), calc(100% - 15px) 100%,
                    0 100%, 0 15px);
            backdrop-filter: blur(5px);
        }

        .nexus-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
            pointer-events: none;
        }

        .nexus-card:hover {
            transform: translateY(-10px) scale(1.02);
            background: rgba(30, 30, 30, 0.8);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
            border-color: var(--card-color);
        }

        .nexus-title {
            font-family: 'Pricedown', sans-serif;
            font-size: 1.8rem;
            color: #ccc;
            z-index: 2;
            transition: color 0.3s, text-shadow 0.3s;
            letter-spacing: 1px;
        }

        .nexus-subtitle {
            font-family: 'Courier New', monospace;
            font-size: 0.7rem;
            color: #666;
            margin-top: 8px;
            z-index: 2;
            letter-spacing: 1px;
            opacity: 0.8;
            transition: opacity 0.3s;
        }

        .nexus-status {
            position: absolute;
            bottom: 10px;
            right: 15px;
            font-size: 0.6rem;
            color: var(--card-color);
            opacity: 0;
            transform: translateX(10px);
            transition: all 0.3s ease;
            font-family: monospace;
        }

        .nexus-card:hover .nexus-title {
            color: #fff;
            text-shadow: 0 0 15px var(--card-color);
        }

        .nexus-card:hover .nexus-subtitle {
            opacity: 1;
            color: var(--card-color);
        }

        .nexus-card:hover .nexus-status {
            opacity: 1;
            transform: translateX(0);
        }

        .nexus-scanline {
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transform: skewX(-25deg);
            transition: left 0.5s;
        }

        .nexus-card:hover .nexus-scanline {
            left: 150%;
            transition: left 0.7s ease-in-out;
        }

        .card-sides {
            --card-color: #3179cc;
        }

        .card-fate {
            --card-color: #6c27ee;
        }

        .card-anti {
            --card-color: #ff3333;
        }

        .section-header-glitch {
            text-align: center;
            margin-top: 80px;
            margin-bottom: -40px;
            font-family: 'Courier New', monospace;
            color: #444;
            font-size: 0.9rem;
            letter-spacing: 4px;
        }