/* style.css — page chrome and pixel-perfect canvas scaling */

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at top, rgba(201, 168, 76, 0.12), transparent 34%),
        linear-gradient(180deg, #120c07 0%, #050302 100%);
    overflow: hidden;
    font-family: monospace;
    color: #F5E8C0;
}

#frame {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 12%, rgba(255, 208, 128, 0.09), transparent 28%),
        radial-gradient(circle at 50% 82%, rgba(200, 64, 32, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(28, 18, 9, 0.96), rgba(5, 3, 2, 1));
}

#frame::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(154, 120, 64, 0.18);
    box-shadow: inset 0 0 0 1px rgba(58, 40, 16, 0.55);
    pointer-events: none;
}

canvas#game {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    background: #1C1209;
    display: block;
    border: 2px solid #3A2810;
    outline: 1px solid rgba(154, 120, 64, 0.5);
    box-shadow:
        0 0 0 1px rgba(255, 208, 128, 0.08),
        0 22px 60px rgba(0, 0, 0, 0.55),
        0 0 28px rgba(201, 168, 76, 0.18);
    cursor: default;
}
