.jh-juego {
--jh-azul: #111a5a;
--jh-azul-claro: #1768e5;
--jh-dorado: #f5b82e;
--jh-blanco: #f7f8ff;
position: relative;
isolation: isolate;
width: min(100%, 980px);
min-height: 620px;
margin: 24px auto;
overflow: hidden;
border: 1px solid rgba(112, 144, 255, .35);
border-radius: 28px;
color: var(--jh-blanco);
background: radial-gradient(circle at 50% 25%, #243e9b 0, #0c174f 35%, #050927 75%);
box-shadow: 0 24px 70px rgba(4, 8, 35, .42);
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.jh-juego *, .jh-juego *::before, .jh-juego *::after { box-sizing: border-box; }
.jh-juego [hidden] { display: none !important; }
.jh-luces { position: absolute; inset: 0; z-index: -1; opacity: .6; background: linear-gradient(115deg, transparent 15%, rgba(55, 119, 255, .18) 35%, transparent 52%), linear-gradient(245deg, transparent 35%, rgba(245, 184, 46, .11) 51%, transparent 68%); }
.jh-panel { min-height: 620px; padding: clamp(28px, 6vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.jh-inicio, .jh-resultado { align-items: center; text-align: center; }
.jh-kicker { margin: 0 0 8px; color: var(--jh-dorado); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.jh-panel h2 { margin: 0 0 22px; color: #fff; font-size: clamp(42px, 8vw, 60px); line-height: .95; text-shadow: 0 4px 22px rgba(0,0,0,.3); }
.jh-panel > p:not(.jh-kicker) { max-width: 650px; margin: 0 0 32px; color: #d7ddff; font-size: clamp(17px, 2.5vw, 21px); line-height: 1.55; }
.jh-boton { min-width: 220px; padding: 16px 28px; border: 0; border-radius: 999px; color: #17204d; background: linear-gradient(135deg, #ffe08a, var(--jh-dorado)); box-shadow: 0 8px 25px rgba(245,184,46,.28); font: inherit; font-weight: 900; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.jh-boton:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 30px rgba(245,184,46,.42); }
.jh-boton:focus-visible, .jh-respuesta:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.jh-cabecera { display: flex; align-items: center; gap: 28px; margin-bottom: 38px; }
.jh-cabecera > div:first-child { min-width: 100px; }
.jh-etiqueta { display: block; color: #9aabed; font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.jh-nivel-actual { font-size: 22px; }
.jh-progreso { flex: 1; height: 11px; overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 99px; background: rgba(0,0,0,.25); }
.jh-progreso span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4b8cff, var(--jh-dorado)); transition: width .45s ease; }
.jh-pregunta-wrap { position: relative; margin-bottom: 34px; padding: 28px clamp(22px, 5vw, 50px); border: 2px solid #6789f8; border-radius: 20px; background: linear-gradient(180deg, rgba(31,53,139,.88), rgba(8,17,69,.94)); box-shadow: inset 0 0 30px rgba(35,83,222,.24), 0 12px 36px rgba(0,0,0,.26); }
.jh-pregunta { margin: 0; text-align: center; color: #fff; font-size: clamp(20px, 3.2vw, 22px); font-weight: 750; line-height: 1.3; }
.jh-respuestas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.jh-respuesta { display: flex; align-items: center; gap: 15px; min-height: 72px; padding: 14px 20px; border: 2px solid #4f70de; border-radius: 16px; color: #f8f9ff; background: linear-gradient(135deg, rgba(19,35,108,.96), rgba(8,17,65,.96)); font: inherit; font-size: 17px; font-weight: 650; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.jh-respuesta:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--jh-dorado); background: linear-gradient(135deg, #243f9b, #101f70); }
.jh-respuesta:disabled { cursor: default; }
.jh-letra { display: grid; flex: 0 0 36px; height: 36px; place-items: center; border-radius: 50%; color: #111947; background: var(--jh-dorado); font-weight: 900; }
.jh-respuesta.es-correcta { border-color: #50e49a; background: #08724b; animation: jh-pulso .55s ease; }
.jh-respuesta.es-incorrecta { border-color: #ff6680; background: #8d1738; animation: jh-sacudir .42s ease; }
.jh-icono { display: grid; width: 100px; height: 100px; margin-bottom: 24px; place-items: center; border: 3px solid var(--jh-dorado); border-radius: 50%; background: rgba(245,184,46,.12); font-size: 52px; }
.jh-perdio .jh-icono { border-color: #ff6680; color: #ff6680; background: rgba(255,58,94,.13); }
@keyframes jh-pulso { 50% { transform: scale(1.025); box-shadow: 0 0 28px rgba(80,228,154,.35); } }
@keyframes jh-sacudir { 25%, 75% { transform: translateX(-7px); } 50% { transform: translateX(7px); } }
@media (max-width: 680px) {
.jh-juego, .jh-panel { min-height: 560px; }
.jh-juego { border-radius: 18px; }
.jh-respuestas { grid-template-columns: 1fr; }
.jh-cabecera { align-items: flex-start; flex-direction: column; gap: 12px; }
.jh-progreso { width: 100%; }
.jh-respuesta { min-height: 62px; }
}
@media (prefers-reduced-motion: reduce) {
.jh-juego *, .jh-juego *::before, .jh-juego *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
} .jh-inicio {
position: relative;
justify-content: center;
padding-top: 130px;
padding-bottom: 115px;
}
.jh-contenido-portada {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.jh-logo-universidad {
position: absolute;
top: 35px;
left: 40px;
z-index: 2;
}
.jh-logo-universidad img {
display: block;
width: auto;
max-width: 210px;
height: auto;
max-height: 75px;
object-fit: contain;
filter: brightness(0) invert(1);
}
.jh-equipo {
position: absolute;
right: 35px;
bottom: 28px;
left: 35px;
text-align: center;
}
.jh-equipo-titulo {
display: block;
margin-bottom: 7px;
color: var(--jh-dorado);
font-size: 12px;
font-weight: 800;
letter-spacing: 0.15em;
text-transform: uppercase;
}
.jh-equipo-nombres {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
color: #ffffff;
font-size: 15px;
font-weight: 650;
}
.jh-equipo-nombres .jh-separador {
color: var(--jh-dorado);
} @media (max-width: 680px) {
.jh-inicio {
padding-top: 125px;
padding-bottom: 125px;
}
.jh-logo-universidad {
top: 28px;
left: 50%;
transform: translateX(-50%);
}
.jh-logo-universidad img {
max-width: 180px;
max-height: 65px;
}
.jh-equipo {
right: 20px;
bottom: 24px;
left: 20px;
}
.jh-equipo-nombres {
flex-wrap: wrap;
gap: 6px;
font-size: 14px;
}
} .jh-nombre-proyecto {
position: absolute;
top: 32px;
right: 40px;
z-index: 10;
max-width: 360px;
padding: 10px 18px;
border: 1px solid rgba(255, 255, 255, 0.22);
border-radius: 999px;
color: #ffffff;
background: rgba(7, 14, 58, 0.72);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
font-size: 14px;
font-weight: 750;
line-height: 1.25;
text-align: center;
}
.jh-nombre-proyecto span {
margin-left: 5px;
color: var(--jh-dorado);
font-weight: 900;
} .jh-partida {
padding-top: 110px;
}
.jh-resultado {
padding-top: 110px;
} @media (max-width: 680px) {
.jh-nombre-proyecto {
top: 18px;
right: 18px;
left: 18px;
max-width: none;
padding: 9px 14px;
font-size: 12px;
}
.jh-partida,
.jh-resultado {
padding-top: 95px;
}
}
@media (max-width: 680px) {
.jh-inicio {
padding-top: 190px;
}
.jh-logo-universidad {
top: 75px;
}
} .jh-logo-juego {
display: flex;
justify-content: center;
width: 100%;
margin: 5px auto 22px;
}
.jh-logo-juego img {
display: block;
width: min(100%, 260px);
height: auto;
opacity: 1;
filter: drop-shadow(0 14px 25px rgba(0, 0, 0, 0.35));
}
@media (max-width: 680px) {
.jh-logo-juego img {
width: min(100%, 245px);
}
} .jh-acciones-explicacion {
display: flex;
justify-content: center;
align-items: center;
gap: 14px;
flex-wrap: wrap;
}
.jh-boton-secundario {
min-width: 180px;
padding: 15px 25px;
border: 2px solid var(--jh-dorado);
border-radius: 999px;
color: var(--jh-dorado);
background: rgba(7, 14, 58, 0.65);
font: inherit;
font-weight: 900;
letter-spacing: 0.06em;
text-transform: uppercase;
cursor: pointer;
transition:
color 0.2s,
background 0.2s,
transform 0.2s;
}
.jh-boton-secundario:hover {
color: #17204d;
background: var(--jh-dorado);
transform: translateY(-2px);
}
.jh-modal-referencias {
position: absolute;
inset: 0;
z-index: 100;
display: grid;
place-items: center;
padding: 25px;
}
.jh-modal-referencias[hidden] {
display: none;
}
.jh-modal-fondo {
position: absolute;
inset: 0;
background: rgba(1, 5, 27, 0.88);
backdrop-filter: blur(7px);
-webkit-backdrop-filter: blur(7px);
}
.jh-modal-contenido {
position: relative;
z-index: 1;
width: min(100%, 760px);
max-height: 82%;
overflow-y: auto;
padding: clamp(25px, 5vw, 45px);
border: 2px solid rgba(245, 184, 46, 0.7);
border-radius: 24px;
color: #f7f8ff;
background:
linear-gradient(
145deg,
rgba(24, 43, 125, 0.98),
rgba(5, 10, 43, 0.99)
);
box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
}
.jh-modal-etiqueta {
margin: 0 0 5px;
color: var(--jh-dorado);
font-size: 12px;
font-weight: 900;
letter-spacing: 0.15em;
text-transform: uppercase;
}
.jh-modal-contenido h3 {
margin: 0 0 25px;
color: #ffffff;
font-size: clamp(30px, 5vw, 46px);
}
.jh-lista-referencias ol {
margin: 0 0 30px;
padding-left: 25px;
}
.jh-lista-referencias li {
margin-bottom: 20px;
padding-left: 8px;
color: #e5e9ff;
font-size: 15px;
line-height: 1.65;
}
.jh-lista-referencias li::marker {
color: var(--jh-dorado);
font-weight: 900;
}
.jh-modal-cerrar {
position: absolute;
top: 15px;
right: 18px;
width: 42px;
height: 42px;
padding: 0;
border: 1px solid rgba(255, 255, 255, 0.25);
border-radius: 50%;
color: #ffffff;
background: rgba(0, 0, 0, 0.25);
font-size: 28px;
line-height: 1;
cursor: pointer;
}
@media (max-width: 680px) {
.jh-modal-referencias {
padding: 14px;
}
.jh-modal-contenido {
max-height: 88%;
padding: 28px 20px;
}
.jh-acciones-explicacion {
flex-direction: column;
}
.jh-acciones-explicacion button {
width: 100%;
}
} .jh-logo-ganaste {
display: block;
width: min(100%, 390px);
height: auto;
margin: 0 auto 18px;
filter: drop-shadow(
0 18px 30px rgba(0, 0, 0, 0.4)
);
}
.jh-icono-derrota {
display: none;
}
.jh-icono.mostrar-icono-derrota
.jh-logo-ganaste {
display: none;
}
.jh-icono.mostrar-icono-derrota
.jh-icono-derrota {
display: inline-flex;
align-items: center;
justify-content: center;
}
@media (max-width: 680px) {
.jh-logo-ganaste {
width: min(100%, 290px);
}
} .jh-icono.mostrar-logo-ganaste {
width: min(100%, 400px);
height: auto;
margin: 0 auto;
padding: 0;
background: transparent;
border-radius: 0;
} .jh-icono.mostrar-logo-ganaste .jh-logo-ganaste {
display: block;
width: 100%;
max-width: 400px;
height: auto;
margin: 0 auto 18px;
}
.jh-icono.mostrar-logo-ganaste {
border: none;
}