/* PointerPointer Supreme - Effects & Shaders */

/* CRT Retro Scanline Mode */
body.crt-effect::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.35) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.05), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.05));
    z-index: 80;
    background-size: 100% 3px, 6px 100%;
    pointer-events: none;
}

body.crt-effect::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: radial-gradient(circle at center, transparent 65%, rgba(0,0,0,0.65) 100%);
    z-index: 81;
    pointer-events: none;
}

/* Subtle Screen Vignette (Always present for cinematic immersion) */
.screen-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 7;
    background: radial-gradient(circle at center, transparent 70%, rgba(5, 7, 12, 0.6) 100%);
}

/* Pulse animation for lock indicator */
@keyframes ringExpand {
    0% {
        transform: scale(0.2);
        opacity: 1;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.sonar-ripple {
    position: absolute;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    pointer-events: none;
    animation: ringExpand 0.8s ease-out forwards;
}

/* Touch Pointer Ripple for Mobile */
.touch-pointer-ring {
    position: absolute;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    margin-top: -22px;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 50;
    animation: touchPulse 1.2s infinite;
}

@keyframes touchPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0.4; }
    100% { transform: scale(0.9); opacity: 0.8; }
}
