:root {
  --cielo: #8fc8f2;
  --cesped: #6fb85a;
  --marino: #1d2250;
  --amarillo: #ffd23a;
  --rojo: #e03a3a;
  --verde: #3fcf5a;
  --azul: #2f6fe0;
  --morado: #a259ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  color: var(--marino);
  background: linear-gradient(var(--cielo) 0, #b9ddf6 520px, #e9f6ff 100%);
  overflow-x: hidden;
  line-height: 1.25;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }

/* ---------- barra ---------- */
.barra {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 16px;
  padding: 10px clamp(12px, 4vw, 40px);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 5px solid var(--marino);
}
.logo { text-decoration: none; font-size: clamp(18px, 3.2vw, 26px); color: var(--rojo); white-space: nowrap; }
.logo span { color: var(--marino); }
.barra nav { display: flex; gap: clamp(10px, 2.4vw, 26px); margin-left: auto; font-size: clamp(15px, 2.4vw, 20px); }
.barra nav a { text-decoration: none; }
.barra nav a:hover { color: var(--rojo); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; color: #fff; cursor: pointer;
  border: 5px solid #fff; border-radius: 999px;
  padding: 8px 22px 12px; font-size: 20px; line-height: 1;
  box-shadow: 0 8px 0 rgba(0,0,0,.35), 0 0 0 4px var(--marino);
  text-shadow: 0 3px 0 rgba(0,0,0,.25);
  transition: transform .12s ease, box-shadow .12s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn:active { transform: translateY(4px); box-shadow: 0 3px 0 rgba(0,0,0,.35), 0 0 0 4px var(--marino); }
.btn.grande { font-size: clamp(22px, 4.6vw, 34px); padding: 12px 30px 18px; }
.btn.pequeno { font-size: 16px; padding: 5px 16px 8px; margin-left: 4px; }
.btn.jugar { background: var(--verde); }
.btn.ig { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }
.btn.tt { background: #111; }
.btn.apagado { background: #9aa3b8; cursor: not-allowed; pointer-events: none; }
.botones { display: flex; flex-wrap: wrap; gap: 20px 22px; margin: 26px 0 8px; }
.botones.centro { justify-content: center; }

/* ---------- portada ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
  max-width: 1200px; margin: 0 auto; padding: clamp(24px, 5vw, 60px) clamp(14px, 4vw, 40px) 30px;
}
.etiqueta { display: inline-block; margin: 0 0 12px; background: var(--rojo); color: #fff; border: 4px solid #fff; border-radius: 14px; padding: 4px 14px 7px; font-size: clamp(13px, 2.4vw, 17px); transform: rotate(-2deg); box-shadow: 0 5px 0 rgba(0,0,0,.3); }
.hero h1 {
  font-size: clamp(46px, 9vw, 104px); line-height: .95; color: #fff;
  -webkit-text-stroke: clamp(6px, 1vw, 12px) #000; paint-order: stroke fill; text-shadow: 0 8px 0 rgba(0,0,0,.35);
}
.hero h1 span { color: var(--amarillo); font-size: .62em; display: inline-block; margin-top: 6px; }
.lema { font-size: clamp(19px, 3.2vw, 26px); max-width: 560px; margin: 18px 0 0; }
.pegatinas { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pegatinas li { color: #fff; border: 4px solid #fff; border-radius: 16px; padding: 3px 14px 7px; font-size: clamp(14px, 2.6vw, 18px); box-shadow: 0 5px 0 rgba(0,0,0,.3); }
.pegatinas li:nth-child(1) { background: var(--verde); transform: rotate(-2deg); }
.pegatinas li:nth-child(2) { background: var(--azul); transform: rotate(1.5deg); }
.pegatinas li:nth-child(3) { background: var(--morado); transform: rotate(-1deg); }
.hero-img img { width: 100%; border: 8px solid #fff; border-radius: 30px; box-shadow: 0 16px 0 rgba(0,0,0,.28); transform: rotate(1.6deg); display: block; }

/* ---------- bloques ---------- */
.bloque { max-width: 1200px; margin: 0 auto; padding: clamp(34px, 6vw, 70px) clamp(14px, 4vw, 40px); }
.bloque.claro { max-width: none; background: rgba(255,255,255,.55); border-block: 6px solid var(--marino); }
.bloque.claro > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.bloque h2 { font-size: clamp(30px, 6vw, 56px); color: var(--marino); text-align: center; line-height: 1; }
.bloque h2 span { color: var(--rojo); }
.intro { text-align: center; font-size: clamp(17px, 2.8vw, 22px); max-width: 720px; margin: 16px auto 28px; }

.tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 26px; }
.tarjeta { background: #fff; border: 6px solid var(--marino); border-radius: 28px; padding: 22px 20px 26px; text-align: center; box-shadow: 0 10px 0 rgba(0,0,0,.25); }
.tarjeta:nth-child(odd) { transform: rotate(-1deg); }
.tarjeta:nth-child(even) { transform: rotate(1deg); }
.tarjeta h3 { font-size: 26px; margin: 10px 0 6px; color: var(--rojo); }
.tarjeta p { margin: 0; font-size: 18px; }

.galeria { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 26px; }
.galeria figure { margin: 0; background: #fff; border: 6px solid var(--marino); border-radius: 24px; overflow: hidden; box-shadow: 0 10px 0 rgba(0,0,0,.25); }
.galeria img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.galeria figcaption { padding: 10px 14px 14px; font-size: 17px; }

.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; justify-items: center; }
.video { width: 100%; max-width: 380px; background: #fff; border: 6px solid var(--marino); border-radius: 26px; padding: 12px; box-shadow: 0 10px 0 rgba(0,0,0,.25); text-align: center; }
.video h3 { font-size: 22px; margin: 0 0 10px; color: var(--rojo); }
.video iframe { width: 100%; height: 640px; border: 0; border-radius: 14px; background: #f4f4f4; }
.video a { display: inline-block; margin-top: 10px; font-size: 18px; color: var(--azul); }

.juegos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; margin-top: 26px; }
.juego { background: #fff; border: 6px solid var(--marino); border-radius: 30px; overflow: hidden; box-shadow: 0 12px 0 rgba(0,0,0,.28); display: flex; flex-direction: column; }
.juego img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.juego.pronto img { filter: grayscale(.65) brightness(.9); }
.juego .cuerpo { padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.juego h3 { font-size: 30px; color: var(--marino); }
.juego p { margin: 0; font-size: 18px; flex: 1; }
.juego .btn { align-self: flex-start; }
.insignia { align-self: flex-start; background: var(--amarillo); border: 3px solid var(--marino); border-radius: 12px; padding: 2px 12px 5px; font-size: 15px; }

.controles { margin-top: 34px; background: #fff; border: 6px solid var(--marino); border-radius: 26px; padding: 20px 22px; }
.controles h3 { font-size: 28px; color: var(--rojo); margin-bottom: 12px; }
.controles ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.controles li { display: flex; align-items: center; gap: 14px; font-size: 18px; }
.controles li img { flex: none; }

footer { text-align: center; padding: 26px clamp(14px, 4vw, 40px) 40px; font-size: 16px; background: var(--marino); color: #dfe6ff; border-top: 8px solid var(--rojo); }
footer p { max-width: 760px; margin: 8px auto; }
footer .pie { opacity: .75; font-size: 14px; }

/* ---------- móvil ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-texto { display: flex; flex-direction: column; align-items: center; }
  .hero-img { order: -1; }
  .hero-img img { transform: none; border-width: 6px; }
  .botones { justify-content: center; }
  .pegatinas { justify-content: center; }
  .barra nav { display: none; }
  .barra .btn { margin-left: auto; }
}
@media (max-width: 420px) {
  .btn.grande { width: 100%; }
  .video iframe { height: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
