#jeu {
    margin: 40px auto;
    text-align: center;
    max-width: 350px;
    width: 90vw;
}

#plateau {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: var(--d-light-blue);
    border-radius: 15px;
    padding: 10px;
    margin: 20px 0;
}

.cell {
    width: 30%;
    height: 30%;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
    border-radius: 10px;
}

.cell-square {
    background-color: var(--d-orange);
    border-radius: 8px;
}

.cell-circle {
    background-color: var(--d-blue);
    border-radius: 50%;
}

.cell-inactive {
    background-color: rgba(255, 255, 255, 0.5);
}

.cell:hover {
    transform: scale(0.95);
    opacity: 0.8;
}

#reinitialiser {
    background-color: var(--d-dark-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

#reinitialiser:hover {
    background-color: var(--d-orange);
}

#currentPlayer {
    font-weight: bold;
    color: var(--d-orange);
    font-size: 1.4rem;
}

.cell-winning {
    filter: brightness(1.2);
    box-shadow: 0 0 15px var(--d-green);
    border: 3px solid var(--d-green);
}

.cell-losing {
    opacity: 0.3;
}