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

h1 {
    margin-bottom: 20px;
}

#status-message {
    margin-bottom: 10px;
    font-size: 1.1em;
    min-height: 1.5em; /* Prevent layout shifts */
}

#win-streak {
    margin-bottom: 20px;
    font-size: 1em;
    color: #555;
}

.board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 5px;
    background-color: #333;
    border: 5px solid #333;
    margin-bottom: 20px;
}

.cell {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

.cell.x {
    color: #007bff; /* Blue for X */
}

.cell.o {
    color: #dc3545; /* Red for O */
}

.cell.winning-cell {
    background-color: #aaffaa; /* Light green for winning cells */
}

button {
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    transition: background-color 0.2s ease;
    margin: 5px;
}

button:hover {
    background-color: #0056b3;
}

#reset-btn {
    background-color: #6c757d;
}

#reset-btn:hover {
    background-color: #5a6268;
} 