/**
 * Estilos para Pantalla Gigante LED y Proyector en Tiempo Real
 */

:root {
    --led-bg: #090d16;
    --led-card-bg: rgba(18, 24, 38, 0.85);
    --led-card-border: rgba(255, 255, 255, 0.08);
    --gold: #f59e0b;
    --silver: #94a3b8;
    --bronze: #d97706;
}

body.pantalla-body {
    background: radial-gradient(circle at 50% 10%, #1e293b 0%, #090d16 80%);
    color: #f1f5f9;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header de la Pantalla */
.pantalla-header {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pantalla-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

/* Tarjeta En Escenario */
.stage-card {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7), rgba(15, 23, 42, 0.9));
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.35);
    position: relative;
    overflow: hidden;
}

.stage-badge {
    background: linear-gradient(90deg, #ef4444, #dc2626);
    color: #fff;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
}

.score-display-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    text-align: center;
}

.score-number {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: #38bdf8;
    text-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
}

/* Podio Animado */
.podium-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    min-height: 250px;
}

.podium-item {
    text-align: center;
    flex: 1;
    max-width: 280px;
    border-radius: 18px 18px 10px 10px;
    padding: 1.2rem 1rem 0.5rem 1rem;
    transition: all 0.5s ease;
    position: relative;
}

.podium-item.first {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 2px solid rgba(245, 158, 11, 0.7);
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.35);
    height: 270px;
    order: 2;
}

.podium-item.second {
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.25) 0%, rgba(148, 163, 184, 0.05) 100%);
    border: 2px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 0 25px rgba(148, 163, 184, 0.25);
    height: 230px;
    order: 1;
}

.podium-item.third {
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.25) 0%, rgba(217, 119, 6, 0.05) 100%);
    border: 2px solid rgba(217, 119, 6, 0.6);
    box-shadow: 0 0 25px rgba(217, 119, 6, 0.25);
    height: 200px;
    order: 3;
}

.podium-trophy {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.podium-item.first .podium-trophy { color: #fbbf24; text-shadow: 0 0 20px #fbbf24; }
.podium-item.second .podium-trophy { color: #cbd5e1; text-shadow: 0 0 15px #cbd5e1; }
.podium-item.third .podium-trophy { color: #f59e0b; text-shadow: 0 0 15px #d97706; }

/* Tabla de Ranking LED */
.led-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.led-table tr {
    background: rgba(18, 24, 38, 0.7);
    transition: all 0.3s ease;
    border-radius: 12px;
}

.led-table tr:hover {
    background: rgba(30, 41, 59, 0.9);
    transform: scale(1.005);
}

.led-table td, .led-table th {
    padding: 1rem 1.2rem;
    vertical-align: middle;
    border: none;
}

.led-table th {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.led-table td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.led-table td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.rank-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.rank-1 { background: linear-gradient(135deg, #f59e0b, #b45309); color: #fff; box-shadow: 0 0 15px rgba(245, 158, 11, 0.5); }
.rank-2 { background: linear-gradient(135deg, #94a3b8, #475569); color: #fff; box-shadow: 0 0 15px rgba(148, 163, 184, 0.4); }
.rank-3 { background: linear-gradient(135deg, #d97706, #78350f); color: #fff; box-shadow: 0 0 15px rgba(217, 119, 6, 0.4); }
.rank-other { background: rgba(255, 255, 255, 0.1); color: #cbd5e1; }

.live-score {
    font-size: 1.6rem;
    font-weight: 800;
    color: #38bdf8;
}

/* Pulso y Efectos LED */
@keyframes ledGlow {
    0% { box-shadow: 0 0 10px rgba(56, 189, 248, 0.3); }
    50% { box-shadow: 0 0 25px rgba(56, 189, 248, 0.7); }
    100% { box-shadow: 0 0 10px rgba(56, 189, 248, 0.3); }
}

.glow-box {
    animation: ledGlow 2.5s infinite ease-in-out;
}
