@font-face { font-family: 'Bowlby One'; font-weight: 400; font-display: swap; src: url(fuentes/bowlby-one-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Rubik; font-weight: 400; font-display: swap; src: url(fuentes/rubik-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Rubik; font-weight: 600; font-display: swap; src: url(fuentes/rubik-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Rubik; font-weight: 800; font-display: swap; src: url(fuentes/rubik-latin-800-normal.woff2) format('woff2'); }
:root {
  --azul: #1F4FD8; --noche: #0E2463; --rojo: #C42A36; --maiz: #FFC93C; --tinta: #14213D; --crema: #FFF6E5; --verde: #2E7D4F;
  font-family: Rubik, system-ui, sans-serif; color: var(--tinta); -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--crema); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.contenedor { width: min(1120px, 100% - 40px); margin: 0 auto; }
.titular { font-family: 'Bowlby One', sans-serif; font-weight: 400; line-height: 1.05; margin: 0; }

/* Barra */
.barra { position: sticky; top: 0; z-index: 10; background: rgba(14,36,99,.92); backdrop-filter: blur(8px); color: #fff; border-bottom: 3px solid var(--maiz); }
.barra .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Bowlby One', sans-serif; font-size: 20px; }
.marca img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--tinta); }
.menu { display: flex; gap: 22px; font-weight: 700; font-size: 15px; }
.menu a { text-decoration: none; opacity: .9; }
.menu a:hover { opacity: 1; color: var(--maiz); }
@media (max-width: 720px) { .menu { display: none; } }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  border: 3px solid var(--tinta); background: var(--rojo); color: #fff; font-family: 'Bowlby One', sans-serif; font-size: 18px; text-decoration: none;
  box-shadow: 0 5px 0 var(--tinta); cursor: pointer; transition: transform .1s, box-shadow .1s; }
.boton:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--tinta); }
.boton.amarillo { background: var(--maiz); color: var(--tinta); }
.boton.chico { min-height: 42px; font-size: 15px; padding: 0 18px; box-shadow: 0 3px 0 var(--tinta); }

