/* ARQUIVO: public/css/style_Live.css */

/* Fundo Imersivo (Total Black para destacar o conteúdo) */
body.live-mode {
    background-color: #000;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden; /* Evita scroll lateral */
}

/* Header Fixo da Live */
.live-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid #330000; /* Borda vermelha escura sutil */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 0.9rem;
    color: #ff0000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulsing-dot {
    width: 10px;
    height: 10px;
    background-color: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff0000;
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* Container Principal */
.live-container {
    padding-top: 80px; /* Espaço do header */
    padding-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* Título do Evento */
.event-title-live {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-style: italic;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Painel de Status (Grid 2 colunas) */
.stats-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card-live {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho no card */
.stat-card-live::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
}

.stat-value { font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { font-size: 0.75rem; color: #888; text-transform: uppercase; margin-top: 5px; letter-spacing: 1px; }

/* VIBE METER (Termômetro) */
.vibe-box {
    background: #111;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}

.vibe-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #ccc;
}

.vibe-track {
    height: 12px;
    background: #222;
    border-radius: 10px;
    position: relative;
    margin-bottom: 10px;
    overflow: hidden;
}

.vibe-fill {
    height: 100%;
    /* Gradiente do Azul (Frio) ao Vermelho (Quente) */
    background: linear-gradient(90deg, #00bcd4, #00ff00, #ffff00, #ff0000);
    border-radius: 10px;
    width: 100%; /* Ocupa tudo, a máscara ou indicador que define o nível */
    opacity: 0.8;
}

.vibe-needle {
    position: absolute;
    top: -4px;
    width: 4px;
    height: 20px;
    background: #fff;
    box-shadow: 0 0 10px #fff;
    transition: left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efeito elástico */
}

.vibe-btn {
    width: 100%;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.vibe-btn:active { background: #ff0000; border-color: #ff0000; box-shadow: 0 0 15px rgba(255,0,0,0.5); }

/* CHAT AO VIVO */
.chat-section-title { font-size: 1rem; color: #888; text-transform: uppercase; margin-bottom: 10px; border-bottom: 1px solid #222; padding-bottom: 5px; }

.chat-window {
    height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
    /* Scrollbar fina */
    scrollbar-width: thin;
    scrollbar-color: #333 #000;
}

.chat-msg {
    font-size: 0.9rem;
    line-height: 1.4;
    animation: fade-in 0.3s ease-out;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-user { font-weight: bold; color: var(--primary-color, #ff4500); margin-right: 5px; }
.chat-text { color: #ddd; }
.chat-time { font-size: 0.7rem; color: #555; margin-left: 8px; }

/* Input do Chat (Sticky no fundo) */
.chat-input-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.9);
    border-top: 1px solid #333;
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    background: #222;
    border: 1px solid #444;
    border-radius: 25px;
    padding: 12px 20px;
    color: #fff;
    outline: none;
}
.chat-input:focus { border-color: #666; }

.chat-send {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color, #ff4500);
    border: none;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}