@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');
body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: #0B0C10; color: #C5C6C7; overflow-x: hidden; }
h1, h2, h3, h4, .font-cinzel { font-family: 'Cinzel', serif; }
.text-glow { text-shadow: 0 0 20px rgba(125, 249, 255, 0.4); }
.ember-glow { text-shadow: 0 0 20px rgba(232, 155, 60, 0.5); }

/* Shadow Sight Theme Overrides */
body.shadow-sight-active {
    background-color: #050208 !important;
    color: #e2d9f3 !important;
}
body.shadow-sight-active .bg-obsidian { background-color: #090310 !important; }
body.shadow-sight-active .bg-charcoal\/40 { background-color: rgba(26, 11, 46, 0.6) !important; border-color: rgba(157, 78, 221, 0.4) !important; }
.hidden-lore { display: none; }
body.shadow-sight-active .hidden-lore { display: block; color: #c487ff; font-style: italic; font-size: 0.85rem; margin-top: 0.5rem; text-shadow: 0 0 10px rgba(157,78,221,0.6); }

/* Mouse Ember Particle */
.cursor-spark {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #E89B3C;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px #E89B3C;
    transition: transform 0.2s ease, opacity 0.8s ease;
    z-index: 9999;
}

/* Subtle screen flash during dragon flyby */
@keyframes flyby-glow {
    0% { box-shadow: inset 0 0 0px rgba(232, 155, 60, 0); }
    45% { box-shadow: inset 0 0 90px rgba(232, 155, 60, 0.18); }
    100% { box-shadow: inset 0 0 0px rgba(232, 155, 60, 0); }
}
body.dragon-flyby-active {
    animation: flyby-glow 4.5s ease-in-out;
}


/* Subtle floating prompt when browser waits for first click to unlock audio */
#audio-unlock-toast {
    transition: opacity 0.5s ease, transform 0.5s ease;
}
#audio-unlock-toast.hidden-toast {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px);
}
