.jv-container {
    display: flex;
    align-items: center;
    background-color: #1a1a1a; /* Ajusta cor de fundo (era bg-section) */
    height: 120px;
    border-radius: 12px;
    width: 100%;
    margin-top: 8px;
    gap: 8px;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.jv-left-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 110px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    position: relative;
    z-index: 10;
    padding: 0 8px;
    gap: 8px;
    background-color: #2a2a2a; /* Fundo pro painel esquerdo */
}

.jv-trophy {
    width: 60px;
    z-index: 20;
    border-top-left-radius: 12px;
    transform: scale(1.25);
}

.jv-title {
    font-size: 12px;
    font-weight: bold;
    color: #fff; /* text-foreground */
    text-align: center;
    z-index: 20;
    line-height: 1;
}

.jv-scroll-area {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    padding-top: 8px;
    overflow-x: auto;
    padding: 0 8px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.jv-scroll-area::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.jv-winner-card {
    position: relative;
    width: 185px;
    height: 100px;
    min-width: 185px;
    min-height: 100px;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1); /* bg-foreground/10 */
    flex-shrink: 0;
}

.jv-bg-image {
    height: 100px;
    position: absolute;
    z-index: 0;
    width: 100%;
    object-fit: cover;
}

.jv-icon-wrapper {
    margin-left: 8px;
    height: 91.67%; /* 11/12 */
    width: 25%; /* 3/12 = 25% */
    z-index: 10;
}

.jv-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.jv-winner-info {
    z-index: 10;
    max-width: 123px;
    padding-left: 8px;
}

.jv-nome {
    color: #fff;
    font-weight: bold;
    font-size: 16px; /* text-base */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.2;
}

.jv-data {
    color: #fff;
    font-size: 10px;
    margin-top: 2px;
}

.jv-valor {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
}

/* Responsivo básico */
@media (max-width: 768px) {
    .jv-container {
        height: 100px;
    }
    .jv-winner-card {
        width: 150px;
        min-width: 150px;
    }
}

/* Cor nova pros cards: verde-amarelo atraente */
.jv-winner-card {
    /* ... igual antes, mas substitui background-color por: */
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.8) 0%, rgba(251, 192, 45, 0.8) 100%) !important; /* Verde escuro pra amarelo dourado, semi-transp */
    /* Se quiser sem transp, usa sem rgba e opacity */
}

/* Corrige setas: position absolute */
.jv-scroll-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: stretch; /* Pra setas cobrirem height full */
    height: 100px; /* Alinha com cards */
}

.jv-arrow {
    position: absolute;
    top: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 100%; /* Full height do wrapper */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: background 0.3s;
    opacity: 0.7;
    border-radius: 0; /* Remove bordas arredondadas nas setas */
}

.jv-arrow:hover {
    background: rgba(0,0,0,0.8);
    opacity: 1;
}

.jv-arrow-left {
    left: 0;
}

.jv-arrow-right {
    right: 0;
}

/* Fallback pro title */
.jv-title-fallback {
    font-size: 40px;
    z-index: 20;
}

/* Mobile: esconde setas, ajusta padding */
@media (max-width: 768px) {
    .jv-arrow {
        display: none;
    }
    .jv-container {
        height: 100px;
    }
    .jv-winner-card {
        width: 150px;
        min-width: 150px;
    }
    .jv-scroll-area {
        padding: 0 20px;
    }
    .jv-scroll-wrapper {
        height: 90px; /* Ajusta pro mobile */
    }
}


/* Barra de rolagem visível só no desktop */
@media (min-width: 1024px) {
    .jv-scroll-area {
        scrollbar-width: thin; /* Firefox: fina */
        -ms-overflow-style: auto; /* IE/Edge: auto */
    }

    .jv-scroll-area::-webkit-scrollbar {
        height: 6px; /* Altura da barra horizontal */
        width: 0; /* Esconde vertical se precisar */
    }

    .jv-scroll-area::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1); /* Fundo transparente */
        border-radius: 3px;
    }

    .jv-scroll-area::-webkit-scrollbar-thumb {
        background: linear-gradient(to right, #4CAF50, #45a049); /* Verde degradê */
        border-radius: 3px;
        transition: background 0.3s ease;
    }

    .jv-scroll-area::-webkit-scrollbar-thumb:hover {
        background: #4CAF50; /* Verde mais escuro no hover */
    }
}

/* No mobile, mantém escondida */
@media (max-width: 1023px) {
    .jv-scroll-area::-webkit-scrollbar {
        display: none;
    }
    .jv-scroll-area {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}



.jv-ponto-pulsante {
    position: relative;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse-scale 1.5s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.8), 0 0 20px rgba(76, 175, 80, 0.5);
}

.jv-ponto-pulsante::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-glow 1.5s infinite ease-out;
    z-index: 1;
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes pulse-glow {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    50% {
        width: 150%;
        height: 150%;
        opacity: 0.7;
    }
    100% {
        width: 300%;
        height: 300%;
        opacity: 0;
    }
}



/* barra de progresso */
.jv-barra-progress-container {
    width: 100%;
    max-width: 300px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.jv-barra-progress {
    position: relative;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jv-progress-fill {
    height: 100%;
    background: linear-gradient(to right, #4CAF50, #2E7D32);
    border-radius: 10px;
    width: 0; /* Começa em 0% */
    animation: progress-fill-anim 1.5s ease-out forwards; /* Animação de entrada */
}

.jv-light-effect {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: light-sweep 3s infinite linear;
    z-index: 1;
}

@keyframes progress-fill-anim {
    from {
        width: 0;
    }
    to {
        width: var(--progress-end); /* Usa a variável do percentual, ex: 70% */
    }
}

@keyframes light-sweep {
    0% {
        left: 0;
    }
    100% {
        left: var(--progress-end);
    }
}