:root {
  --bg: #0E0E14;
  --bg-2: #17171F;
  --ink: #FFFFFF;
  --muted: #A9A9B8;
  --teal: #1DB5A8;
  --pink: #EC1C7A;
  --yellow: #FFE14D;
  --black: #08080B;
  --line: 3px;
  --shadow: 6px;
  --radius: 14px;
  --display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --body: 'Rubik', system-ui, -apple-system, sans-serif;
  --pixel: 'Press Start 2P', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.45;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(circle at 15% -10%, rgba(29,181,168,.28), transparent 45%),
    radial-gradient(circle at 110% 30%, rgba(236,28,122,.22), transparent 40%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px, 24px 24px;
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding-block: max(14px, env(safe-area-inset-top, 0px)) calc(28px + env(safe-area-inset-bottom, 0px));
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}

.pixel { font-family: var(--pixel); font-size: 9px; letter-spacing: .06em; line-height: 1.6; }

/* Barra superior */
.topbar { display: flex; justify-content: space-between; align-items: center; color: var(--muted); padding: 4px 2px 0; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); }
.status i { width: 8px; height: 8px; background: var(--teal); box-shadow: 0 0 0 3px rgba(29,181,168,.25); animation: blink 1.4s steps(2) infinite; }

/* Hero */
.hero { text-align: center; padding: 26px 0 8px; }
.logo-wrap { display: inline-block; animation: float 4s ease-in-out infinite; filter: drop-shadow(0 10px 24px rgba(236,28,122,.35)); }
.logo-wrap img { width: 112px; height: auto; }
.name {
  font-family: var(--display);
  font-size: clamp(44px, 14vw, 60px);
  line-height: .95;
  letter-spacing: -.02em;
  margin-top: 16px;
  text-shadow: 4px 4px 0 var(--pink);
}
.brand { font-family: var(--display); font-size: 18px; color: var(--teal); margin-top: 6px; letter-spacing: .02em; }
.brand span { color: var(--muted); margin-right: 4px; }
.gg { margin-top: 20px; }
.gg-badge {
  display: inline-flex; align-items: baseline; gap: .55em;
  font-family: var(--pixel); font-size: 18px; line-height: 1;
  padding: 10px 14px 9px;
  background: var(--black); color: var(--yellow);
  border: 3px solid var(--pink); border-radius: 4px;
  box-shadow: 4px 4px 0 var(--teal);
  text-shadow: 2px 0 0 var(--pink), -2px 0 0 var(--teal);
  transform: rotate(-4deg);
  animation: gg-in .6s steps(6) .3s both, gg-glitch 4s steps(1) 1.5s infinite;
}
.gg-badge b { color: var(--ink); font-weight: 400; animation: blink .8s steps(2) infinite; }
@keyframes gg-in { 0% { transform: rotate(-4deg) scale(0); } 60% { transform: rotate(6deg) scale(1.25); } 100% { transform: rotate(-4deg) scale(1); } }
@keyframes gg-glitch {
  0%, 90%, 100% { transform: rotate(-4deg); }
  92% { transform: rotate(-4deg) translate(-3px, 1px); text-shadow: 3px 0 0 var(--pink), -3px 0 0 var(--teal); }
  94% { transform: rotate(-2deg) translate(2px, -1px); }
  96% { transform: rotate(-6deg) skewX(8deg); }
}
.tagline { font-weight: 700; font-size: 17px; margin-top: 16px; }
.bio { color: var(--muted); font-size: 15px; margin: 6px auto 0; max-width: 34ch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.chips li {
  font-size: 12px; font-weight: 700; padding: 6px 10px;
  border: 2px solid rgba(255,255,255,.18); border-radius: 999px; background: var(--bg-2);
}

/* Títulos */
.section-title { color: var(--muted); margin: 30px 2px 14px; font-weight: 400; }

/* Tarjetas */
.card {
  position: relative;
  display: block;
  color: var(--black);
  border: var(--line) solid var(--black);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow) var(--shadow) 0 var(--black);
  transition: transform .12s ease, box-shadow .12s ease;
  outline: none;
}
.card:active, .card.pressed { transform: translate(var(--shadow), var(--shadow)); box-shadow: 0 0 0 var(--black); }
.card:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (hover: hover) { .card:hover { transform: translate(-2px, -2px); box-shadow: calc(var(--shadow) + 2px) calc(var(--shadow) + 2px) 0 var(--black); } }

