:root {
    --c-danger: #ef4444;
    --c-warning: #f59e0b;
    --c-success: #10b981;
    --c-bank: #3b82f6;
    --c-gold: #fbbf24;
    --c-dark: #0f172a;
    --c-abyss: #020617;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #020617;
}

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

/* Subtilt moderne papir-/støyteksturoverlay */
body::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.025"/></svg>');
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
}

/* Skjermeffekter (Krise, advarsel, namsmann-sjokk) */
@keyframes screenShake {
    0%, 100% { transform: translate(0, 0); }
    15% { transform: translate(-6px, -4px) rotate(-0.3deg); }
    30% { transform: translate(5px, 4px) rotate(0.3deg); }
    45% { transform: translate(-4px, 3px); }
    60% { transform: translate(4px, -3px); }
    75% { transform: translate(-2px, 2px); }
    90% { transform: translate(2px, -1px); }
}
body.effect-shake #parallax-container,
body.effect-shake {
    animation: screenShake 0.65s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes screenFlashRed {
    0% { filter: brightness(2.2) drop-shadow(0 0 30px #ef4444); }
    30% { filter: brightness(1.5) contrast(1.3); }
    100% { filter: none; }
}
body.effect-flash {
    animation: screenFlashRed 0.85s ease-out both;
}

/* Parallax Bakgrunn & Hotspots */
#parallax-container {
    perspective: 1000px;
    background-color: #020617;
}

.parallax-layer {
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hotspot-zone {
    position: absolute;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease-out;
}

.hotspot-zone:hover {
    background-color: rgba(239, 68, 68, 0.18);
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.4);
}

.hotspot-pin {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle, #fee2e2 0%, #ef4444 70%);
    border: 2px solid #fff;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.85), 0 2px 8px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #450a0a;
    animation: pulseGlow 2.2s infinite ease-in-out;
}

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

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

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 22px rgba(239, 68, 68, 0.95);
    }
}

/* Luksusfellen Finans-Badge og Pengebord-effekt */
.money-counter {
    text-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
}

.money-positive {
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}
