/* ============================================================================
   ORDKONGEN ESCAPE ROOM: INFORMASJONSKRIGEN – OPERASJON EKKOKAMMER
   Stilark tilpasset 2026 Cyber-, OSINT- og etterretningstema
   ============================================================================ */

:root {
    --c-cyber-cyan: #06b6d4;
    --c-cyber-blue: #0284c7;
    --c-cyber-emerald: #10b981;
    --c-cyber-amber: #f59e0b;
    --c-cyber-red: #ef4444;
    --c-cyber-bg: #030712;
    --c-cyber-card: #0b1329;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--c-cyber-bg);
}

.font-mono-numbers {
    font-family: 'Roboto Mono', monospace;
}

/* Subtil digital grid-tekstur */
body::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 9999;
}

/* Skjermeffekter (Cyber glitch / varsel) */
@keyframes cyberAlertPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(6, 182, 212, 0.3); }
    50% { box-shadow: 0 0 30px rgba(6, 182, 212, 0.7); }
}

.hotspot-zone {
    position: absolute;
    cursor: pointer;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hotspot-zone:hover {
    background-color: rgba(6, 182, 212, 0.2);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
    transform: scale(1.05);
}

.hotspot-pin {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle, #e0f2fe 0%, #0284c7 70%);
    border: 2px solid #38bdf8;
    box-shadow: 0 0 18px rgba(14, 165, 233, 0.85), 0 2px 8px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #082f49;
    animation: cyberPulse 2.2s infinite ease-in-out;
}

.hotspot-pin.pin-gold {
    background: radial-gradient(circle, #fef3c7 0%, #f59e0b 70%);
    border-color: #fbbf24;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.85);
    color: #451a03;
}

.hotspot-pin.pin-emerald {
    background: radial-gradient(circle, #d1fae5 0%, #10b981 70%);
    border-color: #34d399;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.85);
    color: #064e3b;
}

.hotspot-pin.pin-red {
    background: radial-gradient(circle, #fee2e2 0%, #ef4444 70%);
    border-color: #f87171;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.85);
    color: #450a0a;
}

@keyframes cyberPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 24px rgba(6, 182, 212, 0.9);
    }
}

/* Skanningslinje-effekt for cyber-estetikk */
.cyber-scanline {
    position: relative;
    overflow: hidden;
}

.cyber-scanline::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.15), transparent);
    animation: scanAnimation 4s linear infinite;
    pointer-events: none;
}

@keyframes scanAnimation {
    0% { top: -100%; }
    100% { top: 200%; }
}
