/* Flashlight Effect */
:root {
    --cursor-x: 50vw;
    --cursor-y: 50vh;
}

.flashlight-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    background: radial-gradient(circle 200px at var(--cursor-x) var(--cursor-y),
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.95) 100%);
}

.hidden-in-dark {
    opacity: 0.1;
    transition: opacity 0.2s ease;
}

.revealed {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.forest-fog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(92deg, transparent 0%, rgba(255, 255, 255, 0.16) 32%, transparent 64%),
        linear-gradient(88deg, transparent 0%, rgba(255, 255, 255, 0.12) 48%, transparent 82%),
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 120% 100%, 140% 100%, 220% 100%;
    animation: fog 60s linear infinite;
    z-index: 10;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes fog {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -120% 0, 140% 0, -220% 0;
    }
}
