@charset "UTF-8";
/* CSS Document */

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.pantalla-inicio-nueva {
  background-color: #0b1e3c;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Inter', sans-serif;
}

.header-quinteto {
  background-color: #0b1e3c;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0 0.5rem; /* o ajusta si necesitas mÃ¡s espacio */
  width: 100%;
}

.logo-quinteto {
  width: 220px;
  max-width: 100%;
  margin: 0 auto 12px;
  display: block;
}

.logo-jueguitos {
  max-width: 100%;
  height: auto;
}

.lema-quinteto {
  font-family: 'League Spartan', sans-serif;
  font-size: 14px;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

.bloque {
  width: 100%;
  text-align: center;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.titulo-quinteto {
  background-color: #2b2f36;
  color: #ffffff;
  font-family: 'League Spartan', sans-serif;
  font-weight: 900;
  font-size: 2.8rem;
}

.subtitulo-quinteto {
  background-color: #c9a227;
  color: #ffffff;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 2rem;
}

.instrucciones-quinteto {
  color: #ffffff;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: bold;
  font-family: 'Inter', sans-serif;
}

.instrucciones-quinteto h2 {
  margin-top: 0;
  font-weight: bold;
  font-size: 1.6rem;
  color: #ffffff;
}

.instrucciones-quinteto p {
  margin: 0.5rem 0;
  font-weight: 400;
}

.btn-iniciar-nueva {
  background-color: #f3f1ea;
  color: #000;
  font-family: 'Urbanist', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  padding: 1rem 3rem;
  border: none;
  margin: 2rem auto;
  cursor: pointer;
  transition: background 0.3s ease;
  text-transform: uppercase;
}

.btn-iniciar-nueva:hover {
  background-color: #f3f1ea;
}

.pie-juego {
  display: flex;
  justify-content: center;
  margin: 18px 0 28px;
}

.btn-rendirse {
  background: #000000;
  color: #ffffff;
  font-family: 'Urbanist', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 12px 28px;
  border: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s ease;
}

.btn-rendirse:hover {
  opacity: .9;
}

.botones-final {
  display: flex;
  flex-direction: column; /* uno encima del otro */
  align-items: center;    /* centrados horizontalmente */
  gap: 20px;              /* espacio entre botones */
  margin-top: 20px;
}

.boton-final {
  background: #f3f1ea;
  color: #111;
  font-family: 'Urbanist', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  border: none;
  padding: 15px 0;
  width: 280px;           /* mismo ancho para ambos */
  text-align: center;
  cursor: pointer;
}

.boton-final:hover {
  background: #ddd;
}

/* ===== CAMPEONES – estilos de la pantalla de juego ===== */

/* Texto general en blanco en esta pantalla */
.pantalla-inicio-nueva { color:#ffffff; }

/* Bloque pista (Año + Liga). El color de fondo/texto lo pone JS */
.bloque-pista{
  display:block;
  max-width:500px;
  width:100%;
  margin:20px auto -15px auto;
  padding:18px 32px;
  text-align:center;
}

.pista-linea1,
.pista-linea2{
  font-family:'Prata', serif;   /* SOLO aquí va Prata */
  paint-order: stroke fill;     /* pinta el contorno primero */
  -webkit-text-stroke: 1px #000;
  text-shadow: none !important; /* anula el inline text-shadow del JS */
}

.pista-linea1{
  font-size:clamp(20px,4.2vw,32px);
  font-weight:400;
  letter-spacing:.3px;
}

.pista-linea2{
  font-size:clamp(16px,3.6vw,26px);
  opacity:.95;
  margin-top:4px;
}

/* Reloj */
.reloj-campeones{ max-width:560px; margin:-75px auto; }
.reloj-numero{ text-align:center; font-size:1.2rem; font-weight:800; }
.reloj-barra{ height:10px; background:#2b2f36; border-radius:6px; overflow:hidden; }
.reloj-progreso{ height:100%; width:100%; background:#c9a227; transition:width .25s linear; }

/* Respuesta (input + sugerencias + botón VALIDAR) */
.respuesta-campeones{ max-width:560px; margin:12px auto; }
.campo-autocomplete{ position:relative; }
#inputCampeon{
  max-width: 500px;
  padding:14px 16px;
  border:2px solid #2b2f36;
  background:#0b1e3c;
  color:#ffffff;
  outline:none;
  font-size:18px;
}
#inputCampeon::placeholder{ color:#f3f1ea; opacity:.75; }
#inputCampeon:focus{ border-color:#c9a227; }

/* Lista de sugerencias (solo se muestra cuando hay match) */
.sugerencias{
  position:absolute; left:0; right:0; top:100%;
  background:#0b1e3c; border:1px solid #2b2f36;
  list-style:none; margin:6px 0 0; padding:0;
  z-index:10; max-height:220px; overflow:auto;
}
.sugerencias li{ padding:10px 12px; cursor:pointer; }
.sugerencias li:hover{ background:#122748; }

/* Efecto de vibración al fallar */
@keyframes vibra {
  0%,100%{transform:translateX(0)}
  20%{transform:translateX(-6px)} 40%{transform:translateX(6px)}
  60%{transform:translateX(-4px)} 80%{transform:translateX(4px)}
}
.vibrar{ animation:vibra .28s linear; }

/* HUD de racha */
.hud-campeones{ text-align:center; margin:25px auto; opacity:.9; }
