body {
    min-height: 100vh;
    margin: 0;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #b1d8f29b, #beeab696);
    color: #1f2937;
}
h1 {
    margin: 0 0 8px;
    font-size: 2.5rem;
    color: #0a0d12;
    text-transform: uppercase;
    letter-spacing: 1px;
}
ul {
    display: flex;
    margin:0;
}
li {
    list-style: none;
    margin: 4px;
}
button {
    padding: 5px 8px;
    border: none;
    border-radius: 5px;
    background: #7684a3;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
button:hover {
    background: #32a84b;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(47, 136, 110, 0.35);
}
button.active {
    background: #39419e;
    box-shadow: 0 4px 10px rgba(23, 124, 97, 0.28);
}
p {
    min-height: 1.5rem;
    margin: 4px 0 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #dd4c62;
    text-align: center;
}
#board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 5px;
    margin:0 auto;
}
.cell {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 2px solid #334155;
    border-radius: 10px;
    background: white;
    cursor: pointer; /* we show that is click-able */
}

.cell.x {
    color: rgb(85, 85, 172);
}
.cell.o {
    color: rgb(188, 34, 34);
}
.cell.win {
    background-color: #5edf57;
}