
/* FX: Canvas, HUD, Animations */
#particleCanvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 1;
    mix-blend-mode: screen; 
}

/* HUD */
.holo-hud {
    position: fixed; top: 10px; right: 10px;
    font-family: 'Courier New', monospace; font-size: 0.7rem;
    color: rgba(6, 182, 212, 0.9);
    pointer-events: none; z-index: 9999;
    text-shadow: 0 0 5px var(--neon-cyan);
    background: rgba(0,0,0,0.6); padding: 8px; border-radius: 4px;
    border: 1px solid rgba(6, 182, 212, 0.3);
}
.hud-line { margin-bottom: 2px; }
.good { color: #10b981; }
.warn { color: #f59e0b; }
.hud-scanline {
    width: 100%; height: 2px; background: rgba(255,255,255,0.2);
    animation: hudScan 3s linear infinite; margin-top: 4px;
}
@keyframes hudScan { from { transform: translateY(0); opacity:1; } to { transform: translateY(20px); opacity:0; } }

/* SCROLLBARS */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-emerald)); 
    border-radius: 3px; 
}

/* WORMHOLE LOADER */
.wormhole-loader {
    text-align: center; color: var(--neon-fire); font-weight: 900; letter-spacing: 5px;
    margin: 20px 0; animation: wormholePulse 1s infinite alternate;
    text-shadow: 0 0 10px var(--neon-fire);
}
@keyframes wormholePulse { from { transform: scale(0.9); opacity: 0.5; } to { transform: scale(1.1); opacity: 1; } }

/* DROP PORTAL */
.drop-portal {
    position: absolute; inset: 0; background: rgba(6, 182, 212, 0.2);
    border: 5px dashed var(--neon-cyan); display: none;
    z-index: 999; justify-content: center; align-items: center; pointer-events: none;
    backdrop-filter: blur(5px);
}
.dragging-over .drop-portal { display: flex; }
.portal-text { 
    font-size: 2rem; font-weight: 900; color: #fff; 
    text-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan);
    animation: pulse 1s infinite;
}

/* SONIC BOOM DISTORTION */
body.sonic-boom .app-container {
    filter: blur(2px) contrast(1.5) chromatic-aberration(5px);
    transform: scale(0.98); transition: 0.1s;
}

/* CMD MODAL */
.cmd-modal {
    position: fixed; top: 20%; left: 50%; transform: translateX(-50%);
    width: 80%; max-width: 600px; padding: 20px;
    background: rgba(0,0,0,0.95); border: 1px solid var(--neon-emerald);
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.5); z-index: 10000; border-radius: 8px;
}
.cmd-input {
    width: 100%; background: transparent; border: none; border-bottom: 2px solid #333;
    color: var(--neon-emerald); font-family: monospace; font-size: 1.5rem; outline: none;
    text-shadow: 0 0 10px var(--neon-emerald);
}
