@charset "UTF-8";
/* === RESETEO GENERAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #1b264f;
  overflow-x: hidden;
  overflow-y: scroll;
  width: 100%;
}

/* === PANTALLA INICIO CHAMPIONS LEAGUE === */
.pantalla-inicio-nueva {
  background-color: #1b264f;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Inter', sans-serif;
  width: 100%;
  overflow-x: hidden;
}

.header-champions {
  background-color: #1b264f;
  text-align: center;
  padding: 24px 16px 16px;
  width: 100%;
  overflow-x: hidden;
}

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

.lema-champions {
  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;
  overflow-x: hidden;
}

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

.subtitulo-champions {
  background-color: #ff2e9a;
  color: #000000;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 2rem;
}

.instrucciones-champions {
  background-color: #1b264f;
  color: #ffffff;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
  font-family: 'Inter', sans-serif;
}

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

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

.btn-iniciar-champions {
  background-color: #f4f4f4;
  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-champions:hover {
  background-color: #dedede;
}

.bloque-logo-final {
  font-family: 'Prata', serif;
  font-weight: 400;
  font-size: 3rem;
  padding: 1rem 3rem;
  margin: 2rem auto;
  text-align: center;
  width: fit-content;
  text-transform: uppercase;
  -webkit-text-stroke-width: 0.5px;
  border-radius: 0;
  box-shadow: none;
}

.campo-pregunta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 1.5rem auto;
  width: 100%;
  max-width: 500px;
}

.etiqueta-campo {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: left;
  width: 100%;
}

.input-juego {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  padding: 0.8rem 1rem;
  background-color: #ffffff;
  color: #000000;
  border: none;
  outline: none;
  box-shadow: none;
  border-radius: 0;
}

.input-juego.acierto {
  background-color: #ff2e9a !important;
  color: #ffffff !important;
  font-weight: bold;
}

.input-juego.error {
  animation: vibrar 0.3s;
}

@keyframes vibrar {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.sugerencias-lista {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
  background-color: #ffffff;
  color: #000000;
  font-family: 'Inter', sans-serif;
  border: 2px solid #ff2e9a;
  border-radius: 0.25rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  position: absolute;
  z-index: 100;
}

.sugerencias-lista li {
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sugerencias-lista li:hover {
  background-color: #ff2e9a;
  color: #ffffff;
}

.campo-pregunta {
  position: relative; /* ⬅️ Necesario para que el cuadro de sugerencias se posicione dentro */
}

.sugerencias-lista {
  width: 100%; /* ⬅️ Se ajusta al ancho del input */
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #ff2e9a;
  border-radius: 0.25rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

.opciones-penales {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.boton-penales {
  font-family: 'Urbanist', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  background-color: #f4f4f4;
  color: #000000;
  border: none;
  padding: 0.8rem 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.boton-penales:hover {
  background-color: #e0e0e0;
}

.opciones-penales.acierto .boton-penales.acierto {
  background-color: #ff2e9a !important;
  color: #ffffff !important;
}

.mensaje-final {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  text-align: center;
  color: #ffffff;
  margin-top: 2rem;
}

.texto-tiempo {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  text-align: center;
  margin: 10px auto 20px;
}

.resumen-final {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
  line-height: 1.6;
  text-align: center;
  font-size: 1.2rem; /* ⬅️ AGREGA ESTA LÍNEA para agrandar */
}

.botones-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* Menor separación */
  margin: 1.5rem auto 2rem;
  width: 100%;
  max-width: 320px; /* Más estrecho */
}

.botones-final .btn-iniciar-champions {
  width: 100%;
  margin: 0; /* elimina cualquier margen externo */

}

.mensaje-compartir {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000000dd;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  z-index: 9999;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* === Botón ME RINDO (uniforme en todos los juegos) === */
.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; }

/* aire seguro en móvil */
.pantalla-inicio-nueva{
  padding-bottom: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
