body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.15) 2px, rgba(0,0,0,0.15) 4px);
    pointer-events: none;
    z-index: 9999;
}
.glitch { position: relative; animation: glitch 3s infinite; }
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.glitch::before { color: var(--color-neon-cyan); animation: glitch-1 3s infinite; clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%); }
.glitch::after { color: var(--color-neon-magenta); animation: glitch-2 3s infinite; clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%); }
@keyframes glitch-1 { 0%, 90%, 100% { transform: translate(0); } 92% { transform: translate(-3px, 1px); } 94% { transform: translate(3px, -1px); } }
@keyframes glitch-2 { 0%, 90%, 100% { transform: translate(0); } 93% { transform: translate(3px, 2px); } 95% { transform: translate(-3px, -2px); } }
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--color-neon-cyan);
    border-radius: 50%;
    animation: float-particle linear infinite;
    opacity: 0;
}
.particle:nth-child(1) { left: 5%; animation-duration: 8s; animation-delay: 0s; }
.particle:nth-child(2) { left: 15%; animation-duration: 12s; animation-delay: 2s; background: var(--color-neon-magenta); }
.particle:nth-child(3) { left: 25%; animation-duration: 10s; animation-delay: 1s; background: var(--color-neon-green); }
.particle:nth-child(4) { left: 35%; animation-duration: 15s; animation-delay: 4s; }
.particle:nth-child(5) { left: 45%; animation-duration: 9s; animation-delay: 3s; background: var(--color-neon-magenta); }
.particle:nth-child(6) { left: 55%; animation-duration: 13s; animation-delay: 1s; }
.particle:nth-child(7) { left: 65%; animation-duration: 11s; animation-delay: 5s; background: var(--color-neon-green); }
.particle:nth-child(8) { left: 75%; animation-duration: 16s; animation-delay: 2s; }
.particle:nth-child(9) { left: 85%; animation-duration: 10s; animation-delay: 6s; background: var(--color-neon-magenta); }
.particle:nth-child(10) { left: 95%; animation-duration: 14s; animation-delay: 0s; }
.particle:nth-child(n+11) { animation-duration: 18s; background: var(--color-neon-green); }
.particle:nth-child(11) { left: 8%; animation-delay: 7s; }
.particle:nth-child(12) { left: 18%; animation-delay: 9s; }
.particle:nth-child(13) { left: 28%; animation-delay: 6s; }
.particle:nth-child(14) { left: 38%; animation-delay: 8s; }
.particle:nth-child(15) { left: 48%; animation-delay: 10s; }
.particle:nth-child(16) { left: 58%; animation-delay: 7s; }
.particle:nth-child(17) { left: 68%; animation-delay: 11s; }
.particle:nth-child(18) { left: 78%; animation-delay: 9s; }
.particle:nth-child(19) { left: 88%; animation-delay: 12s; }
.particle:nth-child(20) { left: 98%; animation-delay: 8s; }
@keyframes float-particle {
    0% { transform: translateY(100vh); opacity: 0; }
    10%, 90% { opacity: 1; }
    100% { transform: translateY(-100px); opacity: 0; }
}
.game-fullscreen { overflow: hidden; }
.play-frame { width: 100vw; height: 100vh; border: 0; background: white; }
.play-overlay-bar {
    position: fixed;
    z-index: 10;
    inset: 0 0 auto 0;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(13,13,26,.82);
    border-bottom: 1px solid var(--color-border);
    transition: opacity .25s ease;
}
.play-overlay-bar.is-hidden { opacity: 0; }

