:root {
    --wolfpixel-red: #ff2b2b;
    --wolfpixel-black: #000000;
}

#wolfpixel-shader {
    position: relative;
    width: 100%;
    height: var(--wolfpixel-shader-height, 100svh);
    min-height: var(--wolfpixel-shader-min-height, 420px);
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.82) 34%, rgba(0, 0, 0, 0.12) 72%, rgba(0, 0, 0, 0.48) 100%),
        var(--wolfpixel-black);
}

#wolfpixel-shader canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
}

#wolfpixel-shader::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.56) 0%, transparent 28%, transparent 70%, rgba(0, 0, 0, 0.68) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 31%, transparent 64%);
}

#wolfpixel-shader.wolfpixel-shader--fallback {
    background:
        radial-gradient(circle at 66% 50%, rgba(255, 43, 43, 0.18), transparent 28%),
        linear-gradient(90deg, #000000 0%, #050000 100%);
}

@media (max-width: 720px) {
    #wolfpixel-shader {
        height: var(--wolfpixel-shader-height-mobile, 100svh);
        min-height: var(--wolfpixel-shader-min-height-mobile, 520px);
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.76) 44%, rgba(0, 0, 0, 0.18) 100%),
            var(--wolfpixel-black);
    }

    #wolfpixel-shader::after {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.34) 42%, rgba(0, 0, 0, 0.74) 100%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent);
    }
}

@media (prefers-reduced-motion: reduce) {
    #wolfpixel-shader,
    #wolfpixel-shader::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}
