/* ==========================================================================
   KEYFRAME ANIMATIONS FOR HUD & GLITCH EFFECTS
   ========================================================================== */

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

.dot.pulse {
    animation: pulse 0.55s infinite ease-in-out;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(75, 227, 255, 0.1);
    border-top: 3px solid var(--accent-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

#loading {
    position: absolute;
    inset: 0;
    z-index: 100;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.loader-text {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
}
