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

h1 {
    margin-bottom: 20px;
}

.board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 5px;
}

.cell {
    width: 100px;
    height: 100px;
    background-color: white;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cell:hover {
    background-color: #eee;
}

.cell.x, .cell.o {
    cursor: not-allowed;
}

.cell.x::before {
    content: 'X';
    color: #09c;
}

.cell.o::before {
    content: 'O';
    color: #f44336;
}

.status {
    margin-top: 20px;
    text-align: center;
}

#restart-button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
}
