/* Grille du Cluedo */
#cluedo-grid {
    display: grid;
    gap: 8px;
    justify-content: center;
    margin: 15px auto;
}

/* Cellules (cartes suspects, armes, salles) */
.cell {
    width: 60px;
    height: 60px;
    background: #1F1F1F;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    cursor: pointer;
    color: #FFF;
    user-select: none;
    transition: transform 0.3s;
}
.cell.revealed {
    background: #444;
    transform: scale(1.05);
}

/* Timer */
#cluedo-timer {
    text-align: center;
    font-size: 1.6em;
    margin: 10px 0;
    color: #FFD700;
}

/* Overlays */
#cluedo-win-overlay,
#cluedo-pause-overlay {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    z-index: 9999;
}
#cluedo-win-overlay.show,
#cluedo-pause-overlay.show {
    opacity: 1;
    pointer-events: all;
}
#cluedo-win-overlay h1,
#cluedo-pause-overlay h1 {
    font-size: 5rem;
    color: gold;
    text-shadow: 0 0 30px gold;
    animation: pulse 1s infinite alternate;
}
#cluedo-pause-overlay h1 {
    color: #1E90FF;
    text-shadow: 0 0 20px #FFF, 0 0 40px #1E90FF;
}

/* Divs résultats */
.cluedo-result-ok,
.cluedo-result-no {
    margin: 10px auto;
    padding: 10px;
    border-radius: 10px;
    max-width: 600px;
    text-align: center;
    font-weight: bold;
    display: none;
}
.cluedo-result-ok {
    border: dashed lightgreen;
}
.cluedo-result-no {
    border: dashed lightcoral;
}

/* Boutons */
.bouton {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    margin: 5px;
    transition: transform 0.2s;
}
.bouton:hover {
    transform: scale(1.05);
}


/* Overlay WIN */
#bingo-win-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}

#bingo-win-overlay.show {
    opacity: 1;
    pointer-events: all;
}

#bingo-win-overlay h1 {
    font-size: 5rem;
    color: gold;
    text-shadow: 0 0 20px #fff, 0 0 40px gold;
    animation: scalePulse 1s infinite alternate;
}

@keyframes scalePulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.3); }
}

.block-poker-vip {
    background: linear-gradient(145deg, #1b1b1b, #101010);
    border-radius: 16px;
    padding: 20px;
    margin: 30px auto 41px auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px #0ff;
    width: 93%;
}

.poker-vip-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:15px;
	margin-top: 10px;
}

.poker-vip-card{
    background:#202020;
    border-radius:14px;
    padding:15px;
    color:#fff;
    box-shadow:0 6px 18px rgba(0,0,0,.4);
}

.poker-vip-card h3{
    margin:0 0 10px;
    font-size:15px;
    color:#1E90FF;
}

.poker-vip-badge{
    font-size:22px;
    font-weight:700;
}

.poker-vip-list span{
    display:flex;
    justify-content:space-between;
    font-size:13px;
    padding:4px 0;
    border-bottom:1px dashed rgba(255,255,255,0.08);
}

/* Responsive */
@media (max-width: 768px) {
    .cell {
        width: 45px;
        height: 45px;
        font-size: 1.2em;
    }
    #cluedo-timer {
        font-size: 1.3em;
    }
}
