/* CYBERLOG 首页样式 - 从 index.html 提取 */

        /* View Transitions API 动画定义 */
        ::view-transition-old(root) {
            animation: fade-out 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
        }
        ::view-transition-new(root) {
            animation: fade-in-up 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
        }

        @keyframes fade-out {
            from { opacity: 1; }
            to { opacity: 0; transform: translateY(-20px); }
        }
        @keyframes fade-in-up {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
    
        :root {
            --primary: #00ff9d;
            --secondary: #ff006e;
            --accent: #00d4ff;
            --yellow: #ffea00;
            --bg-dark: transparent;
            --bg-card: rgba(255, 255, 255, 0.05);
            --bg-card-hover: rgba(255, 255, 255, 0.08);
            --text: #e0e0e0;
            --text-dim: #9a9aaa;
            --grid-color: rgba(0, 255, 157, 0.08);
            --primary-dim: rgba(0, 255, 157, 0.6);
            --secondary-dim: rgba(255, 0, 110, 0.6);
            --glow: 0 0 20px rgba(0, 255, 157, 0.3);
            --glow-strong: 0 0 30px rgba(0, 255, 157, 0.5), 0 0 60px rgba(0, 255, 157, 0.3);
        }

        /* 滚动动画 */
        .fade-in-up {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        .fade-in-up.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .fade-in-left {
            opacity: 0;
            transform: translateX(-30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        .fade-in-left.visible {
            opacity: 1;
            transform: translateX(0);
        }
        
        .scale-in {
            opacity: 0;
            transform: scale(0.9);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }
        
        .scale-in.visible {
            opacity: 1;
            transform: scale(1);
        }

        /* 语言切换按钮样式 */
        
        .lang-switch-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            background: transparent;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.8rem;
            filter: drop-shadow(0 0 10px rgba(0, 255, 157, 0.5));
        }
        
        .lang-switch-btn:hover {
            transform: scale(1.2);
            filter: drop-shadow(0 0 20px rgba(0, 255, 157, 0.8)) drop-shadow(0 0 40px rgba(0, 255, 157, 0.4));
        }
        
        .lang-switch-btn .lang-text {
            font-size: 1.8rem;
            line-height: 1;
        }

        .lang-switch-container {
            position: relative;
            display: flex;
            align-items: center;
            margin-left: 12px;
        }
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        @media (max-width: 768px) {
            
        .lang-switch-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            background: transparent;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.8rem;
            filter: drop-shadow(0 0 10px rgba(0, 255, 157, 0.5));
        }
        
        .lang-switch-btn:hover {
            transform: scale(1.2);
            filter: drop-shadow(0 0 20px rgba(0, 255, 157, 0.8)) drop-shadow(0 0 40px rgba(0, 255, 157, 0.4));
        }
        
        .lang-switch-btn .lang-text {
            font-size: 1.8rem;
            line-height: 1;
        }

        .lang-switch-container { margin-left: 8px; }
            
        
        
        
        
            
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Noto Sans SC', 'JetBrains Mono', sans-serif;
            background: var(--bg-dark);
            color: var(--text);
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* Matrix Rain Canvas */
        #matrix-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -3;
            opacity: 0;
            transition: opacity 0.8s ease;
        }

        #matrix-canvas.hidden {
            opacity: 0;
            pointer-events: none;
        }

        /* 流星效果容器 */
        #meteor-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 9999;
            pointer-events: none;
            overflow: hidden;
        }

        /* 流星 - 真实风格 */
        .meteor {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            box-shadow:
                0 0 2px 0px #fff,
                0 0 4px 1px rgba(0, 255, 157, 0.4);
            opacity: 0;
            width: 2px;
            height: 2px;
        }

        /* 流星尾巴 */
        .meteor::after {
            content: '';
            position: absolute;
            top: 50%;
            right: 100%;
            transform: translateY(-50%);
            width: var(--tail-length, 60px);
            height: 1.5px;
            background: linear-gradient(90deg,
                transparent 0%,
                rgba(0,255,157,0.1) 30%,
                rgba(0,255,157,0.4) 70%,
                rgba(255,255,255,0.8) 100%
            );
            border-radius: 2px;
        }

        /* Logo 隐藏按钮样式 */
        .logo {
            cursor: pointer;
            user-select: none;
        }

        /* Animated grid background - GPU加速 */
        .grid-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(var(--grid-color) 1px, transparent 1px),
                linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
            background-size: 50px 50px;
            z-index: -2;
            animation: gridMove 30s linear infinite;
            will-change: transform;
            transform: translateZ(0);
        }

        @keyframes gridMove {
            0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(0); }
            100% { transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(0); }
        }

        /* Floating particles - GPU加速 */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: var(--primary);
            border-radius: 50%;
            opacity: 0.4;
            animation: floatParticle 20s infinite;
            will-change: transform, opacity;
        }

        @keyframes floatParticle {
            0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
            10% { opacity: 0.5; }
            90% { opacity: 0.5; }
            100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
        }

        /* Glowing orbs background */
        .orb {
            position: fixed;
            border-radius: 50%;
            filter: blur(80px);
            z-index: -1;
            animation: orbFloat 20s ease-in-out infinite;
            pointer-events: none;
        }

        .orb-1 {
            width: 400px;
            height: 400px;
            background: var(--primary);
            top: -200px;
            right: -100px;
            opacity: 0.08;
        }

        .orb-2 {
            width: 300px;
            height: 300px;
            background: var(--secondary);
            bottom: 10%;
            left: -100px;
            opacity: 0.06;
            animation-delay: -7s;
        }

        .orb-3 {
            width: 250px;
            height: 250px;
            background: var(--accent);
            top: 50%;
            left: 60%;
            opacity: 0.05;
            animation-delay: -12s;
        }

        @keyframes orbFloat {
            0%, 100% { transform: translate(0, 0) scale(1); }
            25% { transform: translate(30px, -30px) scale(1.05); }
            50% { transform: translate(-20px, 20px) scale(0.95); }
            75% { transform: translate(20px, 30px) scale(1.02); }
        }

        /* Glitch effect */
        @keyframes glitch {
            0%, 90%, 100% { transform: translate(0); }
            92% { transform: translate(-2px, 1px); }
            94% { transform: translate(2px, -1px); }
            96% { transform: translate(-1px, -1px); }
            98% { transform: translate(1px, 1px); }
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 1.5rem 3rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            background: linear-gradient(180deg, rgba(10, 10, 15, 0.9) 0%, transparent 100%);
            transition: all 0.3s;
        }

        nav.scrolled {
            padding: 1rem 3rem;
            background: rgba(10, 10, 15, 0.85);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0, 255, 157, 0.1);
        }

        .logo {
            font-family: 'Orbitron', 'Arial Black', 'Segoe UI Black', sans-serif;
            font-size: 1.5rem;
            font-weight: 900;
            color: var(--primary);
            text-shadow: var(--glow);
            letter-spacing: 3px;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            text-decoration: none;
        }

        .logo::before {
            content: '👻';
        }

        .nav-center {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.25rem;
            list-style: none;
        }

        .nav-center a {
            font-family: 'Noto Sans SC', sans-serif;
            font-size: 0.9rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.88);
            text-decoration: none;
            letter-spacing: 0.03em;
            padding: 0.55rem 1rem;
            border-radius: 8px;
            border-bottom: 2px solid transparent;
            transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        }

        .nav-center a:hover {
            color: var(--primary);
            background: rgba(0, 255, 157, 0.06);
            border-bottom-color: rgba(0, 255, 157, 0.4);
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        /* ===== UIverse curvy-earwig-22 Search Box ===== */
        .search-box {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        /* grid 装饰背景 */
        .search-box .sb-grid {
            height: 200px;
            width: 200px;
            background-image: linear-gradient(to right, #0a0a0f 1px, transparent 1px),
                linear-gradient(to bottom, #0a0a0f 1px, transparent 1px);
            background-size: 1rem 1rem;
            background-position: center center;
            position: absolute;
            z-index: -1;
            filter: blur(1px);
            pointer-events: none;
        }
        /* 公用装饰层 */
        .sb-white,
        .sb-border,
        .sb-darkBorderBg,
        .sb-glow {
            max-height: 48px;
            max-width: 260px;
            height: 100%;
            width: 100%;
            position: absolute;
            overflow: hidden;
            z-index: 0;
            border-radius: 10px;
            filter: blur(3px);
            pointer-events: none;
        }
        /* 输入框本体 */
        .search-box .sb-input {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            background: #08080d !important;  /* 强制深色背景 */
            background-color: #08080d !important;
            border: none;
            width: 248px;
            height: 44px;
            border-radius: 8px;
            color: #e0e0e0;
            padding-inline: 46px 44px;
            position: relative;
            z-index: 10;  /* 提高层级确保在最上层 */
            transition: all 0.3s;
            -webkit-appearance: none;  /* 移除浏览器默认样式 */
            appearance: none;
            box-shadow: none !important;
        }
        /* 覆盖浏览器自动填充样式 */
        .search-box .sb-input:-webkit-autofill,
        .search-box .sb-input:-webkit-autofill:hover,
        .search-box .sb-input:-webkit-autofill:focus {
            -webkit-box-shadow: 0 0 0 1000px #08080d inset !important;
            -webkit-text-fill-color: #e0e0e0 !important;
            background-color: #08080d !important;
        }
        .search-box .sb-input::placeholder {
            color: rgba(180,180,200,0.5);
        }
        .search-box .sb-input:focus {
            outline: none;
            color: #ffffff;
        }
        /* 主容器 */
        #sb-poda {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        /* 输入遮罩 */
        #sb-input-mask {
            pointer-events: none;
            width: 80px;
            height: 16px;
            position: absolute;
            background: linear-gradient(90deg, transparent, #08080d);
            top: 14px;
            left: 56px;
            z-index: 3;
        }
        #sb-poda:focus-within > #sb-input-mask {
            display: none;
        }
        /* 绿色光晕 */
        #sb-pink-mask {
            pointer-events: none;
            width: 24px;
            height: 16px;
            position: absolute;
            background: #00ff9d;
            top: 8px;
            left: 4px;
            filter: blur(16px);
            opacity: 0.5;
            transition: all 2s;
            z-index: 3;
        }
        #sb-poda:hover > #sb-pink-mask {
            opacity: 0;
        }
        /* white 层 - 完全禁用 */
        .sb-white {
            max-height: 42px;
            max-width: 254px;
            border-radius: 8px;
            filter: blur(2px);
            background: transparent !important;
            opacity: 0 !important;  /* 始终隐藏 */
            display: none !important;  /* 完全不显示 */
        }
        #sb-poda:hover > .sb-white,
        #sb-poda:focus-within > .sb-white {
            opacity: 0 !important;
            display: none !important;
        }
        .sb-white::before {
            content: "";
            z-index: -2;
            text-align: center;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(83deg);
            position: absolute;
            width: 400px;
            height: 400px;
            background-repeat: no-repeat;
            background-position: 0 0;
            filter: brightness(1.4);
            /* 浏览器前缀支持 */
            background-image: -webkit-conic-gradient(
                rgba(0, 0, 0, 0) 0%,
                #00ff9d,
                rgba(0, 0, 0, 0) 8%,
                rgba(0, 0, 0, 0) 50%,
                #00f0ff,
                rgba(0, 0, 0, 0) 58%
            );
            background-image: conic-gradient(
                rgba(0, 0, 0, 0) 0%,
                #00ff9d,
                rgba(0, 0, 0, 0) 8%,
                rgba(0, 0, 0, 0) 50%,
                #00f0ff,
                rgba(0, 0, 0, 0) 58%
            );
            opacity: 0;
            transition: opacity 0.4s ease, transform 2s;
        }
        /* 不支持 conic-gradient 的浏览器回退 */
        @supports not (background-image: conic-gradient(from 0deg, #000, #fff)) {
            .sb-white::before {
                background: linear-gradient(90deg, rgba(0,255,157,0.3), rgba(0,240,255,0.3));
            }
        }
        /* border 层 */
        .sb-border {
            max-height: 40px;
            max-width: 252px;
            border-radius: 9px;
            filter: blur(0.5px);
        }
        .sb-border::before {
            content: "";
            z-index: -2;
            text-align: center;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(70deg);
            position: absolute;
            width: 400px;
            height: 400px;
            filter: brightness(1.3);
            background-repeat: no-repeat;
            background-position: 0 0;
            background-image: conic-gradient(
                #0a0a0f,
                #00b864 5%,
                #0a0a0f 14%,
                #0a0a0f 50%,
                #00f0ff 60%,
                #0a0a0f 64%
            );
            opacity: 0;
            transition: opacity 0.4s ease, transform 2s;
        }
        /* darkBorderBg 层 */
        .sb-darkBorderBg {
            max-height: 46px;
            max-width: 258px;
        }
        .sb-darkBorderBg::before {
            content: "";
            z-index: -2;
            text-align: center;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(82deg);
            position: absolute;
            width: 400px;
            height: 400px;
            background-repeat: no-repeat;
            background-position: 0 0;
            background-image: conic-gradient(
                rgba(0, 0, 0, 0),
                #003d20,
                rgba(0, 0, 0, 0) 10%,
                rgba(0, 0, 0, 0) 50%,
                #004d4d,
                rgba(0, 0, 0, 0) 60%
            );
            opacity: 0;
            transition: opacity 0.4s ease, transform 2s;
        }
        /* glow 层 */
        .sb-glow {
            overflow: hidden;
            filter: blur(28px);
            opacity: 0.25;
            max-height: 90px;
            max-width: 290px;
        }
        .sb-glow::before {
            content: "";
            z-index: -2;
            text-align: center;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(60deg);
            position: absolute;
            width: 600px;
            height: 600px;
            background-repeat: no-repeat;
            background-position: 0 0;
            background-image: conic-gradient(
                #000,
                #00b864 5%,
                #000 38%,
                #000 50%,
                #00f0ff 60%,
                #000 87%
            );
            opacity: 0;
            transition: opacity 0.4s ease, transform 2s;
        }
        /* hover 旋转动画 */
        #sb-poda:hover > .sb-darkBorderBg::before {
            transform: translate(-50%, -50%) rotate(-98deg);
            opacity: 1;
        }
        #sb-poda:hover > .sb-glow::before {
            transform: translate(-50%, -50%) rotate(-120deg);
            opacity: 0.45;
        }
        #sb-poda:hover > .sb-white::before {
            opacity: 0 !important;
            display: none !important;
        }
        #sb-poda:hover > .sb-border::before {
            transform: translate(-50%, -50%) rotate(-110deg);
            opacity: 1;
        }
        /* focus 旋转动画 */
        #sb-poda:focus-within > .sb-darkBorderBg::before {
            transform: translate(-50%, -50%) rotate(442deg);
            opacity: 1;
            transition: opacity 0.3s ease, transform 4s;
        }
        #sb-poda:focus-within > .sb-glow::before {
            transform: translate(-50%, -50%) rotate(420deg);
            opacity: 0.5;
            transition: opacity 0.3s ease, transform 4s;
        }
        #sb-poda:focus-within > .sb-white::before {
            opacity: 0 !important;
            display: none !important;
        }
        #sb-poda:focus-within > .sb-border::before {
            transform: translate(-50%, -50%) rotate(430deg);
            opacity: 1;
            transition: opacity 0.3s ease, transform 4s;
        }
        /* filter 图标按钮 */
        #sb-filter-icon {
            position: absolute;
            top: 50%;
            right: 6px;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 15;  /* 提高层级 */
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: linear-gradient(180deg, #0d1a0d, #000, #0a1a1a);
            border: 1px solid rgba(0,255,157,0.2);  /* 添加轻微边框 */
            cursor: pointer;
            transition: all 0.3s;
            color: rgba(0,255,157,0.8);  /* 确保图标颜色 */
        }
        #sb-filter-icon svg {
            stroke: rgba(0,255,157,0.8);  /* 明确设置 SVG 线条颜色 */
        }
        #sb-filter-icon:hover {
            border-color: rgba(0,255,157,0.3);
            box-shadow: 0 0 8px rgba(0,255,157,0.2);
        }
        .sb-filterBorder {
            height: 34px;
            width: 34px;
            position: absolute;
            overflow: hidden;
            top: 50%;
            right: 5px;
            transform: translateY(-50%);
            border-radius: 8px;
            z-index: 3;
            pointer-events: none;
        }
        .sb-filterBorder::before {
            content: "";
            text-align: center;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(90deg);
            position: absolute;
            width: 400px;
            height: 400px;
            background-repeat: no-repeat;
            background-position: 0 0;
            filter: brightness(1.35);
            background-image: conic-gradient(
                rgba(0, 0, 0, 0),
                #1a2e1a,
                rgba(0, 0, 0, 0) 50%,
                rgba(0, 0, 0, 0) 50%,
                #1a2e1a,
                rgba(0, 0, 0, 0) 100%
            );
            animation: sb-rotate 4s linear infinite;
        }
        /* search 图标 */
        #sb-search-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 15;  /* 提高层级，确保在输入框之上 */
            color: rgba(0,255,157,0.8);  /* 增加不透明度 */
            pointer-events: none;
            display: flex;  /* 确保 SVG 正确显示 */
            align-items: center;
            justify-content: center;
        }
        #sb-search-icon svg {
            display: block;
            stroke: rgba(0,255,157,0.8);  /* 明确设置 SVG 线条颜色 */
        }
        /* 旋转动画 */
        @keyframes sb-rotate {
            100% {
                transform: translate(-50%, -50%) rotate(450deg);
            }
        }

        /* Status Indicator */
        

        

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.2); }
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
            padding: 0 2rem;
        }

        .hero-badge {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            color: var(--text-dim);
            letter-spacing: 4px;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .hero-badge::before,
        .hero-badge::after {
            content: '';
            width: 40px;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--text-dim));
        }

        .hero-badge::after {
            background: linear-gradient(90deg, var(--text-dim), transparent);
        }

        .hero-title {
            font-family: 'Orbitron', sans-serif;
            font-size: clamp(3rem, 10vw, 8rem);
            font-weight: 900;
            line-height: 1;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .hero-title .line1 {
            display: block;
            color: var(--primary);
            text-shadow: var(--glow-strong);
            animation: glitch 3s infinite;
            position: relative;
        }

        .hero-title .line1::before,
        .hero-title .line1::after {
            content: 'CYBERLOG';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
        }

        .hero-title .line1::before {
            color: var(--secondary);
            animation: glitch1 0.3s infinite linear alternate-reverse;
        }

        .hero-title .line1::after {
            color: var(--accent);
            animation: glitch2 0.3s infinite linear alternate-reverse;
        }

        .hero-title .line1:hover::before,
        .hero-title .line1:hover::after {
            opacity: 0.8;
        }

        @keyframes glitch1 {
            0% { clip-path: inset(20% 0 60% 0); transform: translate(-3px); }
            20% { clip-path: inset(10% 0 70% 0); transform: translate(3px); }
            40% { clip-path: inset(50% 0 30% 0); transform: translate(-3px); }
            60% { clip-path: inset(30% 0 50% 0); transform: translate(3px); }
            80% { clip-path: inset(70% 0 10% 0); transform: translate(-3px); }
            100% { clip-path: inset(40% 0 40% 0); transform: translate(3px); }
        }

        @keyframes glitch2 {
            0% { clip-path: inset(60% 0 20% 0); transform: translate(3px); }
            20% { clip-path: inset(70% 0 10% 0); transform: translate(-3px); }
            40% { clip-path: inset(30% 0 50% 0); transform: translate(3px); }
            60% { clip-path: inset(50% 0 30% 0); transform: translate(-3px); }
            80% { clip-path: inset(10% 0 70% 0); transform: translate(3px); }
            100% { clip-path: inset(40% 0 40% 0); transform: translate(-3px); }
        }

        .hero-title .line2 {
            display: block;
            font-size: 0.18em;
            color: var(--text-dim);
            letter-spacing: 0.3em;
            margin-top: 1rem;
            font-weight: 400;
            font-family: 'JetBrains Mono', monospace;
            opacity: 0.8;
        }

        .terminal-box {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.9rem;
            color: var(--text-dim);
            margin: 32px 0;
            padding: 16px 32px;
            background: rgba(0, 255, 157, 0.03);
            border: 1px solid rgba(0, 255, 157, 0.1);
            border-radius: 4px;
        }

        .terminal-box .prompt {
            color: var(--secondary);
        }

        .terminal-box .command {
            color: var(--primary);
        }

        .terminal-box .cursor {
            display: inline-block;
            width: 8px;
            height: 16px;
            background: var(--primary);
            margin-left: 4px;
            animation: cursorBlink 1s step-end infinite;
        }

        @keyframes cursorBlink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        .hero-subtitle {
            font-family: 'JetBrains Mono', monospace;
            font-size: 1rem;
            color: var(--text-dim);
            max-width: 600px;
            line-height: 1.8;
            margin-bottom: 3rem;
        }

        .hero-subtitle span {
            color: var(--accent);
            text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
        }

        .btn {
            font-family: 'Orbitron', 'Arial Black', 'Segoe UI Black', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 2px;
            padding: 16px 40px;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            text-transform: uppercase;
            position: relative;
            overflow: hidden;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary) 0%, #00d4aa 50%, var(--primary) 100%);
            background-size: 200% 200%;
            color: #0a0a0f;
            clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
            overflow: hidden;
            position: relative;
            font-weight: 600;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
            animation: btnGradientShift 3s ease infinite;
            border: none;
            box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }
        
        @keyframes btnGradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.4),
                transparent
            );
            transition: left 0.6s ease;
        }
        
        .btn-primary::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
            transform: translate(-50%, -50%);
            transition: width 0.4s ease, height 0.4s ease;
            border-radius: 50%;
        }

        .btn-primary:hover {
            box-shadow: 
                0 0 20px rgba(0, 255, 157, 0.6),
                0 0 40px rgba(0, 255, 157, 0.4),
                0 0 60px rgba(0, 255, 157, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
            transform: translateY(-3px) scale(1.02);
            animation: btnGradientShift 1s ease infinite, btnPulse 0.5s ease;
        }
        
        .btn-primary:hover::before {
            left: 100%;
        }
        
        .btn-primary:hover::after {
            width: 300px;
            height: 300px;
        }
        
        @keyframes btnPulse {
            0%, 100% { filter: brightness(1); }
            50% { filter: brightness(1.2); }
        }
        
        .btn-primary:active {
            transform: translateY(-1px) scale(0.98);
            box-shadow: 0 2px 10px rgba(0, 255, 157, 0.4);
        }
        
        /* GitHub按钮特殊样式 */
        .github-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 28px;
            font-size: 0.95rem;
            letter-spacing: 2px;
        }
        
        .github-btn .github-icon {
            transition: transform 0.3s ease;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
        }
        
        .github-btn:hover .github-icon {
            transform: rotate(360deg) scale(1.2);
        }

        .btn-outline {
            background: transparent;
            color: var(--primary);
            border: 1px solid var(--primary);
            clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
        }

        .btn-outline:hover {
            background: rgba(0, 255, 157, 0.1);
            box-shadow: var(--glow);
        }

        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            color: var(--text-dim);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            letter-spacing: 3px;
            animation: bounce 2s infinite;
        }

        .scroll-indicator svg {
            width: 20px;
            height: 20px;
            stroke: var(--primary);
        }

        @keyframes bounce {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(10px); }
        }

        /* Section Styles */
        .section {
            padding: 80px 5%;
            max-width: 1400px;
            margin: 0 auto;
            box-sizing: border-box;
            width: 100%;
        }

        .section-header {
            margin-bottom: 50px;
            text-align: left;
        }

        .section-tag {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            color: var(--secondary);
            letter-spacing: 3px;
            margin-bottom: 12px;
            display: block;
        }

        .section-title {
            font-family: 'Orbitron', 'Arial Black', 'Segoe UI Black', sans-serif;
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 700;
            color: var(--text);
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 0;
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            box-shadow: var(--glow);
        }

        /* Category Grid */
        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 20px;
            width: 100%;
        }

        .category-card {
            display: block;
            text-decoration: none;
            cursor: pointer;
            background: var(--bg-card);
            border: 1px solid rgba(255, 255, 255, 0.05);
            padding: 32px;
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s;
        }

        .category-card::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 0 30px 30px 0;
            border-color: transparent rgba(255,255,255,0.03) transparent transparent;
            transition: border-color 0.4s;
        }

        .category-card:hover {
            transform: translateY(-8px);
            border-color: rgba(0, 255, 157, 0.3);
            background: var(--bg-card-hover);
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(0, 255, 157, 0.1);
        }

        .category-card:hover::before { transform: scaleX(1); }
        .category-card:hover::after { border-color: transparent var(--primary) transparent transparent; }

        .category-card.active {
            border-color: var(--primary);
            background: var(--bg-card-hover);
            box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
        }

        .category-card.active::before { transform: scaleX(1); }

        .category-icon {
            font-size: 2.5rem;
            margin-bottom: 16px;
            display: block;
            transition: transform 0.3s;
        }

        .category-card:hover .category-icon { transform: scale(1.1); }

        .category-name {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text);
            transition: color 0.3s;
        }

        .category-card:hover .category-name { color: var(--primary); }

        .category-desc {
            font-size: 0.9rem;
            color: var(--text-dim);
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .category-count {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .category-count::before {
            content: '';
            width: 6px;
            height: 6px;
            background: var(--primary);
            border-radius: 50%;
            box-shadow: var(--glow);
            animation: pulse 2s infinite;
        }

        /* Posts Grid */
        .posts-grid {
            display: flex;
            flex-direction: column;
            gap: 15px;
            width: 100%;
        }

        /* === 液态玻璃卡片 - 四层结构 === */
        .post-card {
            border-radius: 16px;
            padding: 0;
            display: grid;
            grid-template-columns: 80px 1fr auto;
            gap: 0;
            align-items: center;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2), box-shadow 0.3s ease;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 40px rgba(0, 0, 0, 0.15);
            background: transparent;
            height: 140px;
            /* 3D tilt 基础设置 */
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        /* 3D Tilt 效果容器 */
        .posts-grid {
            perspective: 2000px;
        }

        .post-card {
            transform: translateZ(0);
            transition: 
                transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s ease;
        }

        /* macOS Liquid Glass 悬停效果 - 果冻弹性 */
        .post-card:hover {
            transform: 
                translateY(-12px) 
                translateZ(40px) 
                scale(1.02);
            box-shadow: 
                0 25px 50px rgba(0, 0, 0, 0.5), 
                0 10px 20px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1);
        }

        /* 悬停时玻璃层的光照变化 */
        .post-card:hover .lg-tint {
            background: linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.025) 0%,
                rgba(255, 255, 255, 0.01) 50%,
                rgba(255, 255, 255, 0.02) 100%
            );
        }

        .post-card:hover .lg-shine::before {
            background: linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.05) 0%,
                rgba(255, 255, 255, 0.02) 50%,
                transparent 100%
            );
        }

        /* 悬停时阴影增强 */
        .post-card:hover .lg-shadow {
            opacity: 1;
            box-shadow:
                0 20px 60px rgba(0, 0, 0, 0.5),
                0 8px 24px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        /* 全息反光层 - 更微妙的彩虹光 */
        .post-card .lg-hologram {
            position: absolute;
            inset: 0;
            z-index: 4;
            background: linear-gradient(
                120deg,
                transparent 30%,
                rgba(255, 255, 255, 0.005) 45%,
                rgba(200, 230, 255, 0.01) 50%,
                rgba(255, 255, 255, 0.005) 55%,
                transparent 70%
            );
            background-size: 200% 200%;
            border-radius: 16px;
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        .post-card:hover .lg-hologram {
            opacity: 1;
            animation: hologramShift 3s ease-in-out infinite;
        }

        @keyframes hologramShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        /* ===== macOS Liquid Glass 多层结构 ===== */

        /* Layer 1: 背景折射层 (Lensing) */
        .post-card .lg-effect {
            position: absolute;
            z-index: 0;
            inset: 0;
            backdrop-filter: blur(12px) saturate(1.2);
            filter: url(#glass-distortion);
            overflow: hidden;
            isolation: isolate;
            border-radius: 16px;
        }

        /* Layer 2: 材质基底 (Material Base) */
        .post-card .lg-tint {
            z-index: 1;
            position: absolute;
            inset: 0;
            background: linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.015) 0%,
                rgba(255, 255, 255, 0.005) 50%,
                rgba(255, 255, 255, 0.01) 100%
            );
            border-radius: 16px;
        }

        /* Layer 3: 顶部高光 (Highlight) */
        .post-card .lg-shine {
            position: absolute;
            inset: 0;
            z-index: 2;
            overflow: hidden;
            border-radius: 16px;
            box-shadow:
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.06),
                inset 0 -1px 1px 0 rgba(255, 255, 255, 0.01);
        }

        /* Layer 4: 顶部聚光灯效果 */
        .post-card .lg-shine::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 40%;
            background: linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.03) 0%,
                rgba(255, 255, 255, 0.01) 40%,
                transparent 100%
            );
            border-radius: 16px 16px 0 0;
            pointer-events: none;
        }

        /* Layer 5: 底部阴影层 (Shadow) */
        .post-card .lg-shadow {
            position: absolute;
            inset: -2px;
            z-index: -1;
            background: transparent;
            border-radius: 18px;
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.4),
                0 2px 8px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            opacity: 0.8;
        }

        /* 第六层：柔和流光 (Soft Sweep) - macOS 风格 */
        .post-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 60%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent 0%,
                rgba(255, 255, 255, 0.02) 30%,
                rgba(255, 255, 255, 0.04) 50%,
                rgba(255, 255, 255, 0.02) 70%,
                transparent 100%
            );
            transform: skewX(-20deg);
            z-index: 5;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .post-card:hover::before {
            opacity: 1;
            animation: softSweep 1.2s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes softSweep {
            0% { left: -100%; }
            100% { left: 200%; }
        }

        /* 第七层：边缘柔光 (Edge Glow) - macOS 风格 */
        .post-card::after {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 18px;
            padding: 2px;
            background: linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.05) 0%,
                rgba(255, 255, 255, 0.02) 30%,
                rgba(255, 255, 255, 0.005) 50%,
                rgba(255, 255, 255, 0.02) 70%,
                rgba(255, 255, 255, 0.05) 100%
            );
            background-size: 100% 200%;
            -webkit-mask: 
                linear-gradient(#fff 0 0) content-box, 
                linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            z-index: 6;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .post-card:hover::after {
            opacity: 0.15;
        }

        /* 第四层：内容 */
        .post-card .lg-content {
            z-index: 3;
            display: contents;
        }

        .post-card > .post-date,
        .post-card > .post-content,
        .post-card > .post-tags {
            position: relative;
            z-index: 3;
        }

        .post-date {
            text-align: center;
            padding: 18px 20px 18px 20px;
            border-right: 1px solid rgba(255, 255, 255, 0.08);
            align-self: stretch;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .post-date .day {
            font-family: 'Orbitron', 'Arial Black', 'Segoe UI Black', sans-serif;
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            line-height: 1;
            text-shadow: var(--glow);
        }

        .post-date span:last-child {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            color: var(--text-dim);
            letter-spacing: 1px;
        }

        .post-content {
            padding: 16px 20px;
        }
        .post-content h3 {
            font-family: 'Noto Sans SC', sans-serif;
            font-size: 1.05rem;
            font-weight: 500;
            margin-bottom: 5px;
            color: var(--text);
            transition: color 0.3s;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .post-card:hover .post-content h3 {
            color: var(--primary);
        }

        .post-content p {
            font-size: 0.85rem;
            color: var(--text-dim);
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .post-tags {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            padding: 16px 24px 16px 12px;
            justify-content: flex-end;
            align-content: center;
            max-width: 200px;
            height: 100%;
            max-height: 140px;
            overflow: hidden;
        }

        .tag {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            padding: 5px 12px;
            border-radius: 2px;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: 1px solid;
            flex-shrink: 0;
            line-height: 1;
            height: fit-content;
        }

        .tag.ctf {
            background: rgba(255, 0, 110, 0.1);
            color: var(--secondary);
            border-color: rgba(255, 0, 110, 0.3);
        }

        .tag.pentest {
            background: rgba(0, 255, 157, 0.1);
            color: var(--primary);
            border-color: rgba(0, 255, 157, 0.3);
        }

        .tag {
            background: rgba(0, 212, 255, 0.1);
            color: var(--accent);
            border-color: rgba(0, 212, 255, 0.3);
        }

        /* Stats Section */
        .stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            padding: 60px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            margin: 60px 0;
        }

        .stat-item {
            text-align: center;
            padding: 24px;
            background: var(--bg-card);
            border: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
        }

        .stat-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 50%;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--primary), transparent);
        }

        .stat-value {
            font-family: 'Orbitron', 'Arial Black', 'Segoe UI Black', sans-serif;
            font-size: 3rem;
            font-weight: 900;
            color: var(--primary);
            text-shadow: var(--glow-strong);
            line-height: 1;
        }

        .stat-label {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            color: var(--text-dim);
            letter-spacing: 2px;
            margin-top: 8px;
        }

        /* 工具库 - 终端风格 */
        .tools-terminal {
            background: #0c0e12;
            border: 1px solid rgba(0, 255, 157, 0.15);
            border-radius: 8px;
            margin: 28px 0;
            overflow: hidden;
            font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
            box-shadow: 0 4px 24px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.02);
        }

        .tools-terminal-bar {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 18px;
            background: #1a1d23;
            border-bottom: 1px solid rgba(0,0,0,0.3);
        }

        .tools-terminal-dot {
            width: 11px;
            height: 11px;
            border-radius: 50%;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
        }

        .tools-terminal-dot:nth-child(1) { background: #ff5f57; }
        .tools-terminal-dot:nth-child(2) { background: #febc2e; }
        .tools-terminal-dot:nth-child(3) { background: #28c840; }

        .tools-terminal-title {
            margin-left: 16px;
            font-size: 0.72rem;
            color: rgba(255,255,255,0.35);
            letter-spacing: 0.5px;
        }

        .tools-terminal-body {
            padding: 24px 28px 28px;
            min-height: 380px;
            background: linear-gradient(180deg, #0d1117 0%, #0a0c10 100%);
        }

        .tools-terminal-output {
            font-size: 0.9rem;
            line-height: 1.65;
            margin-bottom: 18px;
            max-height: 420px;
            overflow-y: auto;
        }

        .tools-terminal-output::-webkit-scrollbar {
            width: 8px;
        }
        .tools-terminal-output::-webkit-scrollbar-track {
            background: #0d1117;
        }
        .tools-terminal-output::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.15);
            border-radius: 4px;
        }

        .tools-terminal-line {
            margin-bottom: 4px;
        }

        .tools-terminal-banner {
            color: rgba(255,255,255,0.35);
            font-size: 0.9rem;
            margin-bottom: 12px;
        }

        .tools-terminal-response {
            color: rgba(255,255,255,0.7);
            margin: 4px 0 12px 0;
            white-space: pre-wrap;
            word-break: break-word;
        }

        .tools-prompt {
            margin-right: 8px;
            flex-shrink: 0;
        }

        .tools-user { color: #7ee787; }
        .tools-user.root { color: #f97583; }
        .tools-at { color: rgba(255,255,255,0.5); }
        .tools-host { color: #79c0ff; }
        .tools-path { color: #d2a8ff; }

        .tools-cmd {
            color: rgba(255,255,255,0.95);
        }

        .tools-cyan { color: #79c0ff; }
        .tools-green { color: var(--primary); }
        .tools-yellow { color: #d2a8ff; }

        .tools-terminal-input-wrap {
            display: flex;
            align-items: center;
            gap: 0;
            flex-wrap: wrap;
            font-size: 0.9rem;
            font-family: 'JetBrains Mono', 'Fira Code', monospace;
        }

        .tools-terminal-input {
            flex: 1;
            min-width: 120px;
            background: transparent;
            border: none;
            color: #fff;
            font-family: inherit;
            font-size: inherit;
            outline: none;
            padding: 0 4px;
            caret-color: var(--primary);
        }

        .tools-terminal-input::placeholder {
            color: rgba(255,255,255,0.3);
        }

        .code-block .comment { color: rgba(255,255,255,0.4); }
        .code-block .cmd { color: var(--primary); }
        .code-block .flag { color: #f97583; }
        .code-block .str { color: #79c0ff; }

        /* Tools & Scripts - 仅 Featured 工具 */
        .tools-section-header {
            margin-bottom: 16px;
        }
        .tools-section-header .title-row {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }
        .finder-weapon-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            font-size: 0.8rem;
            font-family: 'JetBrains Mono', monospace;
            color: var(--primary);
            background: rgba(0, 255, 157, 0.08);
            border: 1px solid rgba(0, 255, 157, 0.25);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .finder-weapon-btn:hover {
            background: rgba(0, 255, 157, 0.15);
            border-color: var(--primary);
            box-shadow: 0 0 12px rgba(0, 255, 157, 0.2);
        }
        /* 访达武器库弹窗 - 绯Finder窗口 */
        .finder-modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 10001;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.25s ease, visibility 0.25s ease;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(4px);
        }
        .finder-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        .finder-modal-window {
            width: min(95vw, 1200px);
            min-width: min(95vw, 900px);
            height: min(90vh, 800px);
            min-height: 500px;
            border-radius: 12px;
            overflow: hidden;
            transform: scale(0.92);
            opacity: 0;
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
            /* 完全透明背景，只有阴影 */
            background: transparent !important;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }
        .finder-modal-overlay.active .finder-modal-window {
            transform: scale(1);
            opacity: 1;
        }
        .finder-modal-body {
            height: 100%;
            background: transparent !important;
        }
        .finder-modal-body iframe {
            width: 100%;
            height: 100%;
            border: none;
            background: transparent !important;
        }

        /* Footer - 重构版 */
        footer {
            padding: 56px 2rem 28px;
            border-top: 1px solid rgba(0, 255, 157, 0.06);
            background: linear-gradient(180deg, rgba(5, 8, 12, 0.4) 0%, rgba(2, 4, 6, 0.98) 100%);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-main {
            display: grid;
            grid-template-columns: 1.2fr repeat(2, 1fr);
            gap: 48px;
            padding-bottom: 40px;
        }
        /* 流光分割线：UIverse cuddly-turkey-4 风格 */
        .footer-divider {
            position: relative;
            width: 100%;
            height: 3px;
            background: linear-gradient(to right, transparent, rgba(40, 174, 96, 0.12), transparent);
            overflow: hidden;
            margin: 0 0 28px 0;
        }
        .footer-divider::after {
            content: '';
            position: absolute;
            top: 0;
            left: -200px;
            width: 150px;
            height: 100%;
            background: linear-gradient(to right, transparent, #28AE60, transparent);
            animation: footer-slide 4s ease-in-out infinite;
        }
        @keyframes footer-slide {
            0%   { left: -200px; }
            100% { left: calc(100% + 200px); }
        }

        .footer-brand {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .footer-brand .logo {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            letter-spacing: 2px;
        }

        .footer-brand .logo:hover {
            color: #fff;
            text-shadow: 0 0 12px rgba(0, 255, 157, 0.5);
        }

        .footer-brand p {
            color: var(--text-dim);
            font-size: 0.875rem;
            line-height: 1.65;
            max-width: 280px;
        }

        .footer-col h4 {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.6875rem;
            font-weight: 500;
            color: rgba(0, 255, 157, 0.85);
            letter-spacing: 2.5px;
            text-transform: uppercase;
            margin-bottom: 18px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(0, 255, 157, 0.15);
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col li {
            margin-bottom: 12px;
        }

        .footer-col li:last-child {
            margin-bottom: 0;
        }

        .footer-col a {
            color: rgba(255, 255, 255, 0.55);
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 400;
            letter-spacing: 0.3px;
            transition: color 0.2s ease, padding-left 0.2s ease;
            display: inline-block;
        }

        .footer-col a:hover {
            color: rgba(0, 255, 157, 0.95);
            padding-left: 4px;
        }

        .footer-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 28px;
        }

        .footer-copyright {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.35);
            letter-spacing: 0.5px;
        }

        .footer-social a {
            color: rgba(255, 255, 255, 0.45);
            text-decoration: none;
            font-size: 0.8rem;
            margin-left: 20px;
            transition: color 0.2s ease;
        }

        .footer-social a:hover {
            color: var(--primary);
        }


        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }

        .mobile-menu-btn span {
            width: 24px;
            height: 2px;
            background: var(--primary);
            transition: all 0.3s;
        }

        /* Mobile Responsive */
        @media (max-width: 1024px) {
            .stats {
                grid-template-columns: repeat(2, 1fr);
            }


            .footer-main {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            nav {
                padding: 1rem 1.5rem;
            }

            .nav-center {
                display: none;
            }

            .search-box {
                display: none;
            }

            .mobile-menu-btn {
                display: flex;
            }

            .section {
                padding: 60px 1.5rem;
            }

            .category-grid {
                grid-template-columns: 1fr;
            }

            .post-card {
                grid-template-columns: 1fr;
                gap: 0;
                height: auto;
                min-height: 120px;
                transform: none !important;
            }

            .post-card:active {
                transform: scale(0.98) !important;
                transition: transform 0.1s ease;
            }
            .post-date {
                display: flex;
                align-items: center;
                gap: 8px;
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.08);
                padding: 14px 16px;
                align-self: auto;
            }

            .post-date .day {
                font-size: 1.5rem;
            }

            .post-tags {
                justify-content: flex-start;
                padding: 12px 16px;
                max-width: none;
                height: auto;
                max-height: none;
                align-content: flex-start;
            }

            .stats {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .stat-value {
                font-size: 2rem;
            }

            .tools-terminal-body {
                padding: 20px 16px 24px;
            }

            .footer-main {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .footer-bar {
                flex-direction: column;
                gap: 12px;
                text-align: center;
            }
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: transparent;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 3px;
        }

        /* Selection */
        ::selection {
            background: var(--primary);
            color: var(--bg-dark);
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--bg-card);
            border: 1px solid var(--primary);
            color: var(--primary);
            font-size: 1.2rem;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 999;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            background: var(--primary);
            color: var(--bg-dark);
            box-shadow: var(--glow);
        }

        /* ===== Command Palette 搜索弹窗 ===== */

        /* 遮罩层 */
        .cmd-overlay {
            position: fixed;
            inset: 0;
            z-index: 10000;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding-top: 80px;
            /* 默认隐藏 */
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease;
        }
        .cmd-overlay::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 5, 2, 0.75);
            backdrop-filter: blur(12px) saturate(0.8);
            -webkit-backdrop-filter: blur(12px) saturate(0.8);
            transition: opacity 0.25s ease;
        }
        /* 打开状态 */
        .cmd-overlay.cmd-open {
            opacity: 1;
            pointer-events: auto;
        }

        /* 弹窗主体 */
        .cmd-palette {
            position: relative;
            z-index: 1;
            width: 92%;
            max-width: 760px;
            max-height: 72vh;
            display: flex;
            flex-direction: column;
            background: rgba(8, 12, 10, 0.96);
            border-radius: 16px;
            overflow: hidden;
            /* 双层边框：外层绿色光晕 + 内层细线 */
            box-shadow:
                0 0 0 1px rgba(0, 255, 157, 0.5),
                0 0 0 3px rgba(0, 255, 157, 0.08),
                0 0 40px rgba(0, 255, 157, 0.15),
                0 0 80px rgba(0, 240, 255, 0.08),
                0 32px 80px rgba(0, 0, 0, 0.8);
            /* 入场动画 */
            transform: translateY(-24px) scale(0.96);
            transition:
                transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
        }
        .cmd-overlay.cmd-open .cmd-palette {
            transform: translateY(0) scale(1);
        }

        /* 顶部搜索栏 */
        .cmd-search-bar {
            display: flex;
            align-items: center;
            padding: 0 20px;
            height: 64px;
            border-bottom: 1px solid rgba(0, 255, 157, 0.12);
            gap: 14px;
            flex-shrink: 0;
        }
        .cmd-search-icon {
            color: rgba(0, 255, 157, 0.7);
            flex-shrink: 0;
            display: flex;
            align-items: center;
        }
        .cmd-input {
            flex: 1;
            background: none;
            border: none;
            outline: none;
            font-family: 'JetBrains Mono', 'Courier New', monospace;
            font-size: 1.05rem;
            color: #e8ffe8;
            caret-color: #00ff9d;
            letter-spacing: 0.02em;
        }
        .cmd-input::placeholder {
            color: rgba(180, 210, 190, 0.35);
        }
        .cmd-kbd-hint {
            flex-shrink: 0;
        }
        kbd {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 2px 7px;
            border-radius: 5px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            color: rgba(0, 255, 157, 0.6);
            background: rgba(0, 255, 157, 0.06);
            border: 1px solid rgba(0, 255, 157, 0.2);
            line-height: 1.6;
        }

        /* 扫描线动效 */
        .cmd-scanline {
            height: 2px;
            background: linear-gradient(90deg,
                transparent 0%,
                rgba(0, 255, 157, 0.6) 30%,
                rgba(0, 240, 255, 0.8) 50%,
                rgba(0, 255, 157, 0.6) 70%,
                transparent 100%);
            background-size: 200% 100%;
            animation: cmd-scan 2.5s linear infinite;
            flex-shrink: 0;
        }
        @keyframes cmd-scan {
            0%   { background-position: 200% 0; opacity: 0.8; }
            50%  { opacity: 1; }
            100% { background-position: -200% 0; opacity: 0.8; }
        }

        /* 结果区域 */
        .cmd-results-wrap {
            flex: 1;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
        .cmd-results-label {
            padding: 10px 20px 6px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            color: rgba(0, 255, 157, 0.4);
            letter-spacing: 0.12em;
            flex-shrink: 0;
        }
        .search-results {
            padding: 0 12px 12px;
            overflow-y: auto;
            flex: 1;
            /* 自定义滚动条 */
            scrollbar-width: thin;
            scrollbar-color: rgba(0, 255, 157, 0.3) transparent;
        }
        .search-results::-webkit-scrollbar {
            width: 4px;
        }
        .search-results::-webkit-scrollbar-track {
            background: transparent;
        }
        .search-results::-webkit-scrollbar-thumb {
            background: rgba(0, 255, 157, 0.3);
            border-radius: 2px;
        }

        /* 结果项 */
        .search-result-item {
            padding: 14px 16px;
            border-radius: 10px;
            margin-bottom: 6px;
            cursor: pointer;
            border: 1px solid transparent;
            background: rgba(255, 255, 255, 0.02);
            transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
            /* stagger 动画初始状态 */
            opacity: 0;
            transform: translateY(8px);
            animation: cmd-item-in 0.25s ease forwards;
        }
        @keyframes cmd-item-in {
            to { opacity: 1; transform: translateY(0); }
        }
        .search-result-item:hover,
        .search-result-item.cmd-selected {
            border-color: rgba(0, 255, 157, 0.3);
            background: rgba(0, 255, 157, 0.05);
            transform: translateX(3px);
        }
        .search-result-item:hover .search-result-title,
        .search-result-item.cmd-selected .search-result-title {
            color: #00ff9d;
        }
        .search-result-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 5px;
            color: #d8f0d8;
            transition: color 0.15s;
        }
        .search-result-summary {
            font-size: 0.82rem;
            color: rgba(180, 200, 185, 0.6);
            line-height: 1.55;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .search-result-meta {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            color: rgba(0, 240, 255, 0.6);
            margin-top: 7px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .search-result-meta .meta-sep {
            color: rgba(0, 255, 157, 0.3);
        }
        .search-result-meta .meta-tag {
            color: rgba(0, 255, 157, 0.55);
        }

        /* 空状态 */
        .cmd-empty {
            text-align: center;
            padding: 50px 20px;
            flex-shrink: 0;
        }
        .cmd-empty-icon {
            font-size: 2.5rem;
            color: rgba(0, 255, 157, 0.2);
            margin-bottom: 12px;
        }
        .cmd-empty-text {
            font-family: 'Orbitron', monospace;
            font-size: 0.85rem;
            color: rgba(0, 255, 157, 0.4);
            letter-spacing: 0.15em;
        }
        .cmd-empty-sub {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            color: rgba(180, 200, 185, 0.3);
            margin-top: 6px;
        }

        /* 底部状态栏 */
        .cmd-footer {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 10px 20px;
            border-top: 1px solid rgba(0, 255, 157, 0.08);
            background: rgba(0, 255, 157, 0.02);
            flex-shrink: 0;
        }
        .cmd-footer-item {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.68rem;
            color: rgba(180, 200, 185, 0.4);
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .cmd-footer-status {
            margin-left: auto;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            color: rgba(0, 255, 157, 0.5);
            letter-spacing: 0.1em;
        }
        .cmd-footer-status.cmd-loading {
            color: rgba(0, 240, 255, 0.7);
            animation: cmd-blink 0.8s step-end infinite;
        }
        @keyframes cmd-blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .cmd-overlay {
                padding-top: 60px;
                align-items: flex-start;
            }
            .cmd-palette {
                width: 96%;
                max-height: 80vh;
            }
            .cmd-footer {
                display: none;
            }
        }

        /* ==================== 新闻聚合模块样式 - CYBER INTEL v2.0 ==================== */
        .news-section {
            background: linear-gradient(180deg, 
                transparent 0%, 
                rgba(0, 255, 157, 0.01) 20%,
                rgba(0, 212, 255, 0.02) 50%, 
                rgba(255, 0, 110, 0.01) 80%,
                transparent 100%);
            position: relative;
            overflow: hidden;
        }

        .news-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, 
                transparent 0%, 
                var(--primary) 20%, 
                var(--accent) 50%, 
                var(--secondary) 80%, 
                transparent 100%);
            animation: newsHeaderGlow 4s ease-in-out infinite;
        }

        .news-section::after {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(0, 255, 157, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        @keyframes newsHeaderGlow {
            0%, 100% { opacity: 0.6; filter: blur(0px); }
            50% { opacity: 1; filter: blur(1px); }
        }

        /* 控制栏 - 简洁风格 */
        .news-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
            gap: 16px;
            padding: 20px 24px;
            background: rgba(10, 10, 15, 0.5);
            border: 1px solid rgba(0, 255, 157, 0.1);
            border-radius: 8px;
            position: relative;
        }

        .news-controls::before {
            content: '> INTEL_FEED';
            position: absolute;
            top: -12px;
            left: 20px;
            padding: 4px 12px;
            background: var(--bg);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            color: var(--primary);
            letter-spacing: 2px;
            border: 1px solid rgba(0, 255, 157, 0.2);
            border-radius: 4px;
        }

        .news-filters {
            display: flex;
            gap: 8px;
        }

        .news-filter-btn {
            padding: 10px 20px;
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-dim);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.25s ease;
            position: relative;
            border-radius: 6px;
        }

        .news-filter-btn::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--primary);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s ease;
        }

        .news-filter-btn:hover {
            color: var(--primary);
            border-color: rgba(0, 255, 157, 0.3);
            background: rgba(0, 255, 157, 0.05);
        }

        .news-filter-btn:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }

        .news-filter-btn.active {
            color: #0a0a0f;
            border-color: var(--primary);
            background: var(--primary);
            box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
            font-weight: 600;
        }

        .news-filter-btn.active::after {
            display: none;
        }

        /* 刷新按钮 - 简洁风格 */
        .news-refresh-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 10px 24px;
            background: transparent;
            border: 1px solid var(--primary);
            color: var(--primary);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.25s ease;
            border-radius: 6px;
        }

        .news-refresh-btn:hover {
            background: rgba(0, 255, 157, 0.1);
            box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
        }

        .news-refresh-btn .refresh-icon {
            width: 16px;
            height: 16px;
            transition: transform 0.5s ease;
        }

        .news-refresh-btn:hover .refresh-icon {
            transform: rotate(180deg);
        }

        .news-refresh-btn.loading .refresh-icon {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* ==================== 更新按钮（爬取）==================== */
        .news-crawl-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 10px 24px;
            background: transparent;
            border: 1px solid var(--primary);
            color: var(--primary);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.25s ease;
            border-radius: 6px;
        }
        .news-crawl-btn:hover {
            background: rgba(0, 255, 157, 0.1);
            box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
        }
        .news-crawl-btn:disabled {
            opacity: 0.45;
            cursor: not-allowed;
        }
        .news-crawl-btn .refresh-icon {
            width: 16px;
            height: 16px;
            transition: transform 0.5s ease;
        }
        .news-crawl-btn:hover .refresh-icon {
            transform: rotate(180deg);
        }
        .news-crawl-btn.loading .refresh-icon {
            animation: spin 1s linear infinite;
        }

        /* ==================== 翻页控件 ==================== */
        .news-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 32px;
            flex-wrap: wrap;
        }
        .news-page-nav {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 18px;
            background: transparent;
            border: 1px solid rgba(0, 255, 157, 0.35);
            color: var(--primary);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 1.5px;
            cursor: pointer;
            border-radius: 5px;
            transition: all 0.2s ease;
        }
        .news-page-nav:hover:not(.disabled) {
            background: rgba(0, 255, 157, 0.1);
            border-color: var(--primary);
            box-shadow: 0 0 12px rgba(0, 255, 157, 0.15);
        }
        .news-page-nav.disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
        .news-page-numbers {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .news-page-btn {
            min-width: 36px;
            height: 36px;
            padding: 0 8px;
            background: transparent;
            border: 1px solid rgba(0, 255, 157, 0.2);
            color: rgba(255, 255, 255, 0.6);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.2s ease;
        }
        .news-page-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(0, 255, 157, 0.07);
        }
        .news-page-btn.active {
            background: rgba(0, 255, 157, 0.15);
            border-color: var(--primary);
            color: var(--primary);
            box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
        }
        .news-page-ellipsis {
            color: rgba(255, 255, 255, 0.3);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem;
            padding: 0 4px;
            user-select: none;
        }
        @media (max-width: 640px) {
            .news-pagination { gap: 6px; }
            .news-page-nav { padding: 7px 12px; font-size: 0.68rem; }
            .news-page-btn { min-width: 32px; height: 32px; font-size: 0.7rem; }
        }

        .news-loading-inline {
            display: flex;
            align-items: center;
            margin-left: 12px;
        }

        .news-loading-inline.hidden {
            display: none;
        }

        .news-loading-inline .mini-spinner {
            width: 16px;
            height: 16px;
            border: 2px solid rgba(0, 255, 157, 0.2);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        /* ==================== 新闻模块 - Perigon风格 v2 ==================== */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
        }

        /* 新闻卡片 */
        .news-card {
            background: rgba(18, 20, 28, 0.95);
            border: 1px solid rgba(0, 255, 157, 0.15);
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            text-decoration: none;
            display: block;
            height: 280px;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .news-card:hover {
            transform: translateY(-6px);
            border-color: rgba(0, 255, 157, 0.6);
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 157, 0.15);
        }

        /* 顶部渐变条 */
        .news-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            opacity: 0.5;
            transition: opacity 0.3s ease;
            z-index: 10;
        }

        .news-card:hover::before {
            opacity: 1;
            height: 3px;
        }

        /* 图片容器 - 铺满整个卡片 */
        .news-image-wrap {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            overflow: hidden;
        }

        .news-image-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease, filter 0.5s ease;
            filter: brightness(0.65);
        }

        .news-card:hover .news-image-wrap img {
            transform: scale(1.08);
            filter: brightness(0.45);
        }

        /* 来源标签 */
        .news-source-tag {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 5px 12px;
            background: rgba(0, 255, 157, 0.95);
            color: #000;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            border-radius: 4px;
            z-index: 6;
        }

        /* 内容区域 - hover上升效果 */
        .news-body {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 18px 20px;
            background: linear-gradient(to top, 
                rgba(10, 12, 18, 0.98) 0%,
                rgba(10, 12, 18, 0.92) 50%,
                rgba(10, 12, 18, 0.6) 75%,
                transparent 100%);
            transform: translateY(38px);
            transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 5;
        }

        .news-card:hover .news-body {
            transform: translateY(0);
        }

        /* 时间和分类 */
        .news-meta-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .news-time-tag {
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.6);
            font-family: 'JetBrains Mono', monospace;
        }

        .news-cat-tag {
            font-size: 0.65rem;
            padding: 3px 10px;
            background: rgba(255, 204, 0, 0.15);
            color: #ffcc00;
            border: 1px solid rgba(255, 204, 0, 0.3);
            border-radius: 4px;
            text-transform: uppercase;
            font-weight: 600;
        }

        /* 标题 */
        .news-headline {
            font-size: 1.05rem;
            font-weight: 600;
            color: #fff;
            line-height: 1.4;
            margin-bottom: 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color 0.3s ease;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        }

        .news-card:hover .news-headline {
            color: var(--primary);
            margin-bottom: 10px;
        }

        /* 简介 - 默认隐藏，hover显示 */
        .news-desc {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            opacity: 0;
            max-height: 0;
            transform: translateY(10px);
            transition: all 0.35s ease;
        }

        .news-card:hover .news-desc {
            opacity: 1;
            max-height: 50px;
            transform: translateY(0);
            margin-bottom: 12px;
        }

        /* 底部栏 */
        .news-bottom-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.35s ease 0.05s;
        }

        .news-card:hover .news-bottom-bar {
            opacity: 1;
            transform: translateY(0);
        }

        .news-read-link {
            font-size: 0.75rem;
            color: var(--primary);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
            letter-spacing: 0.5px;
        }

        .news-read-link span {
            transition: transform 0.3s ease;
        }

        .news-card:hover .news-read-link span {
            transform: translateX(5px);
        }

        /* 信号条 */
        .news-signal-bars {
            display: flex;
            align-items: flex-end;
            gap: 2px;
            height: 14px;
        }

        .news-signal-bars i {
            display: block;
            width: 3px;
            background: var(--primary);
            border-radius: 1px;
            transition: all 0.3s ease;
        }

        .news-signal-bars i:nth-child(1) { height: 4px; }
        .news-signal-bars i:nth-child(2) { height: 7px; }
        .news-signal-bars i:nth-child(3) { height: 10px; }
        .news-signal-bars i:nth-child(4) { height: 14px; opacity: 0.4; }

        .news-card:hover .news-signal-bars i {
            box-shadow: 0 0 6px var(--primary);
        }
        
        /* v2 进场动画 */
        @keyframes newsSlide {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        /* 响应式 */
        @media (max-width: 1024px) {
            .news-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 640px) {
            .news-grid { grid-template-columns: 1fr; }
            .news-card { height: 300px; }
        }
        /* ==================== 新闻模块结束 ==================== */

        /* 隐藏旧的角落装饰 */
        .news-card-corner {
            display: none;
        }

        /* 兼容旧样式 */
        .news-image-container {
            position: relative;
            width: 100%;
            height: 200px;
            overflow: hidden;
            background: linear-gradient(135deg, 
                rgba(18, 18, 26, 1) 0%, 
                rgba(0, 212, 255, 0.05) 50%,
                rgba(0, 255, 157, 0.03) 100%);
        }

        .news-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.4s ease;
            filter: brightness(0.95);
        }

        .news-card:hover .news-image {
            transform: scale(1.05);
            filter: brightness(1);
        }

        /* 图片叠加层 */
        .news-image-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, 
                transparent 0%, 
                transparent 50%,
                rgba(10, 10, 15, 0.9) 100%);
            pointer-events: none;
        }

        /* 无图片占位符 */
        .news-image-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, 
                rgba(18, 18, 26, 1) 0%, 
                rgba(0, 212, 255, 0.08) 50%,
                rgba(0, 255, 157, 0.05) 100%);
            position: relative;
        }

        .news-image-placeholder::before {
            content: '🛡️';
            font-size: 3.5rem;
            opacity: 0.4;
            transition: all 0.3s ease;
        }

        .news-card:hover .news-image-placeholder::before {
            opacity: 0.6;
            transform: scale(1.1);
        }

        /* 新闻来源标签 */
        .news-source-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 6px 12px;
            background: rgba(10, 10, 15, 0.85);
            border: 1px solid rgba(0, 255, 157, 0.3);
            border-radius: 4px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.6rem;
            font-weight: 600;
            color: var(--primary);
            letter-spacing: 1px;
            text-transform: uppercase;
            backdrop-filter: blur(10px);
            z-index: 5;
        }

        /* 新闻内容区域 */
        .news-content {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
            position: relative;
            z-index: 2;
        }

        .news-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }

        .news-time {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            color: var(--text-dim);
            letter-spacing: 1px;
        }

        .news-category {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.6rem;
            color: var(--accent);
            letter-spacing: 1px;
            text-transform: uppercase;
            padding: 3px 8px;
            background: rgba(0, 212, 255, 0.1);
            border: 1px solid rgba(0, 212, 255, 0.2);
            border-radius: 3px;
        }

        .news-title {
            font-family: 'Noto Sans SC', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            line-height: 1.5;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color 0.3s ease;
        }

        .news-card:hover .news-title {
            color: var(--primary);
        }

        .news-summary {
            font-size: 0.85rem;
            color: var(--text-dim);
            line-height: 1.7;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 16px;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .news-read-more {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            color: var(--text-dim);
            letter-spacing: 2px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
        }

        .news-read-more svg {
            width: 14px;
            height: 14px;
            transition: transform 0.3s ease;
        }

        .news-card:hover .news-read-more {
            color: var(--primary);
        }

        .news-card:hover .news-read-more svg {
            transform: translateX(4px);
        }

        /* 信号强度指示器 */
        .news-signal {
            display: flex;
            align-items: flex-end;
            gap: 2px;
            height: 14px;
        }

        .news-signal-bar {
            width: 3px;
            background: var(--primary);
            border-radius: 1px;
            opacity: 0.2;
            transition: all 0.3s ease;
        }

        .news-signal-bar:nth-child(1) { height: 4px; }
        .news-signal-bar:nth-child(2) { height: 7px; }
        .news-signal-bar:nth-child(3) { height: 10px; }
        .news-signal-bar:nth-child(4) { height: 14px; }

        .news-signal-bar.active { opacity: 1; }

        .news-card:hover .news-signal-bar.active {
            box-shadow: 0 0 4px var(--primary);
        }

        /* 加载状态 */
        .news-loading,
        .news-empty,
        .news-error {
            grid-column: 1 / -1;
            text-align: center;
            padding: 80px 20px;
            color: var(--text-dim);
            font-family: 'JetBrains Mono', monospace;
        }

        .news-loading-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(0, 255, 157, 0.1);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 24px;
        }

        .news-loading-text {
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        .news-error {
            color: var(--secondary);
        }

        .news-error-btn {
            margin-top: 20px;
            padding: 12px 28px;
            background: transparent;
            border: 1px solid var(--secondary);
            color: var(--secondary);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 6px;
        }

        .news-error-btn:hover {
            background: rgba(255, 0, 110, 0.1);
        }

        .news-cache-info {
            text-align: center;
            margin-top: 30px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            color: var(--text-dim);
            opacity: 0.5;
            letter-spacing: 1px;
        }

        /* 响应式 */
        @media (max-width: 1200px) {
            .news-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .news-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .news-controls {
                flex-direction: column;
                align-items: stretch;
                gap: 12px;
            }

            .news-filters {
                overflow-x: auto;
                padding-bottom: 8px;
                justify-content: flex-start;
            }

            .news-image-container {
                height: 180px;
            }

            .news-title {
                font-size: 0.95rem;
            }
        }

        /* ==================== 极速流星 Canvas ==================== */
        #meteor-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            pointer-events: none;
            opacity: 1;
            transition: opacity 0.8s ease;
        }

        /* ==================== CTF 靶场 - 赛博朋克游戏化 UI ==================== */
        .ctf-game-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            width: 100%;
            max-width: 1400px;
            margin: 40px 0 0;
        }
        .ctf-game-card {
            position: relative;
            display: flex;
            flex-direction: column;
            padding: 0;
            background: rgba(255, 255, 255, 0.01);
            backdrop-filter: blur(15px) saturate(180%);
            -webkit-backdrop-filter: blur(15px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 24px;
            text-decoration: none;
            color: inherit;
            transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            min-height: 220px;
            box-sizing: border-box;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.3), inset 0 0 0 1px rgba(255,255,255,0.05);
        }
        .ctf-game-card .liquid-bg {
            position: absolute; top:0; left:0; width:100%; height:100%;
            z-index: -1; overflow: hidden; opacity: 0.4; transition: opacity 0.5s;
        }
        .ctf-game-card .blob {
            position: absolute; width:180px; height:180px;
            background: radial-gradient(circle, var(--primary) 0%, var(--accent) 100%);
            filter: blur(35px); border-radius: 50%; opacity: 0;
            transition: opacity 0.6s ease, transform 0.1s linear; pointer-events: none;
        }
        .ctf-game-card:hover .blob { opacity: 0.8; }
        .ctf-game-card:hover {
            transform: translateY(-8px);
            border-color: var(--primary);
            box-shadow: 0 25px 50px rgba(0,0,0,0.6), 0 0 40px rgba(0,255,157,0.15), inset 0 1px 0 rgba(255,255,255,0.05);
        }
        .ctf-game-card::before {
            content: ''; position: absolute; top:0; left:0; right:0; height:3px;
            background: linear-gradient(90deg, var(--primary), transparent); opacity: 0.6; transition: opacity 0.3s;
        }
        .ctf-game-card::after {
            content: ''; position: absolute; top:12px; right:12px; width:8px; height:8px;
            border-top: 2px solid rgba(0,255,157,0.3); border-right: 2px solid rgba(0,255,157,0.3); transition: all 0.3s;
        }
        .ctf-game-card:hover::before { opacity:1; background: linear-gradient(90deg, var(--primary), var(--primary-dim), transparent); }
        .ctf-game-card:hover::after { border-color: var(--primary); box-shadow: 0 0 10px var(--primary); }

        .card-header { display:flex; align-items:center; gap:16px; padding:24px 24px 16px; }
        .card-icon-wrap {
            width:56px; height:56px; min-width:56px; display:flex; align-items:center; justify-content:center;
            background: linear-gradient(135deg, rgba(0,255,157,0.1) 0%, rgba(0,255,157,0.02) 100%);
            border: 1px solid rgba(0,255,157,0.15); border-radius:14px; transition: all 0.3s; position:relative;
        }
        .ctf-game-card:hover .card-icon-wrap {
            background: linear-gradient(135deg, rgba(0,255,157,0.2) 0%, rgba(0,255,157,0.05) 100%);
            border-color: rgba(0,255,157,0.4); box-shadow: 0 0 20px rgba(0,255,157,0.2); transform: scale(1.05);
        }
        .card-icon { font-size:1.8rem; transition: transform 0.3s; filter: drop-shadow(0 0 8px rgba(0,255,157,0.3)); }
        .ctf-game-card:hover .card-icon { transform: scale(1.1); }
        .card-title-wrap { flex:1; min-width:0; }
        .card-title { font-family:'Orbitron',sans-serif; font-size:1.1rem; font-weight:700; color:#fff; margin-bottom:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; letter-spacing:0.5px; }
        .card-subtitle { font-size:0.7rem; color:rgba(0,255,157,0.6); font-family:'JetBrains Mono',monospace; text-transform:uppercase; letter-spacing:1px; }
        .card-content { flex:1; padding:0 24px; display:flex; flex-direction:column; }
        .card-desc { font-size:0.85rem; color:rgba(255,255,255,0.5); line-height:1.6; margin-bottom:16px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
        .card-skills { display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; }
        .skill-tag { font-size:0.65rem; padding:5px 12px; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.08); border-radius:6px; color:rgba(255,255,255,0.5); font-family:'JetBrains Mono',monospace; text-transform:uppercase; letter-spacing:0.5px; transition:all 0.3s; }
        .skill-tag.primary { color:var(--primary); border-color:rgba(0,255,157,0.25); background:rgba(0,255,157,0.08); }
        .ctf-game-card:hover .skill-tag { border-color:rgba(255,255,255,0.15); }
        .ctf-game-card:hover .skill-tag.primary { background:rgba(0,255,157,0.15); box-shadow:0 0 10px rgba(0,255,157,0.2); }
        .card-footer { display:flex; align-items:center; justify-content:space-between; padding:16px 24px; margin-top:auto; border-top:1px solid rgba(255,255,255,0.04); background:rgba(0,0,0,0.2); }
        .difficulty-bar { display:flex; align-items:center; gap:5px; }
        .difficulty-label { font-size:0.65rem; color:rgba(255,255,255,0.35); font-family:'JetBrains Mono',monospace; margin-right:8px; text-transform:uppercase; }
        .diff-dot { width:8px; height:8px; background:rgba(255,255,255,0.08); border-radius:2px; transition:all 0.3s; }
        .diff-dot.active { background:var(--primary); box-shadow:0 0 8px var(--primary); }
        .card-action { display:flex; align-items:center; gap:8px; font-size:0.75rem; color:rgba(255,255,255,0.4); font-family:'JetBrains Mono',monospace; transition:all 0.3s; }
        .card-arrow { font-size:1.2rem; color:rgba(255,255,255,0.3); transition:all 0.3s; }
        .ctf-game-card:hover .card-action { color:var(--primary); }
        .ctf-game-card:hover .card-arrow { color:var(--primary); transform:translateX(4px); }

        /* Featured 卡片（MY ARENA） */
        .ctf-game-card.featured { border-color:rgba(255,0,110,0.15); }
        .ctf-game-card.featured::before { background:linear-gradient(90deg, var(--secondary), transparent); }
        .ctf-game-card.featured::after { border-color:rgba(255,0,110,0.3); }
        .ctf-game-card.featured:hover { border-color:var(--secondary); box-shadow:0 25px 50px rgba(0,0,0,0.6), 0 0 40px rgba(255,0,110,0.15), inset 0 1px 0 rgba(255,255,255,0.05); }
        .ctf-game-card.featured:hover::before { background:linear-gradient(90deg, var(--secondary), rgba(255,0,110,0.3), transparent); }
        .ctf-game-card.featured:hover::after { border-color:var(--secondary); box-shadow:0 0 10px var(--secondary); }
        .ctf-game-card.featured .card-icon-wrap { background:linear-gradient(135deg, rgba(255,0,110,0.1) 0%, rgba(255,0,110,0.02) 100%); border-color:rgba(255,0,110,0.15); }
        .ctf-game-card.featured:hover .card-icon-wrap { background:linear-gradient(135deg, rgba(255,0,110,0.2) 0%, rgba(255,0,110,0.05) 100%); border-color:rgba(255,0,110,0.4); box-shadow:0 0 20px rgba(255,0,110,0.2); }
        .ctf-game-card.featured .card-subtitle { color:rgba(255,0,110,0.6); }
        .ctf-game-card.featured .skill-tag.primary { color:var(--secondary); border-color:rgba(255,0,110,0.25); background:rgba(255,0,110,0.08); }
        .ctf-game-card.featured:hover .skill-tag.primary { background:rgba(255,0,110,0.15); box-shadow:0 0 10px rgba(255,0,110,0.2); }
        .ctf-game-card.featured .diff-dot.active { background:var(--secondary); box-shadow:0 0 8px var(--secondary); }
        .ctf-game-card.featured:hover .card-action, .ctf-game-card.featured:hover .card-arrow { color:var(--secondary); }

        @media (max-width: 1200px) { .ctf-game-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 768px) {
            .ctf-game-grid { grid-template-columns: 1fr; }
            .ctf-game-card { min-height: 200px; }
            .card-header { padding: 20px 20px 12px; }
            .card-content { padding: 0 20px; }
            .card-footer { padding: 14px 20px; }
            .difficulty-label { display: none; }
        }
    </style>

    <style>
        /* ===== 搜索弹窗样式（已移除流光效果） ===== */
    </style>
