/* CRT & Chromatic Aberration */
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                linear-gradient(rgba(18, 16, 16, 0) 50%, 
                rgba(0, 0, 0, 0.15) 50%),
                linear-gradient(90deg, 
                rgba(255, 0, 0, 0.04), 
                rgba(0, 255, 0, 0.01), 
                rgba(0, 0, 255, 0.04));
            background-size: 100% 2px, 3px 100%;
            pointer-events: none;
            z-index: 9999;
            mix-blend-mode: overlay;
        }
        
        @font-face {
            font-family: 'blackwood';
            src: url('fonts/blackwood_castle-webfont.woff2') format('woff2'),
                 url('fonts/blackwood_castle-webfont.woff') format('woff');
           font-weight: normal;
           font-style: normal;
           font-display: swap;
        }
        
        @font-face {
            font-family: 'pixeles';
            src: url('fonts/mister_pixel_regular-webfont.woff2') format('woff2'),
                 url('fonts/mister_pixel_regular-webfont.woff') format('woff');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }
        
        :root {
            --background: #111;
            --foreground: #eee;
            --glitch-color-1: rgba(100, 100, 255, 0.3);
            --glitch-color-2: rgba(255, 100, 100, 0.3);
        }
        
        body {
            margin: 0;
            padding: 0;
            font-family: 'pixeles', monospace;
            background-color: var(--background);
            color: var(--foreground);
            min-height: 100vh;
            line-height: 1.4;
            overflow-x: hidden;
            font-size: 14px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .wrapper {
            max-width: 600px;
            width: 100%;
            padding: 20px;
            position: relative;
        }
        
        .panel {
            background-color: var(--background);
            border-radius: 0;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(255, 255, 255, 0.03);
            border: 1px solid #333;
            position: relative;
        }
        
        .logo-container {
            display: flex;
            justify-content: center;
            margin-bottom: 15px;
            max-width: 100%;
            overflow: hidden;
        }
        
        .logo-img {
            width: 100%;
            max-width: 400px;
            height: auto;
            aspect-ratio: 800/450;
        }
        
        .subtitle {
            color: #aaa;
            margin-bottom: 20px;
            font-size: 0.9em;
            letter-spacing: 0.5px;
            position: relative;
            text-align: center;
        }
        
        .button-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
            position: relative;
        }
        
        .mono-button {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px 16px;
            background-color: var(--background);
            border: 2px solid var(--foreground);
            border-radius: 0;
            color: var(--foreground);
            text-decoration: none;
            font-size: 0.9em;
            transition: all 0.3s ease;
            font-family: 'pixeles', monospace;
            position: relative;
        }
        
        .mono-button:hover {
            background-color: var(--foreground);
            color: var(--background);
            transform: translateY(-2px);
        }
        
        .mono-button img {
            width: 16px;
            height: 16px;
            margin-right: 8px;
            filter: grayscale(100%) contrast(200%);
        }
        
        .tooltip {
            position: relative;
            display: inline-block;
        }
        
        .tooltip .tooltiptext {
            visibility: hidden;
            width: 160px;
            background-color: #222;
            color: var(--foreground);
            text-align: center;
            border-radius: 0;
            padding: 8px 5px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -80px;
            opacity: 0;
            transition: opacity 0.3s;
            border: 1px solid #444;
            font-family: 'Courier', 'Courier New', monospace;
            font-size: 12px;
            letter-spacing: 0.5px;
            line-height: 1.4;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
            text-transform: none;
        }
        
        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #222 transparent transparent transparent;
        }
        
        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
        
        .text-links {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-top: 20px;
        }

        .text-link {
            color: var(--foreground);
            text-decoration: none;
            font-family: 'pixeles', monospace;
            font-size: 12px;
            letter-spacing: 1px;
            position: relative;
            padding: 5px 8px;
            transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            font-style: italic;
            display: inline-block;
        }

        .text-link:hover {
            color: #fff;
            transform: scale(1.4);
            text-shadow: 0 0 8px rgba(255,255,255,0.4);
        }
        
        .pixel-divider {
            height: 1em;
            text-align: center;
            margin: 20px 0;
            color: var(--foreground);
            position: relative;
            overflow: hidden;
        }
        
        .pixel-divider::before {
            content: "𓄼𓄼𓄼𓄼𓄼𓄼𓄼𓄼𓄼𓄼𓄼𓄼𓄼𓄼𓄼";
            letter-spacing: 0.5em;
            font-size: 0.8em;
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .glitch {
            position: relative;
        }
        
        .glitch::before, .glitch::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
        }
        
        .glitch::before {
            left: 0.5px;
            text-shadow: -0.5px 0 var(--glitch-color-1);
            animation: glitch-anim-1 10s infinite linear alternate-reverse;
        }
        
        .glitch::after {
            left: -0.5px;
            text-shadow: 0.5px 0 var(--glitch-color-2);
            animation: glitch-anim-2 9s infinite linear alternate-reverse;
        }
        
        @keyframes glitch-anim-1 {
            0%, 60%, 62%, 64%, 68%, 70%, 100% { opacity: 0; }
            61% { opacity: 0.2; transform: translateX(0.5px); }
            63% { opacity: 0.2; transform: translateX(-0.5px); }
            65% { opacity: 0.1; transform: translateX(0); }
            69% { opacity: 0.1; transform: translateX(0.3px); }
        }
        
        @keyframes glitch-anim-2 {
            0%, 60%, 62%, 64%, 68%, 70%, 100% { opacity: 0; }
            61% { opacity: 0.2; transform: translateX(-0.5px); }
            63% { opacity: 0.2; transform: translateX(0.5px); }
            65% { opacity: 0.1; transform: translateX(0); }
            69% { opacity: 0.1; transform: translateX(-0.3px); }
        }
        
        .glitch-img {
            position: relative;
        }
        
        .glitch-img:hover::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: inherit;
            background-size: cover;
            background-position: center;
            opacity: 0;
            animation: glitch-img 4s infinite;
        }
        
        @keyframes glitch-img {
            0%, 80% { opacity: 0; transform: translate(0); }
            81% { opacity: 0.2; transform: translate(-0.5px, 0.5px); }
            82% { opacity: 0.2; transform: translate(0.5px, -0.5px); }
            83% { opacity: 0.1; transform: translate(0); }
            84% { opacity: 0.1; transform: translate(0.3px, 0); }
            85% { opacity: 0.1; transform: translate(-0.3px, 0); }
            86% { opacity: 0; transform: translate(0); }
        }
        
        .global-glitch {
            animation: globalGlitch 20s infinite;
        }
        
        @keyframes globalGlitch {
            0%, 98%, 99.5%, 100% { transform: translate(0); }
            98.5% { transform: translate(-0.5px, 0.3px); }
            99% { transform: translate(0.5px, -0.3px); }
        }
        
        .scanlines {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                to bottom,
                rgba(255, 255, 255, 0.015) 0%,
                rgba(255, 255, 255, 0.015) 50%,
                transparent 50%
            );
            background-size: 100% 3px;
            pointer-events: none;
            z-index: 1000;
            mix-blend-mode: overlay;
            animation: scanline 12s linear infinite;
        }
        
        @keyframes scanline {
            from { background-position: 0 0; }
            to { background-position: 0 100%; }
        }