/* FUENTES RUTAS EXACTAS */
@font-face { font-family: 'NotComic'; src: url('assets/fuentes/not-comic.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'ZXGamut'; src: url('assets/fuentes/zx-gamut.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root { --fondo: #101b31; --tarjeta: rgba(255,255,255,0.06); --borde: rgba(255,255,255,0.12); --texto: #f8fafc; --acento: #facc15; --acento-oscuro: #eab308; --fuente-texto: 'NotComic', sans-serif; --fuente-titulos: 'ZXGamut', sans-serif; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--fondo); color: var(--texto); font-family: var(--fuente-texto); min-height: 100vh; padding: 2rem 0; }
button { border: none; background: none; cursor: pointer; font: inherit; }
input { border: none; outline: none; font: inherit; text-align: center; }

.contenedor-prode { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.carrusel-navegacion { display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem; }
.btn-navegar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.1); color: var(--texto); font-size: 1.3rem; flex-shrink: 0; transition: all 0.2s ease; }
.btn-navegar:hover { background: var(--acento); color: #000; transform: scale(1.1); }
.carrusel-scroll { display: flex; gap: 0.7rem; overflow-x: auto; padding: 0.5rem 0; scrollbar-width: none; flex: 1; }
.carrusel-scroll::-webkit-scrollbar { display: none; }
.btn-fecha { padding: 0.6rem 0.9rem; border-radius: 8px; background: rgba(255,255,255,0.08); color: var(--texto); font-family: var(--fuente-titulos); font-size: 0.85rem; white-space: nowrap; transition: all 0.2s ease; }
.btn-fecha.activo, .btn-fecha:hover { background: var(--acento); color: #000; transform: translateY(-2px); }

.lista-partidos { display: flex; flex-direction: column; gap: 1.5rem; }
.texto-carga { text-align: center; opacity: 0.7; font-size: 1.1rem; padding: 3rem 0; }
.tarjeta-partido { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 12px; padding: 1.5rem; transition: all 0.3s ease; }
.tarjeta-partido:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

.cabecera-tarjeta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.9rem; opacity: 0.8; }
.cuerpo-partido { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.equipo { flex: 1; display: flex; }
.equipo.izq { justify-content: flex-start; }
.equipo.der { justify-content: flex-end; }
.equipo img { width: 58px; height: 58px; object-fit: contain; }

.zona-resultados { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.input-goles { width: 52px; height: 50px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); color: var(--texto); font-family: var(--fuente-titulos); font-size: 1.4rem; transition: all 0.2s ease; }
.input-goles:focus { border-color: var(--acento); background: rgba(255,255,255,0.1); }
.input-goles:disabled { opacity: 0.6; cursor: default; }
.separador { font-family: var(--fuente-titulos); font-size: 1.5rem; opacity: 0.5; }

.botones-accion { display: flex; flex-direction: column; gap: 0.8rem; }
.btn-guardar, .btn-editar { width: 100%; padding: 0.9rem; border-radius: 8px; font-family: var(--fuente-titulos); font-size: 1rem; transition: all 0.2s ease; }
.btn-guardar { background: var(--acento); color: #000; }
.btn-guardar:hover { background: var(--acento-oscuro); transform: translateY(-1px); }
.btn-editar { background: rgba(255,255,255,0.1); color: var(--texto); display: none; }
.btn-editar.visible { display: block; }
.btn-editar:hover { background: rgba(255,255,255,0.18); }

@media (min-width: 768px) {
  .equipo img { width: 72px; height: 72px; }
  .input-goles { width: 65px; height: 55px; font-size: 1.6rem; }
}
