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

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: #f7f7f7;
}

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

.cell.x::before {
    content: 'X';
    color: #007bff;
}

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

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

#restart-button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #28a745;
    color: white;
    transition: background-color 0.3s;
}

#restart-button:hover {
    background-color: #218838;
}
