body, #gameCanvas, #controls {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Non-prefixed version, currently supported by Chrome, Opera and Edge */
}

body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
    color: #fff;
    font-family: 'Arial', sans-serif;
}

#game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
}

#gameCanvas {
    background: #111;
    display: block;
}

#start-screen, #game-over-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#player-name {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 16px;
}

#start-button, #restart-button {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
}

@media (max-width: 200px) {
    #gameCanvas {
        width: 100%;
        height: auto;
    }

    #controls {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    #controls button {
        font-size: 24px;
        padding: 10px;
    }
}

