body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.game-container {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

h1 {
    color: #0ff;
    text-shadow: 0 0 10px #0ff;
    margin-top: 0;
}

.game-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #0ff;
}

#game-canvas {
    background-color: #000;
    border: 2px solid #0ff;
    box-shadow: 0 0 20px #0ff;
    display: block;
    margin: 0 auto;
}

.game-over {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.game-over h2 {
    color: #f00;
    text-shadow: 0 0 10px #f00;
    font-size: 3em;
    margin-bottom: 20px;
}

.game-over p {
    font-size: 1.5em;
    margin-bottom: 20px;
}

button, .back-btn {
    background-color: #0ff;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 5px;
    transition: all 0.3s;
}

button:hover, .back-btn:hover {
    background-color: #f0f;
    color: #fff;
}

.hidden {
    display: none;
}

@media (max-width: 600px) {
    .game-info {
        flex-wrap: wrap;
    }
    
    #game-canvas {
        width: 100%;
        height: auto;
    }
}
