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

body {
    background: #0a0a2e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: 'Press Start 2P', monospace;
    overflow: hidden;
}

#game-wrapper {
    border: 4px solid #FFD700;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), 0 0 60px rgba(0, 100, 255, 0.2);
    background: #000;
}

#canvas {
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    width: 800px;
    height: 450px;
}

#controls-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 800px;
    margin-top: 8px;
    padding: 6px 12px;
    color: #8888aa;
    font-size: 7px;
    line-height: 1.6;
}

#controls-info a {
    color: #FFD700;
    text-decoration: none;
}

#controls-info a:hover {
    text-decoration: underline;
}

@media (max-width: 820px) {
    #canvas {
        width: 100vw;
        height: calc(100vw * 0.5625);
    }
    #controls-info {
        width: 100vw;
        padding: 4px 8px;
        font-size: 6px;
    }
}