/* ============================================================
   SANCIÓN VISUAL — marquesina pública estilo coche patrulla
   Cargada en las tres páginas (index.html, apuestas.html, fantasy.html).
   La ven todos.
   ============================================================ */
.marquesina-sancion {
  position: relative;
  display: block;
  width: 100%;
  color: #fff;
  font-family: "Impact", "Oswald", "Arial Black", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 0.6rem;
  overflow: hidden;
  white-space: nowrap;
  text-shadow:
    0 0 6px #000,
    0 0 12px rgba(0, 0, 0, 0.8),
    2px 2px 0 #000;
  background: #000;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
  animation: marquesina-sirenas 0.6s steps(1, end) infinite;
}
.marquesina-sancion::before,
.marquesina-sancion::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60%;
  z-index: 0;
  animation: marquesina-luces 0.6s steps(1, end) infinite;
}
.marquesina-sancion::before {
  left: -5%;
  background:
    radial-gradient(ellipse at 30% 50%, #ff3030 0%, #c80000 35%, rgba(120, 0, 0, 0) 70%);
}
.marquesina-sancion::after {
  right: -5%;
  background:
    radial-gradient(ellipse at 70% 50%, #3060ff 0%, #0030c8 35%, rgba(0, 30, 120, 0) 70%);
  animation-delay: 0.3s;
}
.marquesina-sancion span {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding-left: 100%;
  animation: marquesina-sancion-scroll 14s linear infinite;
}
@keyframes marquesina-sancion-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@keyframes marquesina-luces {
  0%, 49%   { opacity: 1; filter: brightness(1.6) saturate(1.4); }
  50%, 100% { opacity: 0.08; filter: brightness(0.3); }
}
@keyframes marquesina-sirenas {
  0%, 49% {
    box-shadow:
      0 0 24px 4px rgba(255, 30, 30, 0.95),
      inset 0 0 30px rgba(255, 30, 30, 0.7);
  }
  50%, 100% {
    box-shadow:
      0 0 24px 4px rgba(30, 80, 255, 0.95),
      inset 0 0 30px rgba(30, 80, 255, 0.7);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquesina-sancion,
  .marquesina-sancion::before,
  .marquesina-sancion::after,
  .marquesina-sancion span {
    animation: none !important;
  }
  .marquesina-sancion {
    background: linear-gradient(90deg, #7a0000 0%, #00207a 100%);
  }
}
