/* Contenedor principal de la barra */
.ticker-wrapper {
    width: 100%;
    height: 30px;
    /* Muy fina */
    background: rgb(5, 29, 38);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Contenedor del movimiento */
.ticker-container {
    display: flex;
    white-space: nowrap;
}

.ticker-content {
    display: flex;
    animation: ticker-scroll 40s linear infinite;
}

/* Estilo de cada divisa */
.ticker-item {
    font-family: 'Courier New', Courier, monospace;
    /* Estilo financiero */
    font-size: 11px;
    color: rgb(255, 255, 255);
    padding: 0 30px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.ticker-item b {
    color: #3cc5be;
    /* Color Neón Fintech para el precio */
    margin-left: 8px;
}

.ticker-item .up {
    color: #00ff88;
    margin-right: 5px;
}

.ticker-item .down {
    color: #ff3366;
    margin-right: 4px;
}

/* Animación Infinita */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Nota: Se desplaza el 50% porque duplicaremos el contenido en JS */
}

/* Ajuste para que el Hero no se tape */
#hero {
    margin-top: 30px;
}