body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
    touch-action: manipulation;
    font-family: 'Courier New', monospace;
    user-select: none;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

canvas {
    display: block;
    background-color: #000;
}

#gameUI {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #0f0;
    font-size: 16px;
    text-shadow: 0 0 5px #0f0;
    z-index: 2;
}

#startScreen, #gameOverScreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    color: #0f0;
    font-size: 24px;
    text-align: center;
}

#gameOverScreen {
    display: none;
    color: #f00;
}


button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0f0;
    color: #000;
    border: none;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    cursor: pointer;
}

#gameOverScreen button {
    background-color: #f00;
}

#controls {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;

    position: fixed; /* Statt absolute für bessere Positionierung */
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 3; /* Steuerung über dem Canvas */
    padding: 0 20px;
    box-sizing: border-box;
}

.controlBtn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(0, 255, 0, 0.3);
    border: 2px solid #0f0;
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 600px) {
    .controlBtn {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    #gameUI {
        font-size: 14px;
    }
}