/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #5c72d4, #6b1db9);
    color: white;
    text-align: center;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    width: 350px;
}

.title {
    font-size: 24px;
    margin-bottom: 10px;
}

.turn-indicator {
    font-size: 18px;
    margin-bottom: 15px;
}

.board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
    width: 300px;
    margin: auto;
}

.cell {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out, background 0.3s ease;
}

.cell:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.cell.taken {
    pointer-events: none;
}

.result {
    font-size: 20px;
    margin-top: 15px;
    font-weight: bold;
    color: yellow;
}

.reset-btn {
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 16px;
    background: yellow;
    color: black;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.reset-btn:hover {
    background: orange;
    transform: scale(1.1);
}
