/* style.css - Game styles */

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000000;
    font-family: 'Courier New', monospace;
}

#gameContainer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
    overflow: hidden;
}

#gameCanvas {
    display: block;
    vertical-align: middle;
    background: #000000;
    border: none;
    outline: none;
    /* Hard size cap so the canvas never overflows the viewport.
       Overflowing would let game content visually appear above/below the
       intended viewport area. */
    max-width: 100vw;
    max-height: 100vh;
    image-rendering: auto;
}

/* Prevent text selection and context menu on mobile */
canvas {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
}