/* Héroe */
.heroe { position: relative; overflow: hidden; color: #fff; background: var(--noche); }
.heroe-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.heroe::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,36,99,.95) 0%, rgba(14,36,99,.75) 45%, rgba(14,36,99,.1) 100%); }
.heroe .contenedor { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 20px; min-height: min(86vh, 720px); padding-top: 40px; }
.heroe-texto { position: relative; z-index: 2; align-self: center; padding-bottom: 40px; }
.etiqueta { display: inline-block; background: var(--maiz); color: var(--tinta); font-weight: 800; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 8px; border: 2px solid var(--tinta); }
.heroe h1 { font-size: clamp(40px, 6vw, 72px); margin: 16px 0 12px; text-shadow: 0 4px 0 var(--tinta); }
.heroe h1 span { color: var(--maiz); }
.heroe p.sub { font-size: clamp(17px, 2vw, 20px); max-width: 520px; margin: 0 0 24px; color: #E3EAFF; }
.espera { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.espera input { flex: 1 1 220px; min-height: 52px; border-radius: 999px; border: 3px solid var(--tinta); padding: 0 20px; font: inherit; font-size: 16px; }
.espera-nota { margin: 10px 0 0; font-size: 14px; color: #C9D4F2; min-height: 21px; }
.espera-nota.ok { color: var(--maiz); font-weight: 700; }
.heroe-personajes { position: relative; height: min(70vh, 600px); }
.heroe-personajes img { position: absolute; bottom: 0; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.hp-lucho { right: 46%; height: 78% !important; }
.hp-veci { right: 14%; height: 92% !important; z-index: 1; }
.hp-pana { right: -8%; height: 76% !important; }
@media (max-width: 860px) {
  .heroe .contenedor { grid-template-columns: 1fr; min-height: 0; }
  .heroe::after { background: linear-gradient(180deg, rgba(14,36,99,.92) 0%, rgba(14,36,99,.7) 60%, rgba(14,36,99,.3) 100%); }
  .heroe-personajes { height: 320px; }
}

/* Secciones */
section.bloque { padding: 72px 0; }
.bloque h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.bloque .intro { font-size: 18px; max-width: 640px; margin: 0 0 32px; color: #3B4663; }
.rejilla { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tarjeta { background: #fff; border: 3px solid var(--tinta); border-radius: 20px; padding: 22px; box-shadow: 0 6px 0 var(--tinta); }
.tarjeta h3 { margin: 0 0 6px; font-size: 20px; }
.tarjeta p { margin: 0; color: #3B4663; }
.puntos { display: inline-block; font-family: 'Bowlby One', sans-serif; font-size: 28px; color: var(--rojo); margin-bottom: 4px; }
.azul { background: var(--azul); color: #fff; }
.azul .intro { color: #DCE6FF; }
.personaje { background: radial-gradient(circle at 50% 30%, #FFF6E5, #F3D9A8); border: 3px solid var(--tinta); border-radius: 22px; overflow: hidden;
  box-shadow: 0 6px 0 var(--tinta); color: var(--tinta); display: flex; flex-direction: column; }
.personaje img { height: 240px; width: 100%; object-fit: contain; object-position: bottom; margin-top: 12px; }
.personaje div { background: #fff; border-top: 3px solid var(--tinta); padding: 14px 16px; }
.personaje h3 { margin: 0; font-size: 19px; }
.personaje small { display: block; color: var(--rojo); font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.personaje p { margin: 6px 0 0; font-size: 14.5px; color: #3B4663; }
.copa { position: relative; overflow: hidden; border-radius: 28px; border: 4px solid var(--tinta); box-shadow: 0 8px 0 var(--tinta); color: #fff; }
.copa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.copa-capa { position: relative; padding: clamp(28px, 5vw, 56px); background: linear-gradient(90deg, rgba(14,36,99,.95), rgba(14,36,99,.6)); }
.copa h2 { color: var(--maiz); text-shadow: 0 3px 0 var(--tinta); }
.copa ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; max-width: 560px; }
.copa li { background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.25); border-radius: 14px; padding: 10px 14px; }
.copa li b { color: var(--maiz); }
.preguntas details { background: #fff; border: 3px solid var(--tinta); border-radius: 16px; padding: 4px 18px; margin-bottom: 12px; }
.preguntas summary { cursor: pointer; font-weight: 800; font-size: 17px; padding: 12px 0; }
.preguntas details p { margin: 0 0 14px; color: #3B4663; }
footer { background: var(--tinta); color: #C9D4F2; padding: 36px 0; font-size: 14px; }
footer .contenedor { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
footer a { color: #fff; }

/* Texto legal */
.legal { padding: 48px 0 72px; }
.legal .contenedor { max-width: 760px; }
.legal h1 { font-size: 38px; margin-bottom: 8px; }
.legal h2 { font-size: 21px; margin: 28px 0 8px; }
.legal p, .legal li { color: #2B3550; }

/* Funcionalidades */
.funcs .func { background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.3); border-radius: 18px; padding: 18px; }
.func-ico { font-size: 30px; display: block; margin-bottom: 4px; }
.func h3 { margin: 0 0 4px; font-size: 19px; color: var(--maiz); }
.func p { margin: 0; color: #E3EAFF; font-size: 15px; }

/* Packs de personajes */
.packs-web { display: grid; gap: 18px; margin-top: 28px; }
.pack-web { min-width: 0; background: #fff; border: 3px solid var(--tinta); border-radius: 20px; padding: 16px 18px; box-shadow: 0 5px 0 var(--tinta); }
.pack-web h3 { margin: 0 0 10px; font-size: 20px; display: flex; justify-content: space-between; gap: 10px; }
.pack-web h3 span { background: var(--maiz); border: 2px solid var(--tinta); border-radius: 999px; padding: 0 12px; font-size: 15px; }
.caras { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.caras figure { margin: 0; flex: 0 0 104px; text-align: center; }
.caras img { width: 104px; height: 104px; object-fit: cover; object-position: 50% 0; border-radius: 50%; border: 3px solid var(--tinta); background: radial-gradient(circle at 50% 35%, #fff, #F3D9A8); }
.caras figcaption { font-size: 13px; font-weight: 700; margin-top: 4px; line-height: 1.2; }
.nota-web { color: #3B4663; font-size: 15px; margin: 16px 0 0; }

/* Mesas */
.crema-oscuro { background: #F6E7C8; }
.mesas-web { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mesa-web { margin: 0; background: #fff; border: 3px solid var(--tinta); border-radius: 18px; overflow: hidden; box-shadow: 0 5px 0 var(--tinta); }
.mesa-web img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mesa-web figcaption { padding: 10px 14px; border-top: 3px solid var(--tinta); }
.mesa-web b { display: block; font-size: 16px; }
.mesa-web small { color: #3B4663; font-size: 13px; }

/* Copa */
.copa-nota { font-size: 13px; color: #C9D4F2; margin: 16px 0 0; max-width: 560px; }

/* Redes */
.redes { display: flex; flex-wrap: wrap; gap: 12px; }
.redes a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 3px solid var(--tinta); background: #fff; color: var(--tinta); font-weight: 800; text-decoration: none; box-shadow: 0 4px 0 var(--tinta); }
.redes svg { width: 22px; height: 22px; }
.redes-heroe { margin-top: 18px; }
.redes-heroe a { min-height: 40px; padding: 0 14px; font-size: 14px; }
.redes-pie a { min-height: 38px; padding: 0 12px; box-shadow: none; border-width: 2px; font-size: 13px; }

/* Pie */
footer .contenedor { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.pie-col { display: flex; flex-direction: column; gap: 8px; }
.pie-col b { color: #fff; font-family: 'Bowlby One', sans-serif; font-weight: 400; font-size: 20px; }
.pie-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: 12.5px; color: #9FB0D9; }
.pie-legal p { margin: 0 0 8px; }
.pie-legal b { color: #fff; }
@media (max-width: 720px) { footer .contenedor { grid-template-columns: 1fr; } }

/* Packs (ejemplos) */
.sub-titular { font-family: 'Bowlby One', sans-serif; font-weight: 400; font-size: 26px; margin: 40px 0 16px; }
.packs-ej { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pack-ej { min-width: 0; background: #fff; border: 3px solid var(--tinta); border-radius: 20px; padding: 18px; box-shadow: 0 6px 0 var(--tinta); }
.pack-ej h3 { margin: 14px 0 6px; font-size: 20px; }
.pack-ej p { margin: 0; color: #3B4663; font-size: 15px; }
.ej-caras { display: flex; height: 96px; }
.ej-caras img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: 50% 0; border: 3px solid var(--tinta); margin-right: -18px; background: radial-gradient(circle at 50% 35%, #fff, #F3D9A8); }
.ej-mesas { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; height: 96px; }
.ej-mesas img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 2px solid var(--tinta); }
.ej-frases { display: flex; flex-direction: column; gap: 6px; height: 96px; justify-content: center; align-items: flex-start; }
.ej-frases span { background: var(--maiz); border: 2px solid var(--tinta); border-radius: 14px 14px 14px 4px; padding: 3px 12px; font-weight: 800; font-size: 14px; }
.ej-frases span:nth-child(2) { margin-left: 30px; background: #fff; }