.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.arrow { font-family: var(--display); font-size: 22px; line-height: 1; }
.card h3 { font-family: var(--display); font-size: 26px; line-height: 1.05; margin-top: 10px; letter-spacing: -.01em; }
.card p { font-size: 15px; margin-top: 6px; font-weight: 500; }

.btn {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: 16px; min-height: 52px; padding: 0 16px;
  background: var(--black); color: var(--ink);
  font-weight: 700; font-size: 16px; border-radius: 10px;
}

/* Destacada */
.featured { background: var(--teal); box-shadow: var(--shadow) var(--shadow) 0 var(--pink); }
.featured:active, .featured.pressed { box-shadow: 0 0 0 var(--pink); }
@media (hover: hover) { .featured:hover { box-shadow: calc(var(--shadow) + 2px) calc(var(--shadow) + 2px) 0 var(--pink); } }
.featured h3 { font-size: 30px; }
.btn-tg-dl { display: flex; justify-content: center; margin-top: 10px; padding: 10px 16px; border-radius: 10px; font-size: 13px; background: #229ED9; color: white; text-decoration: none; border: 2px solid var(--black); box-shadow: 3px 3px 0 var(--black); }
.btn-tg-dl:active { transform: translate(3px,3px); box-shadow: 0 0 0 var(--black); }
.app-card { background: var(--yellow); color: var(--black); box-shadow: var(--shadow) var(--shadow) 0 var(--pink); }
.app-card:active, .app-card.pressed { box-shadow: 0 0 0 var(--pink); }
@media (hover: hover) { .app-card:hover { box-shadow: calc(var(--shadow) + 2px) calc(var(--shadow) + 2px) 0 var(--pink); } }
.app-card .kicker { color: var(--black); opacity: .8; }
.app-badge { background: var(--pink); color: white; padding: 2px 6px; border-radius: 4px; font-size: 10px; letter-spacing: .1em; }
.btn-app { background: var(--black); color: var(--yellow); }
.app-card[aria-label*="Próximamente"] .btn-app::after { content: " · PRONTO"; font-size: .8em; opacity: .7; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); border: 2px solid var(--black); animation: pulse 1.6s ease-out infinite; }

