:root {
    --color-bg: #050505;
    --color-text: #e0e0e0;
    --color-yellow: #feca57;
    --color-blue: #5f27cd;
    --color-paper: #ffffff;
    --color-dark-text: #111;
    --font-main: 'Outfit', sans-serif;
    --font-display: 'Outfit', sans-serif;
    --transition-speed: 0.8s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    overflow-x: clip;
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
}

:root {
    --scroll-progress: 0;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    /* Solid instead of transparent: avoids a white flash on the first painted
       frame before the WebGL context's first clear() lands in some browsers */
    background: var(--color-bg);
}

#fg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Above the background carousel/particles for depth, but below the UI layer
       (header, vinyl discs, buttons) so foreground particles don't wash over solid content */
    z-index: 5;
    pointer-events: none;
    background: transparent;
}

