body {
    background-color: #000;
    color: #e0e0e0;
    overflow-x: hidden;
    cursor: crosshair;
}

/* CRT Scanline Effect */
.scanlines::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 100;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* Неоновое свечение */
.neon-text { text-shadow: 0 0 5px #ff003c, 0 0 10px #ff003c, 0 0 20px #ff003c; }
.neon-box {
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.2), inset 0 0 20px rgba(255, 0, 60, 0.05);
    border: 1px solid rgba(255, 0, 60, 0.6);
    backdrop-filter: blur(5px);
}

/* Cyber Grid Floor */
.cyber-grid {
    position: absolute;
    width: 200%;
    height: 100%;
    bottom: -50%;
    left: -50%;
    background-image: 
        linear-gradient(to right, rgba(255, 0, 60, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 0, 60, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridMove 3s linear infinite;
    mask-image: linear-gradient(to top, black, transparent 80%);
    z-index: -2;
}

/* Glitch Wrapper */
.glitch-wrapper { position: relative; }
.glitch-wrapper::before, .glitch-wrapper::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; background: #000;
}
.glitch-wrapper::before {
    left: 2px; text-shadow: -1px 0 #00ffff; clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}
.glitch-wrapper::after {
    left: -2px; text-shadow: -1px 0 #ff003c; clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
    0% { clip: rect(11px, 9999px, 37px, 0); }
    20% { clip: rect(82px, 9999px, 18px, 0); }
    40% { clip: rect(24px, 9999px, 96px, 0); }
    60% { clip: rect(4px, 9999px, 66px, 0); }
    80% { clip: rect(59px, 9999px, 10px, 0); }
    100% { clip: rect(32px, 9999px, 89px, 0); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #ff003c; }

/* Blink cursor */
.typing::after { content: '█'; animation: blink 1s step-end infinite; color: #ff003c; }
@keyframes blink { 50% { opacity: 0; } }

/* HUD Corners */
.hud-corner {
    position: absolute;
    width: 20px; height: 20px;
    border: 2px solid #ff003c;
    transition: all 0.3s;
}
.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.br { bottom: 0; right: 0; border-left: none; border-top: none; }