.deal {
  display: grid; gap: 8px;
  margin-top: 14px; padding: 12px 14px;
  background: rgba(255,255,255,.92); border: 2px dashed var(--black); border-radius: 10px;
  animation: pop .35s ease-out both;
}
.deal-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.deal-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--pink); }
.deal-top time { font-size: 12px; color: #555; white-space: nowrap; }
.deal-main { display: flex; gap: 12px; align-items: center; }
.deal-main img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 2px solid var(--black); flex: none; }
.deal-info { display: grid; gap: 4px; min-width: 0; }
.deal-info strong { font-size: 16px; line-height: 1.2; }
.deal-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-variant-numeric: tabular-nums; }
.deal-price b { font-family: var(--display); font-size: 22px; line-height: 1; }
.deal-price s { font-size: 14px; color: #666; }
.deal-pct { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--pink); padding: 2px 7px; border-radius: 4px; }
.deal-where, .deal-detail { font-size: 13px; color: #444; }

/* Caminos */
.paths { display: grid; gap: 18px; margin-top: 22px; }
.path.pink { background: var(--pink); color: var(--ink); }
.path.pink .btn { background: var(--ink); color: var(--black); }
.path.teal { background: var(--bg-2); color: var(--ink); border-color: var(--teal); box-shadow: var(--shadow) var(--shadow) 0 var(--teal); }
.path.teal:active, .path.teal.pressed { box-shadow: 0 0 0 var(--teal); }
.path.teal .btn { background: var(--teal); color: var(--black); }
.path.pink { box-shadow: var(--shadow) var(--shadow) 0 var(--teal); }
.path.pink:active, .path.pink.pressed { box-shadow: 0 0 0 var(--teal); }
.path.hud { background: #14100B; color: var(--ink); border-color: #FF8A1F; box-shadow: var(--shadow) var(--shadow) 0 #FF8A1F; }
.path.hud:active, .path.hud.pressed { box-shadow: 0 0 0 #FF8A1F; }
.path.hud .btn { background: #FF8A1F; color: var(--black); }
.path.hud .progress .bar { border-color: #FF8A1F; }
.path.hud .progress .fill { background: repeating-linear-gradient(90deg, #FF8A1F 0 8px, transparent 8px 10px); }
.path.hud .progress .meta { color: #FF8A1F; }
.path.white { background: var(--ink); box-shadow: var(--shadow) var(--shadow) 0 var(--pink); }
.path.white:active, .path.white.pressed { box-shadow: 0 0 0 var(--pink); }

.path .icon { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 10px; }
.path .icon svg { width: 24px; height: 24px; }
.path .row { display: flex; gap: 14px; align-items: flex-start; }
.path .row > div { flex: 1; min-width: 0; }
.path h3 { margin-top: 2px; font-size: 22px; }
.path .kicker { font-size: 11px; opacity: .85; }

.progress { margin-top: 14px; }
.progress .bar { height: 14px; border: 2px solid var(--teal); border-radius: 4px; padding: 2px; }
.progress .fill {
  height: 100%; width: 0; border-radius: 1px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 10px);
  transition: width 1.2s cubic-bezier(.2,.8,.2,1);
}
.progress .meta { display: flex; justify-content: space-between; margin-top: 8px; color: var(--teal); }

/* Apoyo */
.support {
  margin-top: 22px; padding: 18px;
  background: var(--black); color: var(--ink);
  border: var(--line) solid var(--yellow); border-radius: var(--radius);
  box-shadow: var(--shadow) var(--shadow) 0 var(--pink);
  display: grid; gap: 12px;
  background-image: radial-gradient(circle at 18% 0%, rgba(255,225,77,.16), transparent 55%);
}
.sup-head { display: flex; gap: 14px; align-items: center; }
.sup-head .kicker { color: var(--yellow); font-size: 11px; }
.support h3 { font-family: var(--display); font-size: 24px; line-height: 1.05; margin-top: 4px; }
.support > p { color: var(--muted); font-size: 15px; font-weight: 500; }
.flame { position: relative; width: 44px; height: 44px; flex: none; border: 2px solid var(--yellow); border-radius: 10px; display: grid; place-items: center; }
.flame i { position: absolute; bottom: 9px; width: 8px; background: var(--yellow); animation: flick 1.2s steps(3) infinite; }
.flame i:nth-child(1) { height: 18px; left: 12px; background: #FF9A3D; animation-delay: -.4s; }
.flame i:nth-child(2) { height: 26px; left: 18px; }
.flame i:nth-child(3) { height: 14px; left: 24px; background: #FF9A3D; animation-delay: -.8s; }
@keyframes flick { 50% { transform: scaleY(.75); transform-origin: bottom; } }
.goal { display: grid; gap: 8px; padding: 12px; border: 2px dashed rgba(255,225,77,.4); border-radius: 10px; }
.goal-top { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 14px; }
.goal-top b { color: var(--yellow); font-variant-numeric: tabular-nums; }
.goal .bar { height: 14px; border: 2px solid var(--yellow); border-radius: 4px; padding: 2px; }
.goal .fill { height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--yellow) 0 8px, transparent 8px 10px); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.goal-meta { display: flex; justify-content: space-between; color: var(--muted); font-variant-numeric: tabular-nums; }
.pay-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 4px; }
.pay-head small { color: var(--muted); font-size: 12px; }
.pay-name { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 15px; }
.pay-name::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mp); }
.pay-name.mp { --mp: #00B1EA; }
.pay-name.kofi { --mp: #FF5E5B; }
.paths-end { margin-top: 26px; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.tier {
  display: grid; justify-items: center; gap: 2px; padding: 12px 6px; min-height: 64px;
  background: var(--yellow); color: var(--black);
  border: 2px solid var(--black); border-radius: 10px; box-shadow: 3px 3px 0 var(--pink);
  transition: transform .12s, box-shadow .12s;
}
.tier b { font-family: var(--display); font-size: 18px; font-variant-numeric: tabular-nums; }
.tier small { font-size: 11px; font-weight: 700; text-align: center; line-height: 1.2; }
.tier:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--pink); }
.tier:focus-visible, .sup-intl:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sup-intl { margin-top: 0; flex-direction: column; gap: 0; background: var(--ink); color: var(--black); padding: 8px 16px; }
.sup-intl small { font-size: 12px; font-weight: 500; color: #444; }

/* Demo de regalo */
.demo {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px;
  padding: 22px 14px 12px; margin-top: 8px;
  background: var(--teal); color: var(--black);
  border: 2px solid var(--black); border-radius: 10px; box-shadow: 4px 4px 0 var(--pink);
}
.demo-badge {
  position: absolute; top: -10px; left: 12px; font-size: 8px; padding: 4px 7px;
  background: var(--pink); color: var(--ink); border: 2px solid var(--black); transform: rotate(-3deg);
  animation: gg-glitch 5s steps(1) 2s infinite;
}
.demo-txt { display: grid; gap: 1px; min-width: 0; }
.demo-txt b { font-family: var(--display); font-size: 17px; line-height: 1.15; }
.demo-txt small { font-size: 13px; font-weight: 700; }
.demo-plat { display: flex; gap: 6px; }
.demo-plat svg { width: 26px; height: 26px; }
.proof { display: grid; gap: 8px; padding: 12px; border: 2px dashed rgba(255,255,255,.22); border-radius: 10px; }
.proof p { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.step { flex: none; display: grid; place-items: center; width: 22px; height: 22px; background: var(--yellow); color: var(--black); border-radius: 4px; font-size: 9px; }
.proof-btn { margin-top: 0; min-height: 48px; background: #2AABEE; color: var(--ink); }
.proof-btn svg { width: 20px; height: 20px; }
.kofi-note { font-size: 13px; color: var(--muted); }

/* Redes */
.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.social {
  display: grid; justify-items: center; gap: 6px;
  padding: 14px 6px; border-radius: 12px;
  background: var(--bg-2); border: 2px solid rgba(255,255,255,.14);
  transition: border-color .15s, transform .12s;
}
.social:active { transform: scale(.96); }
.social:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (hover: hover) { .social:hover { border-color: var(--teal); } }
.social svg { width: 26px; height: 26px; }
.social b { font-size: 13px; }
.social small { font-size: 11px; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.foot { display: grid; justify-items: center; gap: 8px; margin-top: 36px; color: var(--muted); font-size: 12px; text-align: center; }

/* Entrada */
.reveal { animation: rise .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

@keyframes blink { 50% { opacity: .2; } }
@keyframes float { 50% { transform: translateY(-6px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(236,28,122,.7); } 100% { box-shadow: 0 0 0 10px rgba(236,28,122,0); } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Orden: juego → apoyo → canal → tienda */
.section-title + .paths { margin-top: 0; }
.support + .featured { margin-top: 22px; }
