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

.game-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.score-board {
    display: flex;
    justify-content: space-between;
    width: 400px;
    margin-bottom: 10px;
    font-size: 20px;
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 5px;
}

canvas {
    background-color: #000;
    border: 1px solid #333;
}

.game-over {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.game-over h1 {
    margin: 0 0 20px 0;
}

.game-over button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background: #28a745;
    color: white;
}
