:root {
  --ink: #0e0e16;
  --ink-2: #2a2a38;
  --muted: #5d5d70;
  --line: rgba(14, 14, 22, .08);
  --bg: #fbfbfd;
  --card: #ffffff;
  --c1: #00bdd8;
  --c2: #7c5bb2;
  --c3: #f90091;
  --grad: linear-gradient(90deg, var(--c1), var(--c2) 50%, var(--c3));
  --display: 'Archivo', 'Avenir Next Condensed', system-ui, sans-serif;
  --text: 'Inter', 'Avenir Next', system-ui, sans-serif;
  --r: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- luz de fondo: manchas de color y un haz prismático ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .22; }
.aurora .b1 { width: 46vw; height: 46vw; background: var(--c1); left: -12vw; top: 40vh; animation: drift1 26s ease-in-out infinite alternate; }
.aurora .b2 { width: 40vw; height: 40vw; background: var(--c2); right: -8vw; top: -10vh; animation: drift2 30s ease-in-out infinite alternate; }
.aurora .b3 { width: 34vw; height: 34vw; background: var(--c3); right: 10vw; bottom: -18vh; opacity: .14; animation: drift1 34s ease-in-out infinite alternate-reverse; }
.aurora .prism {
  border-radius: 0; width: 160vw; height: 22vh; left: -30vw; top: 22vh; opacity: .5; filter: blur(46px);
  background: linear-gradient(90deg, transparent 5%, rgba(0,189,216,.35) 28%, rgba(124,91,178,.30) 45%, rgba(249,0,145,.26) 60%, rgba(255,196,0,.18) 72%, transparent 90%);
  transform: rotate(-16deg); animation: prism 22s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(8vw, -6vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-6vw, 8vh) scale(.92); } }
@keyframes prism { from { transform: rotate(-16deg) translateX(-6vw); } to { transform: rotate(-12deg) translateX(6vw); } }

/* ---------- barra superior ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 20; width: min(1180px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 14px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 40px -18px rgba(20,20,40,.25);
  transition: top .4s var(--ease), padding .4s var(--ease), box-shadow .4s, background .4s;
}
.nav.scrolled { top: 8px; padding-block: 6px; background: rgba(255,255,255,.86); box-shadow: 0 14px 44px -18px rgba(20,20,40,.38); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-stretch: 85%; letter-spacing: .02em; font-size: 18px; }
.brand img { width: 34px; height: 34px; }
.brand b { font-weight: 800; }
.nav nav { display: flex; align-items: center; gap: 6px; }
.nav nav a { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .25s, color .25s; }
.nav nav a.on { background: rgba(14,14,22,.06); color: var(--ink); }
.nav nav a.on::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); }
.nav nav a.pill { transform: translate(var(--tx, 0px), var(--ty, 0px)); transition: background .25s, transform .35s var(--ease); }
.nav nav a:hover { background: rgba(14,14,22,.05); }
.nav nav a.pill { background: var(--ink); color: #fff; font-weight: 600; }
.nav nav a.pill:hover { background: #24243a; }

/* ---------- portada ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px max(28px, 6vw) 90px; overflow: hidden; }
#ribbon { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
#ribbon.ready { opacity: 1; }
@media (min-width: 900px) { #ribbon { filter: drop-shadow(0 34px 34px rgba(30, 24, 70, .16)); } }
.hero-veil { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 52% 60% at 18% 52%, rgba(251,251,253,.92) 0%, rgba(251,251,253,.6) 45%, rgba(251,251,253,0) 75%); }
.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.75); border: 1px solid var(--line); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 0 rgba(124,91,178,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(124,91,178,0); } 100% { box-shadow: 0 0 0 0 rgba(124,91,178,0); } }
h1 { margin: 0; font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 72%; line-height: .86; letter-spacing: -.01em; font-size: clamp(76px, 12.4vw, 190px); }
h1 span { display: block; }
h1 .l2 { padding-right: .08em; }
.lede { margin: 24px 0 30px; font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  transform: translate(var(--tx, 0px), calc(var(--ty, 0px) + var(--lift, 0px))); }
.btn.primary { color: #fff; background: var(--ink); box-shadow: 0 14px 30px -14px rgba(14,14,22,.6); position: relative; isolation: isolate; overflow: hidden; }
.btn.primary::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .4s; z-index: -1; }
.btn.primary:hover { --lift: -2px; box-shadow: 0 18px 36px -14px rgba(124,91,178,.7); }
.btn.primary:hover::before { opacity: 1; }
.btn.ghost { background: rgba(255,255,255,.7); border: 1px solid var(--line); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn.ghost:hover { --lift: -2px; background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.chips li { font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.6); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border-radius: 20px; border: 2px solid rgba(14,14,22,.25); transform: translateX(-50%); z-index: 2; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px; background: var(--ink); transform: translateX(-50%); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- cinta de palabras ---------- */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 34s linear infinite; }
.track span { font-family: var(--display); font-weight: 800; font-style: italic; font-stretch: 75%; font-size: clamp(30px, 4vw, 52px); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.track span:nth-child(4n+3) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.track i { width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; border-bottom: 19px solid var(--c2); transform: rotate(18deg); opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0 40px; }
.sec-head { margin-bottom: 44px; }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.kicker span { display: grid; place-items: center; min-width: 38px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--grad); color: #fff; letter-spacing: .04em; font-size: 13px; }
.kicker.light { color: rgba(255,255,255,.7); }
h2 { margin: 0; font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 74%; line-height: .95; font-size: clamp(44px, 6.4vw, 92px); letter-spacing: -.005em; }

.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }

