* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    overflow: hidden;
    touch-action: none; /* Prevent default touch actions like clean scrolling */
}

#game-container {
    position: relative;
    width: 100%;
    height: 100%;
}

canvas {
    display: block;
    image-rendering: pixelated; /* Optional: for that retro feel, remove if going for smooth vector */
}

#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let touches pass through to canvas */
}
