#topbannertext {
  background: linear-gradient(
    90deg,
    #0f0f0f 0%,
    #1a1a1a 50%,
    #0f0f0f 100%
  );
  color: #e6e6e6;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  height: 44px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbannertext-track {
  display: inline-flex;
  align-items: center;
  animation: scrollTrack 20s linear infinite; /* ajusta la velocidad */
}

.topbannertext-item {
  padding: 0 1.75rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  position: relative;
}

.topbannertext-item::after {
  content: "•";
  margin-left: 1.75rem;
  color: rgba(255,255,255,0.25);
}

.topbannertext-item:last-child::after {
  display: none;
}

/* Animación sin huecos */
@keyframes scrollTrack {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* mueve solo la mitad, porque vamos a duplicar el contenido */
  }
}

/* Mobile */
@media (max-width: 768px) {
  #topbannertext {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    height: 40px;
  }

  .topbannertext-item {
    padding: 0 1rem;
  }

  .topbannertext-item::after {
    margin-left: 1rem;
  }
}
