@font-face {
    font-family: 'Press Start 2P';
    src: url('../fonts/PressStart2P-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-top: #0b1017;
    --bg-bottom: #030407;
    --ui-accent: #ffd24a;
    --ui-glow: rgba(255, 210, 74, 0.35);
}

body {
    background-color: #050505;
    background-image:
        radial-gradient(900px 600px at 50% 25%, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0) 65%),
        linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
    color: #fff;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    font-family: 'Press Start 2P', monospace; /* Retro gaming font */
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(0deg, rgba(255, 255, 255, 0.025), rgba(0, 0, 0, 0) 25%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0) 25%);
    background-size: 3px 3px, 4px 4px;
    opacity: 0.15;
    mix-blend-mode: soft-light;
}

canvas {
    display: block;
    background-color: #0b0b0b;
}

button {
    background: #fff;
    border: none;
    padding: 15px 30px;
    font-family: inherit;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.1s;
}

button:hover {
    transform: scale(1.1);
}
