body {
    margin: 0;
    padding: 0;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Press Start 2P', system-ui, -apple-system, sans-serif;
}

.game-container {
    position: relative;
    width: 800px;
    height: 480px;
    background: #6b88fe;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

#gameCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}

.controls {
    position: fixed;
    bottom: 20px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.d-pad {
    display: flex;
    gap: 10px;
}

.controls button {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 24px;
    backdrop-filter: blur(5px);
    touch-action: manipulation;
    transition: all 0.2s;
}

.controls button:active {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0.95);
}

#jumpBtn {
    width: 70px;
    height: 70px;
    background: rgba(255, 0, 0, 0.3);
    font-family: 'Press Start 2P', system-ui;
    font-size: 20px;
}

@media (min-width: 768px) {
    .controls {
        display: none;
    }
}

@media (max-width: 800px) {
    .game-container {
        width: 100vw;
        height: 56.25vw;
    }
}
