body {
    background-color: #121212;
    color: white;
    font-family: monospace;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.slot-container {
    text-align: center;
    background: #222;
    padding: 30px;
    border: 3px solid #444;
    border-radius: 10px;
}

.reels {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    justify-content: center;
}

.reel {
    width: 80px;
    height: 100px;
    background: #fff;
    color: #000;
    font-size: 2.5rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid gold;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

/* Animazione di rotazione fastidiosa (effetto motion blur simulato) */
.spinning .symbol {
    animation: slotSpin 0.1s linear infinite;
    filter: blur(2px);
}

@keyframes slotSpin {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

.bad-btn {
    padding: 15px 30px;
    font-size: 1.5rem;
    cursor: pointer;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    transition: all 0.2s;
    text-transform: uppercase;
    font-weight: bold;
}

.bad-btn:active {
    transform: scale(0.9);
}

.bad-btn.stopping {
    background: #f39c12 !important; /* Cambia colore quando si aspetta il delay */
    cursor: wait;
}

/* --- BANNER OVERFLOW JACKPOT --- */
#jackpot-banner {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#jackpot-banner.hidden {
    display: none;
}

.jackpot-content {
    background: linear-gradient(45deg, #ff0000, #ffff00, #00ff00, #00ffff, #ff00ff);
    background-size: 400% 400%;
    animation: gradientBlink 0.5s ease infinite;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    border: 10px dashed white;
    color: black;
    transform: scale(0);
    animation: popUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes gradientBlink {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.blink-text {
    font-size: 3rem;
    animation: textBlink 0.2s infinite;
    text-shadow: 2px 2px 0px white;
}

@keyframes textBlink {
    0% { color: red; }
    50% { color: blue; }
    100% { color: green; }
}

.jackpot-msg {
    font-size: 2rem;
    font-weight: bold;
    margin: 20px 0;
    background: white;
    padding: 10px;
}

.bad-btn.reel-mode { background: #3498db; }

.bad-btn.start-mode { background: #e74c3c; }

@keyframes popUp {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

.site-footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Disclaimer ironico e illeggibile */
.legal-disclaimer {
    margin-top: 15px;
    font-size: 0.6rem; /* Minuscolo */
    color: #444; /* Grigio scuro su sfondo nero = contrasto pessimo */
    text-align: center;
    max-width: 300px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

/* Solo se l'utente si sforza di passarci sopra col mouse diventa leggibile */
.legal-disclaimer:hover {
    opacity: 1;
    color: #aaa;
}