:root {
    --bg: #050505;
    --neon-green: #39ff14;
    --neon-gold: #ffcc00;  /* Amarelo Escuro - 2º */
    --neon-silver: #ffffcc; /* Amarelo Claro - 3º */
    --text: #ffffff;
}

* { box-sizing: border-box; text-transform: uppercase; font-family: 'Montserrat', sans-serif; }

body { 
    background-color: var(--bg); 
    color: var(--text); 
    margin: 0; 
    padding: 10px;
    overflow-x: hidden;
}

#titulo-campanha {
    text-align: center;
    font-size: 1.8rem;
    margin: 20px 0;
    font-weight: 900;
    letter-spacing: 2px;
}

/* ESTRUTURA DO PÓDIO */
.podium-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: end;
    gap: 10px;
    height: 350px;
    margin-bottom: 40px;
    padding: 0 5px;
}

.podium-spot {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.vendedor-nome-podium {
    font-size: 0.7rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 10px;
    min-height: 30px;
}

/* BARRA VERTICAL */
.bar-vertical {
    width: 100%;
    background: #111;
    border-radius: 10px 10px 0 0;
    position: relative;
    border: 2px solid #222;
    overflow: hidden;
    box-shadow: inset 0 0 20px #000;
}

/* Alturas diferentes para o pódio visual */
.spot-1 .bar-vertical { height: 100%; border-color: var(--neon-green); box-shadow: 0 0 20px rgba(57, 255, 20, 0.2); }
.spot-2 .bar-vertical { height: 80%; border-color: var(--neon-gold); }
.spot-3 .bar-vertical { height: 65%; border-color: var(--neon-silver); }

.liquid-canvas { width: 100% !important; height: 100% !important; display: block; }

/* LISTA ABAIXO DO PÓDIO */
.ranking-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.item-lista {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--neon-green);
}

.nome-lista { font-weight: 900; font-size: 0.9rem; }
.valor-lista { font-weight: 900; color: var(--neon-green); }

/* FAÍSCAS (SIMULAÇÃO) */
.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffcc00;
    pointer-events: none;
    animation: spark-fly 0.5s linear forwards;
}

@keyframes spark-fly {
    0% { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(var(--x), var(--y)) scale(0); opacity: 0; }
}