:root {
  --bg: #0a0709;
  --bg-2: #120c0f;
  --ink: #f3eef0;
  --muted: #a39aa0;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --red: #f43f5e;
  --red-deep: #9f1239;
  --t-bad: #ef4444;
  --t-weak: #f97316;
  --t-fair: #facc15;
  --t-good: #a855f7;
  --t-best: #22c55e;
  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.02) 55%);
  --display: "Chakra Petch", "Segoe UI", sans-serif;
  --body: "Geist", "Segoe UI", system-ui, sans-serif;
  --radius-l: 22px;
  --radius-m: 14px;
  --radius-s: 9px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* Fondo: brillos rojo y vino + grano fino */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.backdrop::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(42% 38% at 12% 8%, rgba(244, 63, 94, 0.22), transparent 70%),
    radial-gradient(36% 34% at 92% 22%, rgba(159, 18, 57, 0.28), transparent 70%),
    radial-gradient(50% 40% at 50% 110%, rgba(244, 63, 94, 0.14), transparent 70%);
}
.backdrop::after {
  content: ""; position: absolute; inset: 0; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10, 7, 9, 0.62);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 var(--display); letter-spacing: 0.02em; }
.brand svg { width: 26px; height: 26px; filter: drop-shadow(0 0 10px rgba(244, 63, 94, 0.6)); }
.brand b { color: var(--red); font-weight: 700; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: 0; }

/* ---------- Botones ---------- */
.btn {
  --b: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px; border: 1px solid rgba(255, 160, 175, 0.45);
  background: linear-gradient(180deg, #e11d48, #be123c 55%, #881337);
  color: #fff; font: 600 16px/1 var(--display); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(244, 63, 94, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform .18s cubic-bezier(.2, .9, .3, 1.4), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 40px -10px rgba(244, 63, 94, 1), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: var(--glass); border-color: var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.btn.ghost:hover { border-color: rgba(244, 63, 94, 0.6); }
.btn.small { padding: 10px 16px; font-size: 14px; }

/* ---------- Héroe ---------- */
.hero { padding: 88px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 {
  font: 700 clamp(46px, 7vw, 92px)/0.94 var(--display);
  letter-spacing: -0.02em; margin: 0 0 22px;
  text-wrap: balance;
}
.hero h1 .line2 { display: block; }
.lead { font-size: 19px; color: var(--muted); max-width: 34ch; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: 14.5px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--t-best); }

/* El escudo vivo */
.emblem {
  position: relative; aspect-ratio: 1; width: min(460px, 100%); justify-self: center;
  display: grid; place-items: center;
  --tier: var(--t-bad);
}
.emblem .halo {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--tier) 55%, transparent), transparent 72%);
  filter: blur(18px); transition: background .5s;
}
.emblem .ring { position: absolute; inset: 0; }
.emblem .ring circle { fill: none; stroke-width: 6; }
.emblem .ring .track { stroke: rgba(255, 255, 255, 0.07); }
.emblem .ring .value { stroke: var(--tier); stroke-linecap: round; transition: stroke .4s; filter: drop-shadow(0 0 10px var(--tier)); }
.emblem .ticks { position: absolute; inset: 7%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.1); animation: spin 40s linear infinite; }
.emblem .shield { position: relative; width: 52%; transition: transform .3s; }
.emblem .shield path.body { fill: url(#shieldFill); stroke: rgba(255, 255, 255, 0.45); stroke-width: 0.5; }
.emblem .shield { filter: drop-shadow(0 0 30px var(--tier)); }
.emblem .score {
  position: absolute; bottom: 9%; left: 0; right: 0; text-align: center;
}
.emblem .score b { font: 700 54px/1 var(--display); color: color-mix(in srgb, var(--tier) 40%, white); font-variant-numeric: tabular-nums; }
.emblem .score small { color: var(--muted); font-size: 16px; margin-left: 4px; }
.emblem .score em { display: block; font-style: normal; font: 600 15px/1.4 var(--display); color: var(--tier); letter-spacing: 0.04em; transition: color .4s; }
.flash {
  position: fixed; inset: 0; pointer-events: none; z-index: 80; opacity: 0;
  background: radial-gradient(70% 70% at 50% 50%, rgba(34, 197, 94, 0.05), rgba(34, 197, 94, 0.32));
  box-shadow: inset 0 0 0 3px rgba(74, 222, 128, 0.8);
}
.flash.on { animation: flash 1.6s ease-out; }
@keyframes flash { 0% { opacity: 0 } 15% { opacity: 1 } 55% { opacity: .9 } 100% { opacity: 0 } }
@keyframes spin { to { transform: rotate(360deg) } }

/* ---------- Pantalla grande (captura) ---------- */
.showcase { padding: 40px 0 30px; perspective: 1600px; }
.screen {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--line-2);
  background: #0d0a0c;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03), 0 30px 80px -30px rgba(244, 63, 94, 0.35);
  transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .25s ease-out;
}
.screen img { width: 100%; }
.screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.12), transparent 60%);
  mix-blend-mode: screen;
}

/* ---------- Secciones ---------- */
section { position: relative; }
.block { padding: 110px 0; }
.head { max-width: 640px; margin-bottom: 48px; }
.head h2 { font: 700 clamp(34px, 4.4vw, 56px)/1.02 var(--display); letter-spacing: -0.015em; margin: 0 0 16px; text-wrap: balance; }
.head p { color: var(--muted); margin: 0; font-size: 18px; }