/* ---------- tarjetas ---------- */
.card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 60px -40px rgba(20,20,50,.35);
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.card::after { /* borde degradado al pasar */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
a.card:hover { box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 40px 80px -36px rgba(80,50,140,.45); }
a.card:hover::after { opacity: 1; }
.glare { position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.55), rgba(255,255,255,0) 55%); mix-blend-mode: soft-light; }
a.card:hover .glare { opacity: 1; }
.media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.media.tall { aspect-ratio: 4 / 3.4; }
.media img { transition: transform .9s var(--ease); }
.media.cover img { width: 100%; height: 100%; object-fit: cover; }
a.card:hover .media img { transform: scale(1.045); }
.media.soft { background:
  radial-gradient(120% 90% at 30% 20%, #ffffff 0%, #eef0f6 55%, #e4e7f0 100%); }
.media.soft::before { content: ''; position: absolute; inset: 0; margin: auto; width: 60%; height: 60%; border-radius: 50%; background: var(--grad); filter: blur(60px); opacity: .22; }
.media.soft img { position: absolute; inset: 0; margin: auto; height: 84%; width: auto; max-width: 92%; object-fit: contain; z-index: 1; filter: drop-shadow(0 26px 28px rgba(20,20,50,.28)); }
.media.soft .ghost-img { height: 72%; transform: translateX(42%) rotate(9deg); opacity: .95; z-index: 0; filter: drop-shadow(0 20px 22px rgba(20,20,50,.2)); }
.media.soft img:first-child { transform: translateX(-14%); }
a.card:hover .media.soft img:first-child { transform: translateX(-14%) scale(1.045); }
a.card:hover .media.soft .ghost-img { transform: translateX(54%) rotate(13deg) scale(1.02); }
.body { position: relative; padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.body h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-style: italic; font-stretch: 80%; font-size: 30px; line-height: 1.05; }
.body p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--display); font-weight: 800; font-style: italic; font-stretch: 80%; font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price small { font-size: .55em; font-weight: 700; letter-spacing: .04em; -webkit-text-fill-color: var(--muted); color: var(--muted); }
.go { font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 999px; background: rgba(14,14,22,.05); transition: background .3s, color .3s; white-space: nowrap; }
.go b { display: inline-block; transition: transform .35s var(--ease); }
a.card:hover .go { background: var(--ink); color: #fff; }
a.card:hover .go b { transform: translateX(4px); }

/* tumblers: próximamente */
.card.wide { margin-top: 22px; flex-direction: row; align-items: stretch; }
.card.wide .media { flex: 1.05; aspect-ratio: auto; min-height: 380px; }
.card.wide .body { flex: 1; justify-content: center; padding: 40px 44px; }
.card.wide .body h3 { font-size: clamp(34px, 3.4vw, 50px); }
.stage { display: flex; align-items: flex-end; justify-content: center; gap: 6%; padding: 36px 30px 34px;
  background: radial-gradient(90% 80% at 50% 100%, rgba(124,91,178,.12), rgba(255,255,255,0) 70%), linear-gradient(180deg, #ffffff, #f4f5fa); }
.stage::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 30px; height: 2px; background: var(--grad); opacity: .35; border-radius: 2px; }
.stage img { position: relative; z-index: 1; mix-blend-mode: multiply; }
.stage .t40 { height: 300px; width: auto; }
.stage .t12 { height: 190px; width: auto; }
.badge { align-self: flex-start; margin-bottom: 14px; padding: 7px 14px; border-radius: 999px; color: #fff; background: var(--grad); font-family: var(--display); font-style: italic; font-weight: 800; font-stretch: 85%; letter-spacing: .04em; text-transform: uppercase; font-size: 15px; box-shadow: 0 10px 24px -10px rgba(249,0,145,.6); }
.note { font-size: 14px !important; font-weight: 600; color: var(--ink-2) !important; margin: 0 !important; }

/* pasos */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 28px 26px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 6px; }
.steps li::after { counter-increment: s; content: '0' counter(s); position: absolute; right: 22px; top: 18px; font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 70%; font-size: 46px; line-height: 1; color: rgba(14,14,22,.06); }
.steps b { font-size: 18px; }
.steps span:not(.ico) { color: var(--muted); font-size: 15.5px; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); margin-bottom: 10px; box-shadow: 0 12px 24px -12px rgba(124,91,178,.7); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* banda gamer */
.gamer { width: min(1180px, calc(100% - 40px)); margin: 110px auto 0; border-radius: 36px; overflow: hidden; position: relative;
  background: radial-gradient(70% 120% at 85% 120%, rgba(124,91,178,.65), transparent 60%), radial-gradient(50% 90% at 10% -10%, rgba(0,189,216,.35), transparent 60%), linear-gradient(180deg, #0a0a0f, #2c2c36); color: #fff; }
.gamer-in { padding: 64px clamp(28px, 5vw, 70px); }
.gamer h2 { font-size: clamp(36px, 4.8vw, 66px); margin-bottom: 30px; }
.btn.dark { background: #fff; color: var(--ink); }
.btn.dark:hover { color: #fff; }
.foot-site { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0 50px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.foot-site div { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.foot-site a:hover { color: var(--ink); }

/* aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal:not(.in) { transform: perspective(1100px) translateY(44px) rotateX(7deg) scale(.97); transform-origin: 50% 100%; }
.card.reveal.in { transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); }
.grid > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3) { transition-delay: .16s; }

/* sin WebGL: collage estático */
.no-webgl #ribbon { display: none; }
.no-webgl .hero { background: url(img/canvas_room.webp) right center / 52% auto no-repeat; }

/* ---------- accesibilidad y progreso ---------- */
.skip { position: fixed; left: 14px; top: -80px; z-index: 50; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; transition: top .2s; }
.skip:focus { top: 14px; }
:focus-visible { outline: 3px solid var(--c2); outline-offset: 3px; border-radius: 10px; }
a.card:focus-visible { outline-offset: 4px; border-radius: var(--r); }
.btn:focus-visible, .nav a:focus-visible { border-radius: 999px; }
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 40; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* ---------- portada: entrada del texto ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes lineup { from { clip-path: inset(-10% -5% 110% -5%); transform: translateY(.45em); } to { clip-path: inset(-10% -5% -25% -5%); transform: none; } }
@keyframes sheen { to { background-position: 100% 0; } }
.eyebrow { animation: rise .9s var(--ease) .05s both; }
h1 .l1 { animation: lineup 1.1s var(--ease) .12s both; }
h1 .l2 { width: fit-content; background-size: 135% 100%; animation: lineup 1.1s var(--ease) .28s both, sheen 6s ease-in-out 1.6s infinite alternate; }
.lede { animation: rise .9s var(--ease) .5s both; }
.cta-row { animation: rise .9s var(--ease) .6s both; }
.try { animation: rise .9s var(--ease) .7s both; }
.chips { animation: rise .9s var(--ease) .8s both; }

/* ---------- "pruébalo con tu foto" ---------- */
.try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; }
.try-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border-radius: 999px; cursor: pointer;
  font-size: 14.5px; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.72); border: 1.5px dashed rgba(124,91,178,.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, background .3s, box-shadow .3s; }
.try-btn:hover { background: #fff; border-color: var(--c3); box-shadow: 0 10px 26px -14px rgba(249,0,145,.6); }
.try-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.try-btn:focus-within { outline: 3px solid var(--c2); outline-offset: 3px; }
.try-btn svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--grad); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.try-next { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: #fff; background: var(--grad); box-shadow: 0 12px 26px -14px rgba(124,91,178,.8); animation: rise .6s var(--ease) both; }
.try-next[hidden] { display: none; }
.try-next:nth-of-type(2) { animation-delay: .08s; } .try-next:nth-of-type(3) { animation-delay: .16s; }
.try-next.soon-link { background: #fff; color: var(--ink); border: 1.5px solid rgba(124,91,178,.45); box-shadow: none; }
.try-next small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; color: #fff; background: var(--grad); }
#tumblers { scroll-margin-top: 96px; }
.try-msg { margin: 0; font-size: 13px; color: var(--muted); }
.try.done .try-msg { flex-basis: 100%; color: var(--ink-2); font-weight: 600; }
.no-webgl .try { display: none; }
.hero.drag::after { content: 'Drop your photo'; position: absolute; inset: 86px 18px 18px; z-index: 5; display: grid; place-items: center; border-radius: 28px; border: 2px dashed var(--c2);
  background: rgba(255,255,255,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 75%; font-size: clamp(34px, 5vw, 64px); pointer-events: none; }

/* ---------- titulares que suben línea a línea ---------- */
.ln { display: block; width: fit-content; max-width: 100%; }
.reveal .ln { clip-path: inset(-10% -5% 110% -5%); transform: translateY(.5em); transition: clip-path 1.05s var(--ease), transform 1.05s var(--ease); }
.reveal.in .ln { clip-path: inset(-10% -5% -25% -5%); transform: none; }
.reveal.in .ln:nth-child(2) { transition-delay: .13s; }
.gamer.reveal .ln { transition-delay: .15s; } .gamer.reveal.in .ln:nth-child(2) { transition-delay: .28s; }

/* ---------- datos del producto como etiquetas ---------- */
.specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: -6px 0 20px; }
.specs li { font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 5px 10px; border-radius: 999px; background: rgba(124,91,178,.08); border: 1px solid rgba(124,91,178,.12); }

/* ---------- las fotos se desplazan un poco dentro de su marco al hacer scroll ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .media.cover img { scale: 1.09; animation: par linear both; animation-timeline: view(); }
    @keyframes par { from { translate: 0 -3.6%; } to { translate: 0 3.6%; } }
  }
}

/* ---------- tumblers: flotan y les pasa un haz de luz ---------- */
@keyframes bob { to { translate: 0 -9px; } }
@keyframes beam { 0%, 55% { transform: translateX(-130%) skewX(-18deg); } 100% { transform: translateX(230%) skewX(-18deg); } }
.stage .t40 { animation: bob 4.6s ease-in-out infinite alternate; }
.stage .t12 { animation: bob 3.8s ease-in-out .6s infinite alternate; }
.stage .beam { position: absolute; inset: 0 auto 0 0; width: 45%; z-index: 2; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); animation: beam 6.5s ease-in-out infinite; }
.badge { position: relative; overflow: hidden; }
.badge::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 40%, 100% { transform: translateX(120%); } }

/* ---------- pasos: entran en cadena y el icono se dibuja ---------- */
.steps.reveal { opacity: 1; transform: none; }
.steps li { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .3s, box-shadow .3s; }
.steps.in li { opacity: 1; transform: none; }
.steps.in li:nth-child(2) { transition-delay: .14s; } .steps.in li:nth-child(3) { transition-delay: .28s; }
.steps li:hover { border-color: rgba(124,91,178,.35); box-shadow: 0 24px 50px -34px rgba(80,50,140,.6); }
.steps li:not(:last-child)::before { content: '→'; position: absolute; right: -24px; top: 50%; z-index: 2; width: 26px; height: 26px; margin-top: -13px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--c2); font-weight: 700; font-size: 14px; box-shadow: 0 6px 14px -8px rgba(20,20,50,.5); }
.ico svg path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s ease .35s; }
.steps.in .ico svg path { stroke-dashoffset: 0; }
.steps.in li:nth-child(2) .ico svg path { transition-delay: .5s; } .steps.in li:nth-child(3) .ico svg path { transition-delay: .65s; }

/* ---------- banda gamer: malla de triángulos que se ilumina bajo el puntero ---------- */
.gamer .mesh { position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath d='M0 48L28 0l28 48zM0 0h56' fill='none' stroke='%23b9a5ff' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 48px;
  -webkit-mask-image: radial-gradient(420px circle at var(--gx, 82%) var(--gy, 28%), #000 0%, transparent 72%); mask-image: radial-gradient(420px circle at var(--gx, 82%) var(--gy, 28%), #000 0%, transparent 72%); }
.gamer-in { position: relative; z-index: 1; }

/* ---------- móvil ---------- */
@media (max-width: 900px) {
  .nav nav a:not(.pill) { display: none; }
  .hero { align-items: flex-end; padding-top: 52svh; padding-bottom: 70px; }
  .hero-veil { background: linear-gradient(180deg, rgba(251,251,253,0) 26%, rgba(251,251,253,.9) 52%, rgba(251,251,253,.97) 100%); }
  h1 { font-size: clamp(70px, 21vw, 120px); }
  .grid.two, .grid.three, .steps { grid-template-columns: 1fr; }
  .card.wide { flex-direction: column; }
  .card.wide .media { min-height: 300px; }
  .card.wide .body { padding: 26px; }
  .stage .t40 { height: 230px; } .stage .t12 { height: 146px; }
  .section { padding-top: 84px; }
  .scroll-hint { display: none; }
  .steps li:not(:last-child)::before { content: '↓'; right: 50%; margin-right: -13px; top: auto; bottom: -24px; }
  .try-msg { flex-basis: 100%; }
  .try-next { height: 40px; padding: 0 13px; font-size: 13.5px; }
  .price { font-size: 26px; white-space: nowrap; }
  .gamer .mesh { opacity: .28; }
  .chips { gap: 6px; margin-top: 18px; } .chips li { font-size: 12.5px; padding: 6px 11px; }
  .hero.drag::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .steps li, .card.reveal:not(.in) { opacity: 1; transform: none; }
  .reveal .ln { clip-path: none; transform: none; }
  .ico svg path { stroke-dashoffset: 0; }
  #ribbon { opacity: 1; }
}
