/* Banner fijo LED */
.banners {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #ff4081, #ff6fa8);
  background-size: 600% 600%;
  animation: bg-shift 12s ease infinite;
  color: #ffffff;
  padding: 12px 0;
  overflow: hidden;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.3);
}

/* Fondo dinámico */
@keyframes bg-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Contenedor scroll infinito */
.scroll-wrapper {
  display: flex;
  width: max-content;
  animation: scroll-left 20s linear infinite;
}

/* Scroll infinito */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* 🔑 Se mueve la mitad porque duplicamos */
}

.scroll-text {
  display: flex;
  white-space: nowrap;
}

/* Estilo LED del texto */
.scroll-text li {
  margin: 0 40px;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: #fff;
}

/* Brillo pulsante */
@keyframes glow {
  from {
    text-shadow: 
      0 0 5px #fff,
      0 0 10px #ff00de,
      0 0 20px #ff00de,
      0 0 40px #ff00de;
  }
  to {
    text-shadow: 
      0 0 10px #fff,
      0 0 20px #00f0ff,
      0 0 40px #00f0ff,
      0 0 80px #00f0ff;
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .scroll-wrapper {
    animation: scroll-left 15s linear infinite;
  }
  .scroll-text li {
    font-size: 0.70rem;
    margin: 0 20px;
  }
}

@media (max-width: 480px) {
  .scroll-wrapper {
    animation: scroll-left 15s linear infinite;
  }
  .scroll-text li {
    font-size: 0.70rem;
    margin: 0 15px;
  }
  .banners {
    padding: 10px 0;
  }
}

/* Para que no tape el contenido */
body {
  margin: 0;
  padding-top: 60px;
}
