body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #f06, #4a90e2);
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    text-align: center;
    padding: 20px;
}

h1 {
    margin-bottom: 10px;
    color: white;
}

#turnIndicator {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.board {
    display: grid;
    grid-template-columns: repeat(3, 120px);
    grid-template-rows: repeat(3, 120px);
    gap: 2px;
    margin-bottom: 20px;
}

.cell {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-color: white;
    border: 2px solid #333;
    border-radius: 15px;
    font-size: 2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cell:hover {
    background-color: #f0f0f0;
}

.cell.x::before {
    content: "X";
    color: #f06;
}

.cell.o::before {
    content: "O";
    color: #4a90e2;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

button:hover {
    background: #357abd;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.hidden {
    display: none;
}
