:root {
  --ink: #1b1042;
  --ink-2: #4a3f6b;
  --cream: #fff8f0;
  --white: #fff;
  --pink: #ff3d8b;
  --pink-2: #ff9ec7;
  --turq: #00c2d1;
  --purple: #6d28d9;
  --yellow: #ffd166;
  --grad: linear-gradient(100deg, #ff3d8b 0%, #ff8a3d 45%, #ffd166 100%);
  --grad-hero: radial-gradient(1200px 700px at 80% 20%, #ff5fa2 0%, transparent 55%),
               radial-gradient(900px 700px at 10% 90%, #00c2d1 0%, transparent 60%),
               linear-gradient(160deg, #5b21d6 0%, #3b1aa8 50%, #1b1042 100%);
  --r: 32px;
  --shadow: 0 24px 60px -20px rgba(27, 16, 66, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, .btn, .chip, .marquee, .sticker, .tag, .soon { font-family: "Fredoka", "Nunito", sans-serif; }
h2 { font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.02; margin: .4rem 0 .6rem; letter-spacing: -.01em; font-weight: 700; }
section[id] { scroll-margin-top: 90px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-light { background: linear-gradient(100deg, #5ee0ec, #ffd166); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  padding: .8rem 1.4rem; border-radius: 999px; border: 0;
  transition: transform .2s cubic-bezier(.3,1.6,.5,1), box-shadow .2s;
}
.btn:hover { transform: translateY(-3px) scale(1.04); }
.btn:active { transform: scale(.97); }
.btn:focus-visible, .cast-card:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }
.btn-xl { font-size: 1.2rem; padding: 1rem 1.8rem; }
.btn-yt { background: var(--pink); color: #fff; box-shadow: 0 10px 30px -8px rgba(255, 61, 139, .7); }
.btn-glass { background: rgba(255,255,255,.16); color: #fff; border: 2px solid rgba(255,255,255,.5); backdrop-filter: blur(10px); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(27,16,66,.6); }
.play { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: rgba(255,255,255,.25); font-size: .75em; }

.chip {
  display: inline-block; font-weight: 600; font-size: .9rem; letter-spacing: .04em;
  padding: .4rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.18); color: #fff; border: 1.5px solid rgba(255,255,255,.4);
}
.chip-dark { background: #fff; color: var(--purple); border: 2px solid #eadfff; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .45rem .5rem .45rem 1rem;
  background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-radius: 999px; transition: background .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(255,255,255,.92); border-color: transparent; box-shadow: 0 12px 30px -16px rgba(27,16,66,.4); }
.nav-logo img { height: 52px; width: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.2)); }
.nav-links { display: flex; gap: .2rem; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 800; padding: .45rem .9rem; border-radius: 999px; transition: background .2s, color .2s; }
.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { background: rgba(255,255,255,.22); }
.nav.scrolled .nav-links a:hover { background: #f3ecff; }
.nav-cta { padding: .6rem 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: 100vh; min-height: 100svh;
  background: var(--grad-hero);
  display: flex; align-items: center;
  padding: 120px clamp(16px, 5vw, 64px) 140px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.o1 { width: 420px; height: 420px; background: #ffd166; top: -120px; left: 35%; }
.o2 { width: 360px; height: 360px; background: #00e5ff; bottom: -80px; right: 10%; animation-delay: -5s; }
.o3 { width: 300px; height: 300px; background: #ff3d8b; top: 30%; left: -100px; animation-delay: -9s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }

.bubbles span {
  position: absolute; bottom: -40px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.7), rgba(255,255,255,.05) 60%);
  animation: rise linear infinite;
}
@keyframes rise { to { transform: translateY(-115vh) translateX(30px); opacity: 0; } }

.hero-giant {
  position: absolute; right: -2vw; top: 50%; transform: translateY(-50%);
  font-family: "Fredoka", sans-serif; font-weight: 700; font-size: clamp(14rem, 34vw, 32rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 3px rgba(255,255,255,.14);
  pointer-events: none; user-select: none; letter-spacing: -.04em;
}

.hero-inner {
  position: relative; z-index: 2; width: min(1180px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2rem;
}
.hero-logo { width: clamp(180px, 22vw, 280px); margin: 0 0 1rem; filter: drop-shadow(0 14px 24px rgba(27,16,66,.45)); animation: bob 5s ease-in-out infinite; }
.hero h1 { font-size: clamp(3.4rem, 9vw, 7.2rem); line-height: .92; margin: 1rem 0 1.2rem; font-weight: 700; letter-spacing: -.02em; text-shadow: 0 8px 30px rgba(27,16,66,.35); }
.hero .grad { filter: drop-shadow(0 6px 0 rgba(27,16,66,.25)); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 34ch; color: rgba(255,255,255,.92); margin: 0 0 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 520px; }
.halo {
  position: absolute; width: min(480px, 90%); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, #ff3d8b, #ffd166, #00e5ff, #8b5cf6, #ff3d8b);
  filter: blur(4px); opacity: .9; animation: spin 18s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%, #000 70%, transparent 71%);
          mask: radial-gradient(circle, transparent 58%, #000 59%, #000 70%, transparent 71%);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-axo { position: relative; width: min(440px, 88%); filter: drop-shadow(0 40px 40px rgba(27,16,66,.45)); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-22px) rotate(2deg); } }
.hero-snail { position: absolute; width: 130px; bottom: 6%; left: 2%; filter: drop-shadow(0 16px 16px rgba(0,0,0,.35)); animation: float 6s ease-in-out infinite reverse; }
.sticker {
  position: absolute; font-weight: 700; font-size: 1.1rem; padding: .55rem 1.1rem; border-radius: 18px;
  background: #fff; color: var(--pink); box-shadow: 0 14px 30px -10px rgba(0,0,0,.4);
  animation: bob 4s ease-in-out infinite;
}
.s1 { top: 10%; right: 0; transform: rotate(8deg); }
.s2 { bottom: 22%; right: 4%; color: var(--purple); background: #ffd166; animation-delay: -2s; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 110px; fill: var(--ink); z-index: 3; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 1rem 0 1.4rem; }
.marquee-track { display: flex; width: max-content; gap: 1.6rem; align-items: center; animation: slide 28s linear infinite; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; }
.marquee-track span:nth-of-type(3n+1) { color: var(--pink-2); }
.marquee-track span:nth-of-type(3n+2) { color: #5ee0ec; }
.marquee-track span:nth-of-type(3n) { color: var(--yellow); }
.marquee i { font-style: normal; color: rgba(255,255,255,.4); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) clamp(16px, 5vw, 64px); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.sec-head p { color: var(--ink-2); font-size: 1.15rem; margin: 0; }
.center { text-align: center; margin: 3rem 0 0; }

/* ---------- Familia ---------- */
.cast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5rem 1.6rem; max-width: 1180px; margin: 0 auto; padding-top: 3rem; }
.cast-card {
  position: relative; border: 0; cursor: pointer; text-align: left; font: inherit; color: #fff;
  min-height: 340px; border-radius: var(--r); padding: 1.6rem;
  background: linear-gradient(155deg, var(--c2), var(--c1));
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .35s cubic-bezier(.3,1.5,.5,1), box-shadow .35s;
  isolation: isolate; overflow: visible;
}
.cast-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.45), transparent 50%),
              repeating-radial-gradient(circle at 100% 0, rgba(255,255,255,.08) 0 10px, transparent 10px 24px);
}
.cast-card img {
  position: absolute; right: 4%; bottom: 36%; height: 92%; width: auto; max-width: none;
  object-fit: contain; object-position: bottom right;
  filter: drop-shadow(0 18px 20px rgba(27,16,66,.35));
  transition: transform .4s cubic-bezier(.3,1.5,.5,1);
  transform-origin: bottom center; pointer-events: none;
}
.cast-card[data-id="don-lento"] img { height: 74%; bottom: 38%; }
.cast-card[data-id="lola"] img { height: 74%; }
.cast-card:hover { transform: translateY(-10px) rotate(-1.2deg); box-shadow: 0 34px 70px -24px rgba(27,16,66,.55); }
.cast-card:hover img { transform: scale(1.08) rotate(3deg); }
.cast-info { position: relative; display: flex; flex-direction: column; }
.cast-info strong { font-family: "Fredoka", sans-serif; font-size: 2.1rem; line-height: 1; text-shadow: 0 3px 0 rgba(27,16,66,.15); }
.cast-info em { font-style: normal; font-weight: 800; opacity: .92; }
.cast-quote {
  position: relative; align-self: flex-start; margin-top: .8rem;
  font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1rem;
  background: rgba(255,255,255,.95); color: var(--c1); padding: .35rem .9rem; border-radius: 14px 14px 14px 4px;
}

/* ---------- Episodios ---------- */
.dark { background: var(--ink); color: #fff; overflow: hidden; }
.dark .sec-head p { color: rgba(255,255,255,.75); }
.dark-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.45), transparent 65%); top: -200px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.eps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 1180px; margin: 0 auto; }
.ep { background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12); border-radius: var(--r); overflow: hidden; transition: transform .3s, border-color .3s; }
.ep:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.35); }
.ep-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #00c2d1, #6d28d9); }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ep:hover .ep-thumb img { transform: scale(1.07); }
.ep-play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--pink); font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transform: scale(.85); opacity: 0; transition: .3s;
}
.ep:hover .ep-play { opacity: 1; transform: scale(1); }
.ep-soon { display: grid; place-items: center; }
.ep-emoji { font-size: 4rem; filter: drop-shadow(0 8px 10px rgba(0,0,0,.3)); }
.ep-body { padding: 1.3rem 1.5rem 1.7rem; }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--yellow); }
.ep h3 { font-size: 1.6rem; margin: .3rem 0 .4rem; }
.ep p { margin: 0; color: rgba(255,255,255,.78); }

/* ---------- Dato curioso ---------- */
.fact-sec { background: linear-gradient(135deg, #ffd166 0%, #ffb347 100%); }
.fact-wrap { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; align-items: end; gap: 1.5rem; }
.fact-lupe { width: 100%; filter: drop-shadow(0 24px 24px rgba(120,60,0,.35)); animation: float 6s ease-in-out infinite; }
.bubble {
  position: relative; background: #fff; border-radius: 36px; padding: 2.2rem 2.4rem; margin-bottom: 4rem;
  box-shadow: 0 30px 60px -24px rgba(120,60,0,.5);
}
.bubble::before { content: ""; position: absolute; left: -22px; bottom: 40px; border: 22px solid transparent; border-right-color: #fff; border-left: 0; }
.bubble-label { font-family: "Fredoka", sans-serif; font-weight: 700; color: #e07b00; font-size: 1.5rem; }
#fact-text { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; margin: .4rem 0 1.6rem; min-height: 3.8em; transition: opacity .25s, transform .25s; }
#fact-text.swap { opacity: 0; transform: translateY(8px); }
.fact-row { display: flex; align-items: center; gap: 1rem; }
.fact-count { font-weight: 800; color: var(--ink-2); }

/* ---------- Tienda ---------- */
.shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 1100px; margin: 0 auto; }
.shop-card {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 2.2rem 1.8rem; color: var(--ink);
  background: linear-gradient(160deg, var(--c1), var(--c2)); box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.3,1.5,.5,1);
}
.shop-card:hover { transform: translateY(-8px) rotate(1deg); }
.shop-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.25); right: -70px; top: -70px; }
.shop-ico { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: rgba(255,255,255,.85); font-size: 2.4rem; box-shadow: 0 10px 20px -8px rgba(0,0,0,.25); }
.shop-card h3 { font-size: 1.7rem; margin: 1rem 0 .3rem; }
.shop-card p { margin: 0 0 1.2rem; font-weight: 700; }
.soon { display: inline-block; background: var(--ink); color: #fff; padding: .35rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }

/* ---------- Papás ---------- */
.parents-sec { background: #f3ecff; }
.parents { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.parents h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.parents p { color: var(--ink-2); font-size: 1.15rem; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.values li { display: flex; align-items: center; gap: 1rem; background: #fff; padding: 1.1rem 1.3rem; border-radius: 22px; font-weight: 800; box-shadow: 0 12px 30px -18px rgba(27,16,66,.4); }
.values li span { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: #f3ecff; font-size: 1.6rem; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); color: rgba(255,255,255,.85); text-align: center; padding: 6rem 16px 2.5rem; overflow: hidden; }
.foot-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 80px; fill: #f3ecff; }
.foot-logo { width: 240px; margin: 0 auto 1rem; }
.foot-cast { display: flex; justify-content: center; align-items: flex-end; gap: .4rem; margin: 0 auto 1.5rem; }
.foot-cast img { height: 90px; width: auto; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.foot-cast img:hover { transform: translateY(-12px) scale(1.1); }
.footer p { margin: .3rem 0; }
.footer a { color: var(--yellow); font-weight: 800; }
.small { font-size: .85rem; opacity: .6; }

/* ---------- Ficha ---------- */
.ficha {
  width: min(860px, calc(100% - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 36px;
  overflow: auto; background: #fff; color: var(--ink); box-shadow: 0 40px 100px rgba(0,0,0,.4);
}
.ficha[open] { display: grid; grid-template-columns: 320px 1fr; animation: pop .35s cubic-bezier(.3,1.5,.5,1); }
.ficha::backdrop { background: rgba(27,16,66,.6); backdrop-filter: blur(6px); }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }
.ficha-art { background: linear-gradient(160deg, var(--c2, #ff9ec7), var(--c1, #ff3d8b)); display: grid; place-items: end center; padding: 2rem 1rem 0; }
.ficha-art img { max-height: 520px; width: 92%; object-fit: contain; filter: drop-shadow(0 20px 20px rgba(0,0,0,.3)); }
.ficha-body { padding: 2.2rem 2.2rem 2rem; }
.ficha-body h3 { font-size: 2.6rem; margin: 0; line-height: 1; color: var(--c1, var(--pink)); }
.ficha-role { font-weight: 800; color: var(--ink-2); margin: .3rem 0 1.2rem; }
.ficha-block { margin-bottom: 1rem; }
.ficha-block h4 { margin: 0 0 .2rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c1, var(--pink)); }
.ficha-block p { margin: 0; }
.ficha-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 1.1rem; transition: transform .2s;
}
.ficha-close:hover { transform: rotate(90deg); }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.9,.3,1.2); }
.reveal.in { opacity: 1; transform: none; }
.cast .reveal:nth-child(3n+2), .eps .reveal:nth-child(2), .shop .reveal:nth-child(2) { transition-delay: .1s; }
.cast .reveal:nth-child(3n), .eps .reveal:nth-child(3), .shop .reveal:nth-child(3) { transition-delay: .2s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-art { order: -1; min-height: 360px; }
  .hero-axo { width: min(320px, 75%); }
  .halo { width: min(360px, 90%); }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-logo { margin: 0 auto 1rem; }
  .hero-ctas { justify-content: center; }
  .hero-giant { top: 28%; right: 50%; transform: translate(50%, -50%); font-size: 52vw; }
  .cast, .eps, .shop { grid-template-columns: repeat(2, 1fr); }
  .parents { grid-template-columns: 1fr; }
  .fact-wrap { grid-template-columns: 200px 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .nav { top: 8px; }
  .nav-logo img { height: 42px; }
  .hero { padding-top: 96px; padding-bottom: 120px; }
  .hero-snail { width: 90px; }
  .sticker { font-size: .9rem; }
  .cast { grid-template-columns: 1fr; gap: 7rem; padding-top: 5rem; }
  .cast-card { min-height: 280px; }
  .eps, .shop { grid-template-columns: 1fr; }
  .fact-wrap { grid-template-columns: 1fr; justify-items: center; }
  .fact-lupe { width: 180px; }
  .bubble { margin-bottom: 0; padding: 1.8rem 1.5rem; }
  .bubble::before { left: 50%; top: -22px; bottom: auto; transform: translateX(-50%); border: 22px solid transparent; border-bottom-color: #fff; border-top: 0; }
  .foot-cast img { height: 56px; }
  .ficha[open] { grid-template-columns: 1fr; }
  .ficha-art img { max-height: 240px; }
  .ficha-body { padding: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Juego ---------- */
.game-sec { background: radial-gradient(900px 500px at 85% 15%, rgba(255,209,102,.55) 0%, transparent 60%), radial-gradient(800px 600px at 5% 95%, rgba(0,194,209,.35) 0%, transparent 60%), linear-gradient(160deg, #fff1e0 0%, #ffe3ef 100%); overflow: hidden; }
.game-wrap { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.game-copy .chip { background: var(--pink); color: #fff; }
.game-lead { font-size: 1.2rem; color: var(--ink-2); margin: 0 0 1.2rem; max-width: 34ch; }
.game-feats { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .6rem; }
.game-feats li { position: relative; padding-left: 2rem; font-weight: 700; }
.game-feats li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--pink); font-size: 1.2rem; }
.game-feats b { color: var(--purple); }
.btn-play { background: var(--grad); color: #1b1042; font-size: 1.5rem; padding: 1.1rem 2.4rem; box-shadow: 0 14px 34px -10px rgba(255, 61, 139, .75); animation: playPulse 2.2s ease-in-out infinite; }
@keyframes playPulse { 0%, 100% { box-shadow: 0 14px 34px -10px rgba(255,61,139,.75); } 50% { box-shadow: 0 14px 44px -6px rgba(255,138,61,.95); } }
.game-shot { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow), 0 0 0 10px rgba(255,61,139,.15); transform: rotate(1.5deg); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.game-shot:hover { transform: rotate(0) scale(1.02); }
.game-shot:focus-visible { outline: 4px solid var(--yellow); outline-offset: 6px; }
.game-shot picture { display: block; }
.game-shot img { width: 100%; height: auto; aspect-ratio: 1440 / 840; object-fit: cover; }
.game-badge { position: absolute; left: 16px; bottom: 16px; font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1.1rem; background: #fff; color: var(--pink); padding: .4rem 1rem; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(27,16,66,.4); }
.game-playbtn { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: rgba(255,61,139,.92); color: #fff; display: grid; place-items: center; font-size: 2.2rem; padding-left: 6px; box-shadow: 0 10px 30px -6px rgba(27,16,66,.5); transition: transform .25s; }
.game-shot:hover .game-playbtn { transform: scale(1.12); }
@media (max-width: 980px) {
  .game-wrap { grid-template-columns: 1fr; }
  .game-shot { order: -1; transform: none; }
  .game-copy { text-align: center; }
  .game-lead { margin-left: auto; margin-right: auto; }
  .game-feats { justify-items: start; max-width: 30rem; margin-left: auto; margin-right: auto; text-align: left; }
}
@media (max-width: 640px) {
  .btn-play { font-size: 1.3rem; width: 100%; justify-content: center; }
  .game-playbtn { width: 64px; height: 64px; margin: 0; left: auto; top: auto; right: 12px; bottom: 12px; font-size: 1.5rem; }
  .game-shot { max-width: 420px; margin: 0 auto; border-width: 4px; }
  .game-shot img { aspect-ratio: 840 / 900; }
  .game-badge { font-size: .95rem; left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .btn-play { animation: none; } .game-shot { transform: none; } }

/* ---------- Redes sociales ---------- */
.soc-yt { --soc: #ff0033; --soc-bg: #ff0033; }
.soc-fb { --soc: #1877f2; --soc-bg: #1877f2; }
.soc-ig { --soc: #e1306c; --soc-bg: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%); }
.nav-social { display: flex; gap: .5rem; }
.soc-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--soc-bg); color: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); transition: transform .2s cubic-bezier(.3,1.6,.5,1); }
.soc-ico svg { width: 22px; height: 22px; }
.soc-ico:hover { transform: translateY(-3px) scale(1.1); }
.soc-ico:focus-visible, .soc-card:focus-visible, .soc-pill:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }
.social-sec { background: radial-gradient(700px 400px at 10% 10%, rgba(255,61,139,.18) 0%, transparent 60%), radial-gradient(700px 400px at 90% 90%, rgba(0,194,209,.18) 0%, transparent 60%), #fff; text-align: center; }
.social-sec .section-lead { max-width: 46ch; margin-left: auto; margin-right: auto; }
.soc-grid { max-width: 1080px; margin: 2.2rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.soc-card { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-decoration: none; color: #fff; background: var(--soc-bg); border-radius: var(--r); padding: 2rem 1.2rem 1.6rem; box-shadow: 0 22px 40px -18px var(--soc); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.soc-card:hover { transform: translateY(-8px) rotate(-1deg); }
.soc-big { width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; margin-bottom: .4rem; }
.soc-big svg { width: 46px; height: 46px; }
.soc-name { font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1.8rem; line-height: 1.1; }
.soc-handle { font-weight: 700; opacity: .9; }
.soc-go { margin-top: .8rem; background: #fff; color: var(--ink); font-weight: 800; padding: .6rem 1.4rem; border-radius: 999px; }
.foot-social { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin: 1rem 0 1.2rem; }
.footer a.soc-pill { display: inline-flex; align-items: center; gap: .5rem; color: #fff; background: var(--soc-bg); text-decoration: none; font-weight: 800; padding: .7rem 1.3rem; border-radius: 999px; transition: transform .2s; }
.soc-pill svg { width: 22px; height: 22px; }
.soc-pill:hover { transform: translateY(-3px); }
@media (max-width: 860px) { .soc-grid { grid-template-columns: 1fr; max-width: 420px; } .soc-card { flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 1.2rem; text-align: left; } .soc-big { width: 60px; height: 60px; margin: 0; } .soc-big svg { width: 32px; height: 32px; } .soc-name { font-size: 1.4rem; } .soc-go { margin-top: .3rem; } }
@media (max-width: 640px) { .soc-ico { width: 38px; height: 38px; } .soc-ico svg { width: 19px; height: 19px; } .nav-social { gap: .35rem; } }

/* ---------- Aviso de medición ---------- */
.aviso-medicion { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 22px; padding: 1.1rem 1.2rem; box-shadow: 0 20px 50px -14px rgba(27,16,66,.55); border: 3px solid var(--pink-2); font-size: .98rem; }
.aviso-medicion p { margin: 0 0 .8rem; }
.aviso-medicion a { color: var(--pink); font-weight: 800; }
.aviso-btns { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }
.aviso-btns button { font: inherit; font-weight: 800; border: 0; border-radius: 999px; padding: .6rem 1.2rem; cursor: pointer; }
.aviso-btns [data-v="no"] { background: #f3ecff; color: var(--ink); }
.aviso-btns [data-v="si"] { background: var(--pink); color: #fff; }
.aviso-btns button:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; }

/* Muestra: ficha con personaje en close up */
.ficha-art { position: relative; overflow: hidden; padding: 0; min-height: 100%; }
.ficha-art img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 50% 0; transform: scale(1.2); transform-origin: 50% 0; filter: drop-shadow(0 20px 20px rgba(0,0,0,.25)); }
.ficha-art img[src$="cast/axo.webp"] { object-position: 54% 0; }
.ficha-art img[src$="cast/papa-beto.webp"] { object-position: 22% 0; }
.ficha-art img[src$="cast/abuela-chela.webp"] { object-position: 62% 0; }
.ficha-art img[src$="cast/don-lento.webp"] { object-position: 100% 0; }
@media (max-width: 860px) { .ficha-art { height: 320px; } .ficha-art img { max-height: none; } }
.cast-card[data-id="papa-beto"] { z-index: 2; }
.cast-card[data-id="papa-beto"] img { right: -16%; }
.ficha-art img[src$="cast/lola.webp"] { transform: scale(1.05); }
.ficha-art img[src$="cast/don-lento.webp"] { object-fit: contain; object-position: 50% 100%; transform: scale(0.94); transform-origin: 50% 100%; }
