/* BASE RESTAURADA Y AJUSTADA */
body { background: #0e0e10; color: white; font-family: 'Segoe UI', sans-serif; margin: 0; }

.site-wrapper { 
    display: flex; 
    justify-content: center; 
    min-height: 100vh; 
    width: 100%;
}

.container { width: 95%; max-width: 1100px; padding: 20px; }

.main-title { text-align: center; color: #9146ff; font-size: 3rem; margin-bottom: 20px; text-shadow: 2px 2px 10px rgba(145, 70, 255, 0.4); }

.auth-card { text-align: center; background: #18181b; padding: 50px; border-radius: 15px; border: 1px solid #333; }
.twitch-icon { font-size: 50px; margin-bottom: 20px; }
.twitch-btn { background: #9146ff; color: white; border: none; padding: 15px 40px; border-radius: 5px; font-weight: bold; cursor: pointer; font-size: 1.1rem; transition: 0.3s; }

.connection-bar { background: #18181b; padding: 15px 25px; border-radius: 10px; display: flex; align-items: center; gap: 20px; margin-bottom: 15px; border: 1px solid #333; }
.status-red { color: #ff4b4b; font-weight: bold; }
.status-green { color: #00ff7f; font-weight: bold; }

.command-highlight { background: #9146ff; padding: 10px; border-radius: 10px; text-align: center; margin-bottom: 15px; display: flex; justify-content: center; align-items: center; gap: 15px; font-weight: bold; }
.command-highlight input { background: white; color: black; border: none; padding: 8px; border-radius: 5px; font-size: 1.2rem; text-align: center; width: 180px; }

/* ALTURA INCREMENTADA A 600px */
.main-layout { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: start; }
.sidebar { background: #18181b; border-radius: 10px; display: flex; flex-direction: column; border: 1px solid #333; overflow: hidden; height: 600px; }

.filter-options { padding: 12px; background: #1f1f23; border-bottom: 1px solid #333; display: flex; flex-direction: column; gap: 8px; }
.check-label { font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 8px; }

.list-container { flex-grow: 1; overflow-y: auto; padding: 10px; }
#userList { list-style: none; padding: 0; margin: 0; }
.user-item { display: flex; justify-content: space-between; background: #26262c; padding: 8px; margin-bottom: 5px; border-radius: 4px; font-size: 14px; align-items: center; }
.user-item button { background: none; border: none; cursor: pointer; font-size: 16px; }

/* ALTURA INCREMENTADA A 600px */
.game-area { background: #18181b; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #333; height: 600px; }

.slot-container { position: relative; padding-top: 20px; }
.marcador-triangulo {
    position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
    width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 25px solid #9146ff;
    z-index: 10; filter: drop-shadow(0 0 8px #9146ff);
}

.slot-machine { width: 400px; height: 100px; border: 4px solid #9146ff; border-radius: 10px; position: relative; overflow: hidden; background: #000; }
.slot-window { height: 80px; margin-top: 10px; overflow: hidden; }
.slot-reel { position: absolute; width: 100%; top: 0; }
.slot-item { height: 80px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; color: #00ff7f; }

#winnerDisplay { margin-top: 20px; font-size: 2.2rem; font-weight: bold; color: #00ff7f; min-height: 3rem; text-align: center; transition: all 0.3s; }
.victoria-anim { animation: pulsoGanador 0.5s infinite alternate; text-shadow: 0 0 10px #00ff7f, 0 0 20px #9146ff; }
@keyframes pulsoGanador { from { transform: scale(1); } to { transform: scale(1.1); } }

.roll-btn { margin-top: 25px; padding: 15px 50px; background: #00ff7f; color: black; border: none; border-radius: 10px; font-size: 1.4rem; font-weight: bold; cursor: pointer; }
.roll-btn:disabled { background: #333; color: #666; cursor: not-allowed; }

.main-btn { background: #9146ff; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-weight: bold; }
.main-btn.secondary { background: #444; }

/* REDUCCIÓN DE HUECO CON ANUNCIO */
.ads-container { margin-top: 5px; width: 100%; text-align: center; }

.modal { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); justify-content: center; align-items: center; }
.modal-content { background: #1a1a1a; padding: 20px; border-radius: 12px; width: 320px; border: 2px solid #9146ff; }
textarea { width: 100%; background: #000; color: #00ff7f; border: 1px solid #333; border-radius: 5px; padding: 10px; margin: 15px 0; resize: none; box-sizing: border-box; }
.modal-btns { display: flex; gap: 10px; }
.modal-btns button { flex: 1; }

/* AVISO DE PRIVACIDAD MINIMIZADO */
.fc-consent-root, .google-revapi-container, .google-privacy-settings-button {
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
}

.google-privacy-settings-button {
    background-color: #18181b !important;
    color: #9146ff !important;
    border: none !important;
    border-top: 1px solid #333 !important;
    font-size: 10px !important; /* Más pequeño */
    padding: 5px !important;    /* Más estrecho */
    height: auto !important;
    opacity: 0.8;
}