:root {
    --status-game-over-color: #b00020;
    --status-winner-color: #1b7f37;
}

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

#game {
    text-align: center;
}

#board {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2px;
}

.cell {
    width: 40px;
    height: 40px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    cursor: pointer;
}

.cell.revealed {
    background-color: #bbb;
    cursor: default;
}

.cell.revealed.mine {
    background-color: red;
}

.form-row {
    margin-bottom: 20px;
}

.form-row button {
    padding: 10px 20px;
}

.status-message {
    min-height: 24px;
    margin: 0 0 20px;
    font-weight: bold;
}

.status-message.game-over {
    color: var(--status-game-over-color);
}

.status-message.winner {
    color: var(--status-winner-color);
}
