:root {
    --c-cyan: #06b6d4;
    --c-ice: #38bdf8;
    --c-aurora: #10b981;
    --c-hearth: #f59e0b;
    --c-tundra: #0b1329;
    --c-deepnight: #030712;
}

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

.font-serif {
    font-family: 'Cinzel', Georgia, serif;
}

/* Subtilt arktisk snøfnugg/teksturoverlay */
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.75" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.03"/></svg>');
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
}

/* Skjermeffekter */
@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 screenFlash {
    0% { filter: brightness(2.4) contrast(1.2); }
    30% { filter: brightness(1.6) cyan(0.3); }
    100% { filter: none; }
}
body.effect-flash {
    animation: screenFlash 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(56, 189, 248, 0.2);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
}

.hotspot-pin {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle, #e0f2fe 0%, #0284c7 70%);
    border: 2px solid #fff;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.85), 0 2px 8px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #082f49;
    animation: pulseGlow 2.2s infinite ease-in-out;
}

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

/* Karakterportrett styling */
.char-portrait {
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.9));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.char-portrait:hover {
    transform: scale(1.05) translateY(-3px);
}

/* Skriftrullbarhet og fargekontraster */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(3, 7, 18, 0.8);
}
::-webkit-scrollbar-thumb {
    background: #0284c7;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #38bdf8;
}
