body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(45deg, #3f51b5, #9c27b0);
    color: #fff;
    font-family: 'Arial', sans-serif;
}

#info {
    margin-top: 20px;
}

button {
    background-color: #4caf50;
    margin-bottom: 10px;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

#game-board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-gap: 5px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.cell {
    width: 100px;
    height: 100px;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    background: linear-gradient(45deg, #ff80ab, #ff4081);
    color: #fff;
    border-radius: 10px;
    transition: background 0.3s ease-in-out;
}

.cell:hover {
    background: linear-gradient(45deg, #ff80ab, #ff4081);
    filter: brightness(1.2);
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(248, 148, 148, 0.9);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    text-align: center;
}

.popup button {
    margin-top: 10px;
    background-color: #4caf50;
    color: blue;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup button:hover {
    background-color: #45a049;
}

#turn-info {
    text-align: center;
    margin-top: auto;
    margin-bottom: 20px;
}

#turn {
    font-size: 20px;
    margin-bottom: 10px;
}