.glass {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Lo que hace: 4 piezas, una grande */
.does { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.does .card { padding: 28px; overflow: hidden; position: relative; }
.does .card.big { grid-row: span 2; display: flex; flex-direction: column; }
.does .card.big img { margin-top: auto; border-radius: 12px; border: 1px solid var(--line); transform: translateY(18px); }
.does h3 { font: 600 24px/1.15 var(--display); margin: 14px 0 8px; }
.does p { color: var(--muted); margin: 0; font-size: 16px; }
.does .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(244, 63, 94, 0.14); border: 1px solid rgba(244, 63, 94, 0.35); color: var(--red); }
.does .ico svg { width: 22px; height: 22px; }
.does .mini { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.does .mini span { font-size: 13.5px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: #d9d2d6; }

/* Juegos: cinta en movimiento con lo que OptiCore sabe de cada uno */
.games { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.games .track { display: flex; gap: 16px; width: max-content; animation: marquee 48s linear infinite; }
.games:hover .track { animation-play-state: paused; }
.game { width: 250px; padding: 20px; flex: none; }
.game h4 { font: 600 19px/1.2 var(--display); margin: 0 0 10px; }
.game .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.game .tags span { font-size: 12.5px; padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); color: #d9d2d6; }
.game .tags .ok { background: rgba(34, 197, 94, 0.12); color: #86efac; }
.game .tags .ac { background: rgba(244, 63, 94, 0.12); color: #fda4af; }
@keyframes marquee { to { transform: translateX(-50%) } }

/* Recibo de rendimiento */
.receipt-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.receipt {
  padding: 28px; position: relative;
  background: linear-gradient(170deg, #fdf7f8, #efe7ea);
  color: #1d1418; border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(244, 63, 94, 0.45);
  transform: rotate(-2.2deg);
  -webkit-mask: radial-gradient(10px at 50% 100%, #0000 98%, #000) 50% / 22px 100%;
          mask: radial-gradient(10px at 50% 100%, #0000 98%, #000) 50% / 22px 100%;
  padding-bottom: 40px;
}
.receipt h3 { font: 700 22px/1.1 var(--display); margin: 0 0 4px; }
.receipt .sub { color: #6f5f66; font-size: 14px; margin-bottom: 18px; }
.receipt dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; font-size: 15.5px; align-items: baseline; line-height: 1.4; }
.receipt dt { color: #5c4d54; }
.receipt dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.receipt .total { border-top: 1.5px dashed #c9b9c0; margin-top: 14px; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.receipt .total b { font: 700 40px/1 var(--display); color: #15803d; }
.receipt .note { font-size: 13px; color: #6f5f66; margin-top: 12px; }
.receipt-copy ul { padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 12px; }
.receipt-copy li { display: flex; gap: 12px; color: #d9d2d6; }
.receipt-copy li svg { flex: none; width: 20px; height: 20px; color: var(--t-best); margin-top: 3px; }

/* Datos honestos */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); }
.fact { background: var(--bg-2); padding: 30px 24px; }
.fact b { display: block; font: 700 46px/1 var(--display); margin-bottom: 10px; }
.fact span { color: var(--muted); font-size: 15px; }

/* Cómo funciona (secuencia real de 5 pasos) */
.steps-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.steps-tabs button {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; cursor: pointer;
  background: var(--glass); border: 1px solid var(--line); color: var(--muted); font: 600 15px/1 var(--display);
  transition: color .2s, border-color .2s, transform .15s;
}
.steps-tabs button i { font-style: normal; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); font-size: 13px; }
.steps-tabs button[aria-selected="true"] { color: var(--ink); border-color: rgba(244, 63, 94, 0.6); }
.steps-tabs button[aria-selected="true"] i { background: var(--red); color: #fff; }
.steps-tabs button:hover { transform: translateY(-1px); color: var(--ink); }
.step-panel { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: 30px; align-items: center; padding: 28px; }
.step-panel h3 { font: 700 30px/1.08 var(--display); margin: 0 0 12px; }
.step-panel p { color: var(--muted); margin: 0; }
.step-panel img { border-radius: 12px; border: 1px solid var(--line); transition: opacity .25s; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { padding: 10px; }
.shot img { border-radius: 10px; }
.shot figcaption { padding: 12px 6px 4px; font: 600 16px/1.3 var(--display); }
.shot figcaption span { display: block; font: 400 14.5px/1.45 var(--body); color: var(--muted); margin-top: 4px; }

/* Precio */
.pricing { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; max-width: 920px; margin-inline: auto; }
.plan { padding: 34px; display: flex; flex-direction: column; }
.plan.main { position: relative; border-color: rgba(244, 63, 94, 0.5); box-shadow: 0 40px 90px -40px rgba(244, 63, 94, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.plan.main::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--red) 85%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: orbit 5s linear infinite; pointer-events: none; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes orbit { to { --a: 360deg } }
.plan h3 { font: 600 20px/1.2 var(--display); margin: 0 0 8px; }
.plan .price { font: 700 58px/1 var(--display); margin: 10px 0 4px; }
.plan .price small { font-size: 18px; color: var(--muted); font-weight: 500; }
.plan .once { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 11px; color: #ddd5d9; font-size: 15.5px; }
.plan li svg { flex: none; width: 18px; height: 18px; color: var(--t-best); margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* Preguntas */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 20px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 68ch; }

/* Comunidad */
.community { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.community a { padding: 30px; text-decoration: none; display: flex; gap: 20px; align-items: center; transition: border-color .2s, transform .2s; }
.community a:hover { border-color: rgba(244, 63, 94, 0.5); transform: translateY(-2px); }
.community h3 { font: 600 22px/1.2 var(--display); margin: 0 0 4px; }
.community p { margin: 0; color: var(--muted); font-size: 15.5px; }
.community .ico { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(88, 101, 242, 0.18); color: #a5b4fc; }
.community .ico.red { background: rgba(244, 63, 94, 0.16); color: var(--red); }
.community svg { width: 28px; height: 28px; }

/* Final + pie */
.final { text-align: center; padding: 120px 0; }
.final h2 { font: 700 clamp(40px, 6vw, 80px)/0.98 var(--display); margin: 0 auto 22px; max-width: 14ch; letter-spacing: -0.02em; }
.final p { color: var(--muted); margin: 0 auto 32px; max-width: 46ch; }
footer { border-top: 1px solid var(--line); padding: 34px 0 50px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
footer nav { display: flex; gap: 20px; margin-left: auto; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- Checkout ---------- */
.checkout { padding: 50px 0 100px; }
.progress { display: flex; gap: 10px; max-width: 520px; margin: 0 auto 50px; }
.progress div { flex: 1; text-align: center; font-size: 14px; color: var(--muted); }
.progress div::before { content: ""; display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); margin-bottom: 10px; }
.progress .done { color: var(--ink); }
.progress .done::before { background: linear-gradient(90deg, var(--red-deep), var(--red)); box-shadow: 0 0 14px rgba(244, 63, 94, 0.7); }
.checkout h1 { font: 700 clamp(36px, 5vw, 58px)/1 var(--display); margin: 0 0 10px; }
.checkout .hold { color: var(--muted); margin-bottom: 34px; }
.co-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: start; }
.co-pay { padding: 28px; }
.co-pay label { display: block; font-size: 14.5px; color: #d6cfd3; margin: 18px 0 8px; }
.co-pay input {
  width: 100%; padding: 14px 16px; border-radius: 11px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.35); color: var(--ink); font: 400 16px var(--body);
}
.co-pay input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.25); }
.wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wallet { height: 50px; border-radius: 11px; display: grid; place-items: center; font: 700 17px var(--body); border: 0; cursor: pointer; transition: transform .15s; }
.wallet:hover { transform: translateY(-1px); }
.wallet.paypal { background: #ffc439; color: #003087; grid-column: span 2; }
.wallet.apple { background: #fff; color: #000; }
.wallet.mp { background: #0067a8; color: #fff; }
.or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 22px 0 4px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.element-slot {
  margin-top: 8px; padding: 18px; border-radius: 12px; border: 1px dashed rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.05); color: var(--muted); font-size: 14.5px;
}
.element-slot b { color: var(--ink); }
.co-sum { padding: 26px; position: sticky; top: 90px; }
.co-sum .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.co-sum .row small { color: var(--muted); display: block; }
.co-sum hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.code { display: flex; gap: 8px; margin-top: 8px; }
.code input { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.35); color: var(--ink); font: 500 15px var(--body); text-transform: uppercase; }
.code button { padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); color: var(--ink); font: 600 14px var(--display); cursor: pointer; }
.chip { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; padding: 6px 10px; border-radius: 8px; background: rgba(34, 197, 94, 0.14); color: #86efac; font-size: 13.5px; }
.err { color: #fda4af; font-size: 13.5px; margin-top: 8px; min-height: 1em; }
.total { font: 700 30px/1 var(--display); }
.secure { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13.5px; margin-top: 16px; }
.secure svg { width: 16px; height: 16px; color: var(--t-best); }

/* ---------- Reveal + adaptable ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .screen { transform: none !important; }
}
@media (max-width: 960px) {
  .hero .wrap, .receipt-wrap, .step-panel, .pricing, .co-grid, .community { grid-template-columns: 1fr; }
  .does { grid-template-columns: 1fr; }
  .does .card.big { grid-row: auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .co-sum { position: static; }
}
@media (max-width: 600px) {
  .gallery, .facts { grid-template-columns: 1fr; }
  .block { padding: 80px 0; }
  .hero { padding-top: 50px; }
  .emblem .score b { font-size: 44px; }
}

[hidden] { display: none !important; }

/* ---------- Portada simple y centrada (escudo como fondo) ---------- */
.hero { position: relative; padding: 120px 0 70px; overflow: hidden; min-height: min(86vh, 760px); display: grid; align-items: center; }
.hero .wrap.hero-center { display: block; text-align: center; position: relative; z-index: 1; }
.hero-center h1 { font-size: clamp(48px, 7.6vw, 104px); }
.hero-center .lead { margin: 0 auto 30px; max-width: 46ch; color: #c9c0c5; }
.hero-center .hero-cta, .hero-center .trust { justify-content: center; }
.hero-bg { position: absolute; left: 50%; top: 50%; width: min(820px, 120vw); transform: translate(-50%, -50%); opacity: .38; z-index: 0; pointer-events: none; }
.hero-bg .score { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 50% at 50% 50%, rgba(10, 7, 9, .55), transparent 75%); pointer-events: none; }
.nav-links { margin-left: 26px; }

/* ---------- Juegos con portada ---------- */
.games .track { gap: 18px; padding: 10px 0 18px; }
.game { position: relative; width: 210px; aspect-ratio: 2 / 3; padding: 0; border-radius: 16px; overflow: hidden; flex: none;
  border: 1px solid rgba(255, 255, 255, .1); background: #140f12; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s, box-shadow .35s; }
.game:hover { transform: translateY(-6px) scale(1.03); border-color: rgba(244, 63, 94, .6); box-shadow: 0 24px 50px -16px rgba(225, 29, 72, .45); }
.game .cover, .game .cover img, .game .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game .art { display: grid; place-items: center; }
.game .art svg { width: 46%; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .5)); }
.game .info { position: absolute; inset: auto 0 0; padding: 48px 14px 14px; background: linear-gradient(180deg, transparent, rgba(8, 5, 7, .92) 55%); }
.game h4 { font-size: 17px; margin-bottom: 8px; }
.game .tags span { font-size: 11.5px; padding: 3px 7px; backdrop-filter: blur(6px); }

/* ---------- Héroe 3D ---------- */
.hero { min-height: min(100svh, 900px); padding: 140px 0 120px; }
.hero3d { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.2s ease;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
          mask-image: linear-gradient(180deg, #000 70%, transparent); }
.hero3d.ready { opacity: 1; }
.hero3d canvas { width: 100% !important; height: 100% !important; display: block; }
.hero3d.no-gl { background: radial-gradient(50% 60% at 60% 45%, rgba(225, 29, 72, .28), transparent 70%); opacity: 1; }
.hero::after { background: radial-gradient(42% 46% at 50% 50%, rgba(7, 5, 6, .72), rgba(7, 5, 6, .25) 65%, transparent 85%); z-index: 0; }
.hero-center h1 { text-shadow: 0 4px 40px rgba(0, 0, 0, .7); }
.hero-center .lead { text-shadow: 0 2px 20px rgba(0, 0, 0, .9); color: #ddd5d9; }

/* =====================================================================
   Estilo de la referencia: menú en píldora, encabezados centrados,
   pasos con columna fija, precio sobre brillo rojo y comunidad.
   ===================================================================== */
.nav { position: fixed; top: 14px; left: 0; right: 0; background: none; border: 0; backdrop-filter: none; }
.nav .wrap { width: min(1100px, 100% - 24px); height: 58px; padding: 0 8px 0 18px; border-radius: 999px;
  background: rgba(14, 10, 12, .62); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.nav .nav-cta { border-radius: 999px; margin-left: auto; transition: background .35s, border-color .35s, box-shadow .35s; }
.nav.scrolled .nav-cta { background: linear-gradient(180deg, #ff2d4a, #d3123a); border-color: rgba(255, 170, 185, .5);
  box-shadow: 0 0 24px -4px rgba(255, 45, 74, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.checkout { padding-top: 120px; }

.eyebrow { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center p { margin-inline: auto; max-width: 56ch; }

/* Qué hace: 2 × 2, título con icono rojo centrado */
.does.four { grid-template-columns: 1fr 1fr; grid-template-rows: none; max-width: 1080px; margin-inline: auto; }
.does.four .card { padding: 30px 34px; text-align: center; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); transition: border-color .3s, transform .3s; }
.does.four .card:hover { border-color: rgba(244, 63, 94, .45); transform: translateY(-3px); }
.does.four h3 { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 12px; font-size: 21px; }
.does.four h3 svg { width: 22px; height: 22px; color: #ff2d4a; flex: none; filter: drop-shadow(0 0 8px rgba(255, 45, 74, .6)); }
.does.four p { max-width: 46ch; margin-inline: auto; font-size: 15.5px; }

/* Cifras: tarjetas grandes */
.facts { gap: 18px; background: none; border: 0; border-radius: 0; overflow: visible; }
.fact { text-align: center; padding: 34px 20px 30px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); }
.fact > svg { width: 40px; height: 40px; padding: 9px; border-radius: 11px; color: #ff2d4a; background: rgba(255, 45, 74, .1); border: 1px solid rgba(255, 45, 74, .3); margin-bottom: 18px; }
.fact b { font: 700 54px/1 var(--display); font-variant-numeric: tabular-nums; }
.fact b i { font-style: normal; font-size: .42em; color: #ff2d4a; }
.fact > span { display: block; }
.fact b span { font-size: inherit; color: inherit; }
.community .com-art .glass-ico { width: 230px; height: 230px; }
.community .glass-ico.sm { width: 120px; height: 120px; }

/* Cómo funciona: columna fija a la izquierda, tarjetas que pasan a la derecha */
.how { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.how-side { position: sticky; top: 110px; }
.how-side h2 { font: 700 clamp(36px, 4vw, 52px)/1.02 var(--display); margin: 0 0 14px; letter-spacing: -.015em; }
.how-side p { color: var(--muted); margin: 0 0 30px; }
.how-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.how-nav a { display: flex; gap: 14px; align-items: center; padding: 9px 14px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; transition: color .25s, border-color .25s, background .25s; }
.how-nav a i { font-style: normal; font-size: 13px; color: #6f646a; font-variant-numeric: tabular-nums; transition: color .25s; }
.how-nav a:hover { color: var(--ink); }
.how-nav a.on { color: var(--ink); border-color: #ff2d4a; background: linear-gradient(90deg, rgba(255, 45, 74, .1), transparent); }
.how-nav a.on i { color: #ff2d4a; }
.how-cards { display: grid; gap: 22px; }
.how-card { padding: 30px 30px 26px; border-radius: 22px; border: 1px solid var(--line); scroll-margin-top: 100px;
  background: radial-gradient(80% 60% at 50% 110%, rgba(225, 29, 72, .16), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.how-k { display: flex; gap: 12px; align-items: center; font: 600 13px var(--display); color: var(--muted); letter-spacing: .06em; margin-bottom: 14px; }
.how-k i { font-style: normal; color: #ff2d4a; }
.how-card h3 { font: 700 30px/1.1 var(--display); margin: 0 0 10px; }
.how-card > p { color: var(--muted); margin: 0 0 24px; max-width: 60ch; }

/* Precio sobre brillo rojo */
.glow-red { background: radial-gradient(60% 55% at 50% 0%, rgba(225, 29, 72, .35), transparent 70%), radial-gradient(40% 40% at 50% 60%, rgba(159, 18, 57, .18), transparent 75%); }

/* Preguntas: filas con + */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .03); transition: border-color .25s, background .25s; }
.faq details:hover, .faq details[open] { border-color: var(--line-2); background: rgba(255, 255, 255, .05); }
.faq summary { padding: 18px 56px 18px 22px; font: 500 16.5px/1.4 var(--body); color: #e6dfe3; }
.faq summary::after { content: "+"; border: 0; width: auto; height: auto; right: 22px; top: 50%; transform: translateY(-50%); font: 400 24px/1 var(--body); color: var(--ink); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; font-size: 15.5px; }

/* Comunidad */
.community { grid-template-columns: 1fr 1fr; }
.com-card { position: relative; overflow: hidden; display: flex; justify-content: space-between; gap: 20px; padding: 32px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); min-height: 230px; }
.com-card.big { grid-column: 1 / -1; min-height: 300px; background: radial-gradient(60% 90% at 85% 50%, rgba(88, 101, 242, .16), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.com-text { display: flex; flex-direction: column; align-items: flex-start; max-width: 44ch; position: relative; z-index: 1; }
.com-card h3 { font: 700 26px/1.15 var(--display); margin: 0 0 10px; }
.com-card.big h3 { font-size: clamp(30px, 3.4vw, 42px); }
.com-card p { color: var(--muted); margin: 0 0 24px; font-size: 15.5px; }
.com-card .btn { margin-top: auto; }
.btn.pill { border-radius: 999px; padding: 12px 22px; font-size: 15px; }
.glass-ico { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .45); stroke-width: .25; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 1px rgba(255, 255, 255, .5)); }
.com-art { position: relative; width: 46%; display: grid; place-items: center; }
.com-art .glass-ico { width: min(240px, 100%); transform: rotate(-8deg); fill: rgba(140, 150, 255, .12); stroke: rgba(200, 205, 255, .6); }
.com-note { position: absolute; right: 0; top: 10px; padding: 14px 18px; border-radius: 14px; background: rgba(240, 236, 238, .92); color: #1a1416; transform: rotate(4deg); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7); font-size: 13px; display: grid; gap: 4px; }
.com-note b { font: 700 15px var(--display); margin-bottom: 4px; }
.com-note span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #e11d48; margin-right: 8px; vertical-align: middle; }
.glass-ico.sm { position: absolute; right: 22px; bottom: 18px; width: 120px; transform: rotate(-10deg); }

/* Pie con brillo rojo y botón flotante */
footer { position: relative; border-top: 0; }
.footer-glow { position: absolute; left: 10%; right: 10%; top: -60px; height: 120px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 100%, rgba(225, 29, 72, .35), transparent 70%); }
.footer-glow::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 45, 74, .9), transparent); }
.help-fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(20, 14, 17, .8); border: 1px solid var(--line-2); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .9); transition: transform .2s, border-color .2s; }
.help-fab:hover { transform: scale(1.08); border-color: rgba(255, 45, 74, .7); }
.help-fab svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .how { grid-template-columns: 1fr; gap: 30px; }
  .how-side { position: static; }
  .how-nav { display: none; }
  .community { grid-template-columns: 1fr; }
  .com-art { display: none; }
}
@media (max-width: 760px) {
  .does.four { grid-template-columns: 1fr; }
  .nav .wrap { padding-left: 14px; }
  .how-card { padding: 22px 18px; }
  .how-card h3 { font-size: 24px; }
  .community .glass-ico.sm { width: 80px; height: 80px; opacity: .5; }
}
.nav .nav-cta { margin-left: 8px; }

.pricing.three { grid-template-columns: 1fr 1fr 1.12fr; max-width: 1080px; align-items: stretch; }
.pricing.three .price small { font-size: 22px; }
@media (max-width: 960px) { .pricing.three { grid-template-columns: 1fr; } }
/* Selector de plan en el pago */
.plans { display: grid; gap: 8px; margin-bottom: 4px; }
.plan-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); cursor: pointer; transition: border-color .2s, background .2s; }
.plan-opt input { accent-color: #f43f5e; width: 18px; height: 18px; }
.plan-opt b { font: 600 16px var(--display); }
.plan-opt small { display: block; color: var(--muted); font-size: 13px; }
.plan-opt .p { margin-left: auto; font: 700 18px var(--display); }
.plan-opt:has(input:checked) { border-color: #f43f5e; background: rgba(244, 63, 94, .1); }
.co-pay .plan-opt { display: flex; margin: 0; color: var(--ink); font-size: 15px; }
.plan-opt > span:not(.p) { display: block; }

/* Extra: que lo haga una persona */
.addon { max-width: 1080px; margin: 18px auto 0; padding: 24px 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.addon-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(244, 63, 94, .14); border: 1px solid rgba(244, 63, 94, .35); color: var(--red); }
.addon-ico svg { width: 28px; height: 28px; }
.addon h3 { font: 600 21px/1.25 var(--display); margin: 0 0 6px; }
.addon h3 span { color: #fda4af; margin-left: 6px; white-space: nowrap; }
.addon p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 70ch; }
@media (max-width: 760px) { .addon { grid-template-columns: 1fr; } }
.co-pay .addon-opt { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 0; padding: 12px 14px; border-radius: 12px; border: 1px dashed rgba(244, 63, 94, .45); background: rgba(244, 63, 94, .05); cursor: pointer; color: var(--ink); font-size: 15px; }
.addon-opt input { accent-color: #f43f5e; width: 18px; height: 18px; margin-top: 2px; }
.addon-opt b { font: 600 16px var(--display); }
.addon-opt small { display: block; color: var(--muted); font-size: 13px; }
.addon-opt .p { margin-left: auto; font: 700 17px var(--display); white-space: nowrap; }
.addon-opt:has(input:checked) { border-style: solid; border-color: #f43f5e; background: rgba(244, 63, 94, .1); }

/* ---------- Tarjetas en 3D ---------- */
.c3d { position: relative; transform-origin: 50% 100%; opacity: var(--so, 1);
  transform: perspective(1100px) translate3d(0, var(--sy, 0px), var(--sz, 0px)) rotateX(calc(var(--sx, 0deg) + var(--px, 0deg))) rotateY(var(--py, 0deg)) rotateZ(var(--rz, 0deg)) !important;
  transition: transform .18s ease-out, box-shadow .3s, border-color .3s !important; will-change: transform; }
.c3d.hot { border-color: rgba(255, 45, 74, .55) !important;
  box-shadow: 0 30px 70px -28px rgba(225, 29, 72, .55), 0 0 0 1px rgba(255, 45, 74, .25), inset 0 1px 0 rgba(255, 255, 255, .12) !important; }
.c3d > .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 2;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .13), rgba(255, 45, 74, .07) 35%, transparent 65%); mix-blend-mode: screen; }
.c3d.hot > .glare { opacity: 1; }
.receipt.c3d { --rz: -2.2deg; }
@media (prefers-reduced-motion: reduce) { .c3d { transform: none !important; opacity: 1; } }

/* ---------- Reserva de sesión: calendario ---------- */
.cal-card { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(70% 80% at 0% 0%, rgba(255, 45, 74, .14), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.cal-left { padding: 30px; border-right: 1px solid var(--line); }
.cal-right { padding: 30px; min-height: 380px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head b { font: 700 20px var(--display); }
.cal-nav { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cal-nav svg, .cal-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-dow span { font-size: 12.5px; color: var(--muted); padding-bottom: 6px; }
.cal-grid button { aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; background: none; color: #6b5f65; font: 600 15px var(--body); cursor: default; }
.cal-grid button.ok { color: var(--ink); background: rgba(255, 255, 255, .05); border-color: var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.cal-grid button.ok:hover { border-color: rgba(255, 45, 74, .6); }
.cal-grid button.today { box-shadow: inset 0 -2px 0 #ff2d4a; }
.cal-grid button.on { background: #e11d48; border-color: #ff2d4a; color: #fff; box-shadow: 0 10px 26px -8px rgba(225, 29, 72, .8); }
.cal-grid button:focus-visible, .slots button:focus-visible, .cal-nav:focus-visible, .cal-back:focus-visible { outline: 2px solid #ff2d4a; outline-offset: 2px; }
.cal-tz { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.cal-right h3 { font: 700 22px/1.2 var(--display); margin: 0 0 6px; }
.cal-hint { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slots button { padding: 11px 0; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--ink); font: 600 15px var(--body); cursor: pointer; transition: border-color .2s, background .2s; font-variant-numeric: tabular-nums; }
.slots button:hover { border-color: #ff2d4a; background: rgba(255, 45, 74, .12); }
.cal-form { display: grid; gap: 8px; }
.cal-form[hidden], #calPick[hidden] { display: none; }
.cal-note { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.cal-form label { font-size: 14px; color: #d9d2d6; margin-top: 6px; }
.cal-form label small { color: var(--muted); }
.cal-form input { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); color: var(--ink); font: 500 15px var(--body); }
.cal-form input:focus-visible { outline: 2px solid #ff2d4a; outline-offset: 1px; }
.cal-form .err { color: #fda4af; font-size: 14px; min-height: 18px; }
.cal-form .btn { margin-top: 4px; }
.cal-back { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; color: var(--ink); font: 600 15px var(--body); cursor: pointer; justify-self: start; }
.cal-done pre { white-space: pre-wrap; font: 500 13.5px/1.5 var(--body); color: #d9d2d6; padding: 14px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); margin: 0 0 16px; }
.cal-done p { color: var(--muted); }
.cal-done .cal-back { margin-top: 10px; display: flex; }
@media (max-width: 760px) {
  .cal-card { grid-template-columns: 1fr; }
  .cal-left { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; }
  .cal-right { padding: 22px; min-height: 0; }
}

/* Reserva en la página de pago */
.cita { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 14px; margin: 10px 0; border-radius: 12px; border: 1px solid rgba(244, 63, 94, .4); background: rgba(244, 63, 94, .08); }
.cita[hidden] { display: none; }
.cita b { display: block; font: 600 15px var(--display); }
.cita span { display: block; font-size: 14.5px; }
.cita small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.cita a { color: #fda4af; font-size: 14px; white-space: nowrap; }


/* ---------- Casillas de aceptación, pago y pie legal ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: #d9d2d6; margin: 10px 0 0; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: #f43f5e; }
.check a { color: #fda4af; }
.consents .err { color: #fda4af; font-size: 14px; min-height: 18px; margin-top: 10px; }
.pay-note { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }
footer .wrap { flex-wrap: wrap; row-gap: 14px; }
.foot-id { display: grid; gap: 4px; }
.foot-id .seller { font-size: 13px; color: var(--muted); }
footer nav { flex-wrap: wrap; }
footer .marks { flex-basis: 100%; margin: 0; font-size: 12.5px; color: #8a7d84; }
mark.todo { background: rgba(250, 204, 21, .18); color: #fde68a; padding: 0 4px; border-radius: 4px; }

/* ---------- Páginas legales ---------- */
.legal { padding: 130px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font: 700 clamp(34px, 5vw, 48px)/1.1 var(--display); margin: 0 0 8px; }
.legal .upd { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.legal .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.legal .toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: #d9d2d6; text-decoration: none; font-size: 13.5px; }
.legal .toc a:hover { border-color: #ff2d4a; }
.legal h2 { font: 700 22px/1.25 var(--display); margin: 40px 0 10px; scroll-margin-top: 100px; }
.legal h3 { font: 600 17px/1.3 var(--display); margin: 22px 0 6px; }
.legal p, .legal li { color: #d6cfd3; line-height: 1.65; font-size: 15.5px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal a { color: #fda4af; }
.legal .box { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); margin: 14px 0; }
.legal .box.warn { border-color: rgba(250, 204, 21, .35); background: rgba(250, 204, 21, .06); }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 12px 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: #d6cfd3; }
.legal th { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; } .legal thead { display: none; } .legal td { border: 0; padding: 4px 0; } .legal tr { border-bottom: 1px solid var(--line); padding: 10px 0; } }
.plan-opt .p { white-space: nowrap; }

.all-plans { max-width: 1080px; margin: 22px auto 0; text-align: center; color: var(--muted); font-size: 15px; line-height: 1.6; }
.all-plans b { color: var(--ink); }


/* =====================================================================
   EXPERIENCIA: escena 3D en toda la página, tipografía gigante,
   cursor-mira, glitch, franjas y arranque.
   ===================================================================== */
:root { --mega: "Big Shoulders Display", "Chakra Petch", "Segoe UI", sans-serif; }
.hero3d { position: fixed; inset: 0; z-index: 0; -webkit-mask-image: none; mask-image: none; }
.hero3d.ready ~ .backdrop { display: none; }
.world-shade { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(7, 5, 6, .2), rgba(7, 5, 6, .74) 28%, rgba(7, 5, 6, .74) 72%, rgba(7, 5, 6, .2)); }
main, footer { position: relative; z-index: 2; }
.help-fab { z-index: 40; }
.hero::after { display: none; }
.hero { background: radial-gradient(40% 44% at 50% 52%, rgba(7, 5, 6, .66), transparent 75%); }

/* Tipografía gigante condensada */
.hero-center h1 { font: 900 clamp(66px, 12.4vw, 190px)/.82 var(--mega); text-transform: uppercase; letter-spacing: -.005em; margin-bottom: 26px; }
.hero-center h1 .line2 { color: #ff2d4a; }
.head h2, .how-side h2, .final h2 { font: 900 clamp(46px, 7.4vw, 112px)/.88 var(--mega); text-transform: uppercase; letter-spacing: 0; text-wrap: balance; }
.head h2 { margin-bottom: 20px; }
.com-card.big h3 { font: 900 clamp(40px, 5vw, 76px)/.9 var(--mega); text-transform: uppercase; }
.plan .price, .fact b { font-family: var(--mega); font-weight: 900; }
.plan .price { font-size: 84px; }
.fact b { font-size: 76px; }
.final h2 { font-size: clamp(56px, 10vw, 150px); }
.head h2, .how-side h2, .final h2, .hero-center h1 { text-shadow: 0 6px 50px rgba(0, 0, 0, .75); }

/* Glitch en la segunda línea de la portada */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.glitch::before { color: #22d3ee; transform: translate(-4px, 0); }
.glitch::after { color: #fff; transform: translate(4px, 0); mix-blend-mode: screen; }
@media (prefers-reduced-motion: no-preference) {
  /* Una sola sacudida al cargar, sin repetirse; los botones ya no tiemblan al pasar el ratón */
  .glitch::before { animation: glitchA 2.4s .6s 1 steps(1) both; }
  .glitch::after { animation: glitchB 2.4s .6s 1 steps(1) both; }
}
@keyframes glitchA {
  0%, 86%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); }
  87% { opacity: .9; clip-path: inset(12% 0 62% 0); transform: translate(-7px, 2px); }
  89% { opacity: .9; clip-path: inset(58% 0 8% 0); transform: translate(5px, -2px); }
  91% { opacity: .9; clip-path: inset(30% 0 40% 0); transform: translate(-3px, 0); }
  93% { opacity: 0; }
}
@keyframes glitchB {
  0%, 87%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); }
  88% { opacity: .8; clip-path: inset(70% 0 4% 0); transform: translate(8px, 0); }
  90% { opacity: .8; clip-path: inset(5% 0 70% 0); transform: translate(-6px, 1px); }
  92% { opacity: 0; }
}
@keyframes rgbJolt {
  0% { text-shadow: -3px 0 #22d3ee, 3px 0 #ff2d4a; transform: translate(1px, -1px); }
  50% { text-shadow: 3px 0 #22d3ee, -3px 0 #ff2d4a; transform: translate(-1px, 1px); }
  100% { text-shadow: none; }
}

/* Franjas gigantes */
.band { position: relative; z-index: 2; overflow: hidden; padding: 6px 0 2px; margin: 30px -6vw; transform: rotate(-3deg);
  background: #ff2d4a; box-shadow: 0 30px 80px -30px rgba(255, 45, 74, .8); }
.band + .band { margin-top: -18px; }
.band.alt { background: rgba(7, 5, 6, .85); transform: rotate(2deg); box-shadow: none; border-block: 1px solid rgba(255, 255, 255, .12); }
.band-row { white-space: nowrap; font: 900 clamp(46px, 8.6vw, 136px)/1.02 var(--mega); text-transform: uppercase; color: #0a0507; will-change: transform; }
.band.alt .band-row { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .8); }

/* Cursor: la mira */
@media (pointer: fine) {
  html.xh, html.xh * { cursor: none !important; }
  html.xh.xh-text input, html.xh.xh-text textarea { cursor: text !important; }
}
.xh-dot, .xh-ring { position: fixed; left: 0; top: 0; z-index: 10001; pointer-events: none; opacity: 0; transition: opacity .2s; }
html.xh-on .xh-dot, html.xh-on .xh-ring { opacity: 1; }
html.xh-text .xh-dot, html.xh-text .xh-ring { opacity: 0; }
.xh-dot svg { display: block; width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.xh-ring::before { content: ""; position: absolute; width: 46px; height: 46px; left: -23px; top: -23px; border-radius: 50%;
  border: 1px solid rgba(255, 45, 74, .55); transition: width .22s, height .22s, left .22s, top .22s, background .22s; }
.xh-ring.hot::before { width: 76px; height: 76px; left: -38px; top: -38px; background: rgba(255, 45, 74, .1); border-color: #ff2d4a; }
.xh-ring.shot::before { animation: shot .35s ease-out; }
@keyframes shot { 0% { box-shadow: 0 0 0 0 rgba(255, 45, 74, .7); } 100% { box-shadow: 0 0 0 26px rgba(255, 45, 74, 0); } }

/* Arranque */
.boot { position: fixed; inset: 0; z-index: 10000; background: #070506; display: grid; place-items: center;
  transition: clip-path .65s cubic-bezier(.7, 0, .2, 1); clip-path: inset(0 0 0 0); }
.boot.out { clip-path: inset(0 0 100% 0); }
.boot-in { display: grid; justify-items: center; gap: 10px; }
.boot b { font: 900 clamp(64px, 14vw, 200px)/.85 var(--mega); color: #fff; letter-spacing: .01em; }
.boot b span { color: #ff2d4a; }
.boot i { font: 700 22px/1 "Chakra Petch", monospace; font-style: normal; color: #ff2d4a; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.boot em { display: block; width: min(420px, 70vw); height: 3px; background: #ff2d4a; transform: scaleX(0); transform-origin: left; box-shadow: 0 0 24px #ff2d4a; }

/* Las tarjetas sobre la escena: cristal más oscuro para leer bien */
.does.four .card, .fact, .how-card, .plan, .addon, .com-card, .cal-card, .faq details, .shot, .co-pay, .co-sum {
  background-color: rgba(10, 6, 8, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }

@media (max-width: 760px) {
  .band { margin: 20px -10vw; }
  .fact b { font-size: 60px; }
  .plan .price { font-size: 70px; }
}

.hero { background: radial-gradient(46% 50% at 50% 52%, rgba(7, 5, 6, .8), rgba(7, 5, 6, .35) 60%, transparent 80%); }
.hero-center .trust span { padding: 6px 12px; border-radius: 999px; background: rgba(7, 5, 6, .72); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .08); }
.fact b { font-size: clamp(50px, 5.2vw, 72px); white-space: nowrap; }

/* Selector de idioma */
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .3); margin-left: auto; }
.lang a { padding: 5px 9px; border-radius: 999px; font: 600 12.5px/1 var(--display); letter-spacing: .04em; text-decoration: none; color: var(--muted); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: #ff2d4a; color: #fff; }
.nav .lang + .nav-cta { margin-left: 10px; }
@media (max-width: 760px) { .lang a { padding: 5px 7px; } }
@media (max-width: 560px) { .nav .nav-cta { display: none; } .nav .lang { margin-left: auto; } }

/* Cuatro planes con precio de lanzamiento tachado */
.pricing.four { grid-template-columns: repeat(4, 1fr); max-width: 1280px; align-items: stretch; gap: 16px; }
.pricing.four .plan { padding: 28px 24px; }
.pricing.four .plan .price { font-size: 72px; }
.pricing.four .plan .price small { font-size: 20px; }
.plan .price .per { font-size: 18px; margin-left: 2px; }
.plan .was { display: flex; align-items: center; gap: 10px; margin-top: 6px; color: var(--muted); font: 600 17px var(--display); }
.plan .was s { text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.plan .off { background: var(--red); color: #fff; font: 700 12px/1 var(--display); letter-spacing: .04em; padding: 5px 9px; border-radius: 999px; }
.plan li.no { color: var(--muted); }
.plan li.no svg { color: var(--muted); }
.plan-opt .p s { display: block; font-size: 13px; font-weight: 500; color: var(--muted); text-align: right; text-decoration-color: var(--red); }
@media (max-width: 1180px) { .pricing.four { grid-template-columns: 1fr 1fr; max-width: 760px; } }
@media (max-width: 640px) { .pricing.four { grid-template-columns: 1fr; } }

/* Titulares: entrada suave en vez del descifrado con símbolos */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.rise.in { opacity: 1; transform: none; }
