body.marcador-body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at center, #050505 70%, #000 100%);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

/* ENCABEZADO (fecha + cancha) */
.barra-superior {
  color: #00e1ff;
  text-shadow: 0 0 8px #00e1ff;
  font-size: 0.9rem;
  border-bottom: 2px solid rgba(0, 225, 255, 0.5);
  text-transform: uppercase;
}

/* EQUIPOS */
.equipo-nombre {
  font-size: 1.2rem;
  color: #00e1ff;
  text-shadow: 0 0 10px #00e1ff;
  letter-spacing: 2px;
}

.gol-contador {
  font-size: 4.5rem;
  font-weight: bold;
  text-shadow: 0 0 25px #fff;
  transition: all 0.3s ease;
}

.gol-contador.flash {
  animation: golFlash 0.6s ease;
}

@keyframes golFlash {
  0% { transform: scale(1.3); color: #00e1ff; text-shadow: 0 0 25px #00e1ff; }
  100% { transform: scale(1); color: #fff; text-shadow: 0 0 25px #fff; }
}

/* BOTONES */
.btn-ea {
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s ease;
  color: #fff;
}

.btn-ea:active {
  transform: scale(0.96);
}

.btn-gol {
  background: linear-gradient(90deg, #00e1ff, #007bff);
  box-shadow: 0 0 15px rgba(0, 225, 255, 0.8);
}

.btn-restar {
  background: linear-gradient(90deg, #ff003c, #ff5500);
  box-shadow: 0 0 15px rgba(255, 0, 60, 0.8);
}

.btn-iniciar {
  background: linear-gradient(90deg, #00e1ff, #007bff);
  box-shadow: 0 0 20px rgba(0, 225, 255, 0.9);
}

.btn-finalizar {
  background: linear-gradient(90deg, #ff003c, #ff5500);
  box-shadow: 0 0 20px rgba(255, 0, 60, 0.9);
}

/* LOGO */
.logo-arkno {
  width: 110px;
  filter: drop-shadow(0 0 15px #00e1ff);
  animation: logoPulse 2s infinite alternate;
}

@keyframes logoPulse {
  from { transform: scale(1); filter: drop-shadow(0 0 10px #00e1ff); }
  to { transform: scale(1.05); filter: drop-shadow(0 0 25px #00e1ff); }
}

/* CRONÓMETRO */
.cronometro {
  font-size: 2.5rem;
  font-weight: bold;
  color: #00e1ff;
  text-shadow: 0 0 15px #00e1ff;
}

/* OVERLAY FINAL */
#overlayFinal { animation: fadeIn 0.6s ease forwards; }

.titulo-final {
  font-size: 2.3rem;
  color: #00e1ff;
  text-shadow: 0 0 25px #00e1ff;
  animation: glowPulse 1.5s infinite alternate;
}

.texto-ganador {
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #ffd700;
  text-shadow: 0 0 25px #ffd700;
}

@keyframes glowPulse {
  from { text-shadow: 0 0 10px #00e1ff; }
  to { text-shadow: 0 0 25px #00e1ff; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* RESPONSIVO HORIZONTAL */
@media (orientation: landscape) {
  .gol-contador { font-size: 5rem; }
  .btn-ea { font-size: 1rem; padding: 10px 20px; }
}

/* MODO VERTICAL BLOQUEADO */
@media (orientation: portrait) {
  body::before {
    content: "🔄 Gira el dispositivo a modo horizontal";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }
}

/* ==============================
   FEED DE EVENTOS TIPO ESPN
============================== */
.feed-eventos {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 25%;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  border-top: 2px solid rgba(0, 225, 255, 0.4);
  font-family: 'Orbitron', sans-serif;
  padding: 5px 10px;
  z-index: 5;
}

.feed-eventos::-webkit-scrollbar {
  width: 6px;
}
.feed-eventos::-webkit-scrollbar-thumb {
  background-color: #00e1ff;
  border-radius: 10px;
}

/* Cada evento del feed */
.evento-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 0;
  font-size: 0.9rem;
  animation: fadeInFeed 0.5s ease;
}

.evento-item i {
  color: #ffd700;
  margin-right: 8px;
}

@keyframes fadeInFeed {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Banner superior tipo ESPN */
.banner-gol {
  position: fixed;
  bottom: -80px;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #00e1ff, #007bff);
  padding: 15px;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 5px #000;
  transition: all 0.6s ease;
  z-index: 999;
}

.banner-gol.show {
  bottom: 0;
  box-shadow: 0 -5px 20px rgba(0, 225, 255, 0.8);
}
