.slotspirate-tapis {
    background: url('/jeux/slotspirate/assets/background.png') center center no-repeat;
    max-width: 900px;
    padding: 25px;
    border-radius: 25px;
    border: 2px solid black;
    -moz-border-radius: 10px;
    margin: 15px auto;
    box-shadow: 0 0 5px #0ff;
}

.pirates-controls {
    margin: 15px 0;
}

.pirates-reels {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 25px auto;
    padding: 18px;

    /* Cadre machine */
    background: linear-gradient(145deg, #3a3a3a, #1b1b1b);
    border-radius: 16px;
    border: 4px solid #666;
    box-shadow:
        inset 0 0 15px rgba(0,0,0,0.8),
        0 8px 20px rgba(0,0,0,0.7);
	width: fit-content;
}

/* Effet vis métalliques */
.pirates-reels::before,
.pirates-reels::after {
    content: "⛓️";
    position: absolute;
    font-size: 1.2em;
    opacity: 0.6;
}

.pirates-reels::before {
    top: -12px;
    left: -12px;
}

.pirates-reels::after {
    bottom: -12px;
    right: -12px;
}

.reel {
    width: 60px;
    height: 60px;
background: linear-gradient(145deg, #6b3e1e, #2b1408);
border: 4px solid #d4af37;
    border-radius: 8px;
    box-shadow:
        inset 0 0 10px rgba(0,0,0,0.8),
        0 3px 6px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
}

.reel.spinning {
    animation: reelSpin 0.15s linear infinite;
    filter: blur(1px);
}

@keyframes reelSpin {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.pirates-end-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.poker-result-ok, .poker-result-no {
    margin:15px 0 15px 0;
    padding:10px;
    border-radius:10px;
}
.poker-result-ok { border: dashed lightgreen; color: white; max-width: 600px; margin: 10px auto 0 auto; }
.poker-result-no { border: dashed lightcoral; color: white; max-width: 600px; margin: 10px auto 0 auto; }

#blackjack-win-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#blackjack-win-overlay.show {
    opacity: 1;
    pointer-events: all;
}

#blackjack-win-overlay h1 {
    font-size: 5rem;
    color: gold;
    text-shadow:
        0 0 15px #fff,
        0 0 30px gold,
        0 0 60px gold;
    animation: blackjackPulse 1s infinite alternate;
}

@keyframes blackjackPulse {
    from { transform: scale(1); }
    to { transform: scale(1.3); }
}

/* ===========================
   Mobile
=========================== */
@media(max-width:600px){
#blackjack-win-overlay h1{
font-size:2.4rem;
}

.reel {
  width: 40px;
  height: 40px;
}	
}
