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

.game-container {
    text-align: center;
    border: 2px solid #fff;
    padding: 20px;
    border-radius: 10px;
    background-color: #111;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.game-info {
    display: flex;
    gap: 20px;
    font-size: 1.2em;
}

canvas {
    background: linear-gradient(to bottom, #808080 10%, #006400 10%);
    border: 1px solid #fff;
}

.hidden {
    display: none;
}

#gameOver {
    margin-top: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 15px;
}

#restartButton {
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 5px;
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    z-index: 10;
}

.back-button:hover {
    background-color: #555;
}