body {
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    background-color: #222;
    color: white;
    margin: 0;
    padding: 0;
}

.game-container {
    margin: 50px auto;
    padding: 20px;
    background: #333;
    width: 400px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);
}

h1 {
    color: #ffcc00;
}

#status {
    margin-bottom: 10px;
    font-size: 18px;
}

.board {
    display: grid;
    grid-template-columns: repeat(8, 40px);
    grid-template-rows: repeat(8, 40px);
    gap: 5px;
    justify-content: center;
}

.cell {
    width: 40px;
    height: 40px;
    background: #444;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.cell:hover {
    background: #666;
}

.cell.revealed {
    background: #ddd;
    color: black;
    cursor: default;
}

.cell.mine {
    background: rgb(246, 66, 66);
    color: white;
}

button {
    margin-top: 15px;
    padding: 10px 15px;
    background: #ffcc00;
    border: none;
    color: black;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

button:hover {
    background: #ffaa00;
}

/* Added styles for the mine count input */
.mine-input {
    margin-top: 10px;
    padding: 8px;
    width: 80px;
    border-radius: 5px;
    border: none;
    text-align: center;
    font-size: 16px;
}

.mine-label {
    font-size: 18px;
    margin-right: 5px;
}
