/* MineCreep — premium dark purple */
@font-face { font-family: 'Unbounded'; src: url(/assets/fonts/unbounded-latin-wght-normal.woff2) format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Pixelify'; src: url(/assets/fonts/pixelify-sans-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

:root {
  --bg: #0b0714;
  --bg-2: #120b20;
  --panel: rgba(28, 17, 48, .62);
  --panel-solid: #170e29;
  --line: rgba(196, 160, 255, .14);
  --line-2: rgba(196, 160, 255, .26);
  --text: #f3eefe;
  --muted: #a99bc4;
  --dim: #7a6c96;
  --p1: #c084fc;
  --p2: #a855f7;
  --p3: #7c3aed;
  --p4: #5b21b6;
  --pink: #f0abfc;
  --ok: #4ade80;
  --bad: #f87171;
  --grad: linear-gradient(100deg, #e9d5ff 0%, #c084fc 35%, #a855f7 60%, #f0abfc 100%);
  --r: 20px;
  --r-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(76, 29, 149, .6);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
  --pixel: 'Pixelify', ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.6 var(--body); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
code { font-family: var(--pixel); color: var(--p1); }
::selection { background: var(--p2); color: #fff; }
:focus-visible { outline: 2px solid var(--p1); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--p2); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(560px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Fondo ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid { position: absolute; inset: -2px; background-image: linear-gradient(rgba(168, 85, 247, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(168, 85, 247, .07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.o1 { width: 620px; height: 620px; background: #6d28d9; top: -260px; left: -140px; }
.o2 { width: 520px; height: 520px; background: #a21caf; top: 10%; right: -220px; opacity: .35; animation-delay: -8s; }
.o3 { width: 700px; height: 500px; background: #3b0764; bottom: -300px; left: 30%; opacity: .6; animation-delay: -14s; }
.bg-noise { position: absolute; inset: 0; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.08); } }

/* ---------- Botones ---------- */
.btn { --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 22px; border-radius: 14px; border: 1px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s; position: relative; isolation: isolate; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: linear-gradient(180deg, #b26bff, #7c3aed); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -3px 0 rgba(0, 0, 0, .25) inset, 0 12px 30px -10px rgba(168, 85, 247, .8); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -3px 0 rgba(0, 0, 0, .25) inset, 0 18px 40px -10px rgba(192, 132, 252, .95); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(168, 85, 247, .14); border-color: rgba(192, 132, 252, .55); transform: translateY(-2px); }
.btn-sm { --h: 40px; padding: 0 14px; font-size: 14px; border-radius: 11px; gap: 7px; }
.btn-lg { --h: 58px; font-size: 16px; }
.btn-block { width: 100%; }
.btn.is-done { background: linear-gradient(180deg, #4ade80, #16a34a); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: .2s; }
.icon-btn:hover { background: rgba(168, 85, 247, .18); border-color: var(--line-2); }
.link-btn { background: none; border: 0; padding: 0; color: var(--p1); font-weight: 700; font-size: 14px; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: padding .3s var(--ease); }
.nav-inner { width: min(1240px, 100% - 24px); margin-inline: auto; display: flex; align-items: center; gap: 18px; padding: 8px 10px 8px 12px; border-radius: 20px; border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.nav.is-stuck .nav-inner { background: rgba(16, 9, 30, .72); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 20px 50px -25px rgba(0, 0, 0, .8); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 4px 14px rgba(168, 85, 247, .55)); transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand b { color: var(--p1); font-weight: 800; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { position: relative; padding: 9px 14px; border-radius: 11px; font-weight: 700; font-size: 14.5px; color: var(--muted); transition: color .2s, background .2s; display: inline-flex; align-items: center; gap: 7px; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; border-radius: 3px; transform: translateX(-50%); background: var(--grad); box-shadow: 0 0 12px var(--p2); }
.nav-discord { color: #c7cbff !important; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.ip-chip { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(124, 58, 237, .12); font-family: var(--pixel); font-size: 15px; letter-spacing: .03em; transition: .2s; }
.ip-chip:hover { background: rgba(124, 58, 237, .28); border-color: var(--p1); }
.ip-chip .ico { opacity: .7; width: 16px; }
.ip-chip-lg { height: 48px; font-size: 17px; margin-top: 18px; }
.dot, .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.is-online .dot, .is-online .live-dot, .dot.is-online, .live-dot.is-online { background: var(--ok); box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: ping 2s infinite; }
.dot.is-offline, .live-dot.is-offline { background: var(--bad); }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.player-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 9px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.player-chip img { border-radius: 5px; image-rendering: pixelated; }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: .2s; }
.cart-btn:hover, .cart-btn.is-active { background: rgba(168, 85, 247, .2); border-color: var(--line-2); }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--p2); color: #fff; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--bg), 0 0 14px var(--p2); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.menu-btn { display: none; width: 44px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); place-items: center; }

.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(5, 2, 12, .6); backdrop-filter: blur(8px); animation: fade .25s; }
.drawer-panel { position: absolute; inset: 10px 10px 10px auto; width: min(420px, calc(100% - 20px)); background: linear-gradient(170deg, #1d1035, #0f0820 60%); border: 1px solid var(--line-2); border-radius: 26px; padding: 72px 24px 24px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow); animation: slideIn .4s var(--ease); }
.drawer-close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); display: grid; place-items: center; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { display: flex; align-items: baseline; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: clamp(26px, 8vw, 34px); letter-spacing: -.03em; opacity: 0; transform: translateX(24px); animation: itemIn .5s var(--ease) forwards; animation-delay: calc(80ms + var(--i) * 55ms); }
.drawer nav a small { font-family: var(--pixel); font-size: 13px; color: var(--p1); width: 26px; }
.drawer nav a[aria-current="page"] { color: var(--p1); }
@keyframes fade { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
@keyframes itemIn { to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--pixel); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--p1); margin-bottom: 18px; }
.pix { color: var(--pink); }
.hero-title { font-size: clamp(42px, 6.6vw, 86px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.hero-title .line { display: block; }
.hero-lead { max-width: 540px; margin-top: 22px; font-size: 18px; color: var(--muted); }
.join-card { margin-top: 32px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px 18px; max-width: 560px; padding: 16px 16px 16px 22px; border-radius: var(--r); background: linear-gradient(135deg, rgba(124, 58, 237, .22), rgba(28, 17, 48, .7)); border: 1px solid var(--line-2); backdrop-filter: blur(14px); box-shadow: var(--shadow), 0 1px 0 rgba(255, 255, 255, .08) inset; position: relative; overflow: hidden; }
.join-card::before { content: ''; position: absolute; inset: -1px; background: linear-gradient(100deg, transparent 30%, rgba(240, 171, 252, .18) 50%, transparent 70%); transform: translateX(-100%); animation: shine 5s 1.5s infinite; pointer-events: none; }
@keyframes shine { 30%, 100% { transform: translateX(100%); } }
.join-ip small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.join-ip strong { font-family: var(--pixel); font-size: clamp(20px, 3vw, 26px); letter-spacing: .02em; word-break: break-all; }
.join-status { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--line); }
.live { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.live b { color: var(--text); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-ctas.center { justify-content: center; margin-top: 28px; }

.hero-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; perspective: 1000px; }
.hero-logo { width: 88%; position: relative; z-index: 2; filter: drop-shadow(0 30px 60px rgba(124, 58, 237, .55)); animation: float 6s ease-in-out infinite; transform-style: preserve-3d; transition: transform .25s ease-out; }
@keyframes float { 50% { translate: 0 -14px; } }
.hero-ring { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .45), transparent 62%); filter: blur(10px); animation: pulse 5s ease-in-out infinite; }
.hero-ring.r2 { inset: 0; background: none; border: 1px dashed rgba(192, 132, 252, .25); filter: none; animation: spin 60s linear infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .8; } }
@keyframes spin { to { transform: rotate(360deg); } }
.float-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(20, 11, 36, .78); border: 1px solid var(--line-2); backdrop-filter: blur(14px); font-size: 14px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow); animation: float 7s ease-in-out infinite; }
.float-chip b { color: var(--text); font-family: var(--display); }
.float-chip .ico { color: var(--p1); width: 20px; height: 20px; }
.fc1 { left: -2%; bottom: 18%; animation-delay: -2s; }
.fc2 { right: 0; top: 14%; animation-delay: -4s; }

.stats { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(14px); overflow: hidden; }
.stat { padding: 22px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(20px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Secciones ---------- */
.section { padding: 90px 0; }
.section.tight { padding: 20px 0 90px; }
.section-head { margin-bottom: 40px; max-width: 760px; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.04em; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento-card { position: relative; padding: 28px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(12px); overflow: hidden; transition: transform .35s var(--ease), border-color .3s; }
.bento-card.big { grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; background: radial-gradient(120% 80% at 0% 0%, rgba(168, 85, 247, .35), transparent 60%), var(--panel); }
.bento-card.big h3 { font-size: 30px; }
.bento-card.big p { font-size: 17px; }
.bento-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.bento-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(145deg, rgba(192, 132, 252, .3), rgba(124, 58, 237, .12)); border: 1px solid var(--line-2); color: var(--p1); }
.bento-card.big .bento-ico { margin-bottom: auto; width: 64px; height: 64px; }
.bento-ico .ico { width: 24px; height: 24px; }
.bento-card h3 { font-size: 20px; margin-bottom: 10px; }
.bento-card p { color: var(--muted); }
[data-glow]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mx, -100%) var(--my, -100%), rgba(192, 132, 252, .14), transparent 45%); opacity: 0; transition: opacity .3s; }
[data-glow]:hover::after { opacity: 1; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 30px 28px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(124, 58, 237, .1), transparent), var(--panel); }
.step-n { font-family: var(--pixel); font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--p1); display: block; margin-bottom: 20px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); }
.steps b { color: var(--text); font-family: var(--pixel); font-weight: 600; }

.cta-banner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 56px 300px 56px 56px; border-radius: 30px; background: radial-gradient(80% 140% at 100% 50%, rgba(240, 171, 252, .25), transparent 60%), linear-gradient(120deg, #4c1d95, #2e1065 60%, #1e0b3a); border: 1px solid rgba(240, 171, 252, .3); box-shadow: var(--shadow); }
.cta-banner h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.04em; }
.cta-banner p { margin-top: 10px; color: #dccdf7; font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-logo { position: absolute; right: 30px; bottom: -40px; width: 250px; transform: rotate(8deg); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }

/* ---------- Páginas internas ---------- */
.page-hero { padding: 50px 0 40px; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 800; letter-spacing: -.045em; max-width: 900px; }
.page-hero.center h1 { margin-inline: auto; }
.page-lead { margin-top: 16px; max-width: 640px; color: var(--muted); font-size: 18px; }
.page-hero.center .page-lead { margin-inline: auto; }
.page-lead p + p { margin-top: 10px; }
.demo-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; color: #fde68a; background: rgba(250, 204, 21, .08); border: 1px solid rgba(250, 204, 21, .25); }
.fine { margin-top: 14px; font-size: 13px; color: var(--dim); display: flex; gap: 8px; align-items: center; }
.center .fine, p.fine.center { justify-content: center; }
.fine a { color: var(--p1); }
.empty { padding: 50px 30px; text-align: center; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--muted); display: grid; gap: 20px; justify-items: center; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; margin-bottom: 18px; }
.back:hover { color: var(--text); }

/* ---------- Tienda ---------- */
.store { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.store-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.cat-nav { display: grid; gap: 4px; padding: 8px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.cat-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 700; color: var(--muted); transition: .2s; }
.cat-nav a span { margin-left: auto; font-size: 12px; padding: 2px 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.cat-nav a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.cat-nav a[aria-current="page"] { color: #fff; background: linear-gradient(135deg, rgba(168, 85, 247, .45), rgba(124, 58, 237, .25)); box-shadow: 0 0 0 1px rgba(192, 132, 252, .4) inset; }
.cat-nav a[aria-current="page"] .ico { color: var(--pink); }
.side-card { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.side-card h4 { font-size: 15px; display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.side-card h4 .ico { color: var(--ok); }
.side-card p { font-size: 14px; color: var(--muted); }
.store-section + .store-section { margin-top: 50px; }
.store-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.store-section-head h2 { font-size: 26px; display: flex; align-items: center; gap: 12px; }
.store-section-head h2 .ico { color: var(--p1); }
.store-section-head a { display: inline-flex; gap: 6px; align-items: center; color: var(--p1); font-weight: 700; font-size: 14px; }

.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.pkg { --c1: #a855f7; --c2: #6d28d9; position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--panel-solid); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.pkg:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c1) 60%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c1) 80%, transparent); }
.tier-1 { --c1: #a78bfa; --c2: #4c1d95; }
.tier-2 { --c1: #c084fc; --c2: #6b21a8; }
.tier-3 { --c1: #f0abfc; --c2: #86198f; }
.tier-4 { --c1: #fcd34d; --c2: #7c2d12; }
.pkg-media { position: relative; aspect-ratio: 16 / 11; display: grid; place-items: center; background: radial-gradient(90% 90% at 50% 100%, color-mix(in srgb, var(--c1) 45%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--c2) 60%, #0b0714), #0f0820); overflow: hidden; }
.pkg-media img { width: 70%; height: 80%; object-fit: contain; transition: transform .5s var(--ease); }
.pkg:hover .pkg-media img, .pkg:hover .pkg-placeholder { transform: scale(1.08) rotate(-3deg); }
.pkg-placeholder { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 22px; background: linear-gradient(145deg, color-mix(in srgb, var(--c1) 70%, #fff 0%), var(--c2)); box-shadow: 0 -5px 0 rgba(0, 0, 0, .3) inset, 0 4px 0 rgba(255, 255, 255, .25) inset, 0 20px 40px -10px color-mix(in srgb, var(--c1) 80%, transparent); transition: transform .5s var(--ease); }
.pkg-placeholder .ico { width: 44px; height: 44px; color: #fff; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .3)); }
.pkg-placeholder span { position: absolute; right: -10px; bottom: -10px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--pixel); font-size: 18px; background: #0b0714; border: 1px solid var(--line-2); color: var(--c1); }
.pkg-placeholder.big { width: 160px; height: 160px; border-radius: 34px; }
.pkg-placeholder.big .ico { width: 72px; height: 72px; }
.pkg-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 8px; background: var(--ok); color: #052e16; font-weight: 800; font-size: 12px; }
.pkg-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.pkg-body h3 { font-size: 18px; }
.pkg-body h3 a:hover { color: var(--c1); }
.pkg-desc { margin: 8px 0 16px; font-size: 14px; color: var(--muted); flex: 1; }
.pkg-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price b { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; }
.price s { font-size: 13px; color: var(--dim); }
.price.big b { font-size: 36px; }
.price.big { margin: 14px 0 22px; }

.pkg-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; padding: 24px; border-radius: 26px; background: var(--panel-solid); border: 1px solid var(--line); }
.pkg-detail-media { border-radius: 20px; display: grid; place-items: center; min-height: 360px; background: radial-gradient(90% 90% at 50% 100%, color-mix(in srgb, var(--c1) 45%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--c2) 60%, #0b0714), #0f0820); }
.pkg-detail-media img { max-width: 70%; max-height: 300px; object-fit: contain; }
.pkg-detail-body h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.04em; }
.pkg-detail-body .eyebrow { margin-bottom: 10px; }
.rich { color: var(--muted); }
.rich ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.rich li { position: relative; padding-left: 28px; }
.rich li::before { content: ''; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 3px; background: var(--c1); box-shadow: 0 0 12px var(--c1); }
.rich b, .rich strong { color: var(--text); }
.rich img { border-radius: 12px; margin: 10px 0; }
.rich a { color: var(--p1); text-decoration: underline; }
.buy-row { display: flex; align-items: flex-end; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.qty { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.qty input { width: 90px; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text); font: 700 16px var(--body); text-align: center; }

/* ---------- Login / carrito ---------- */
.login-card { position: relative; text-align: center; padding: 40px 34px; border-radius: 28px; background: linear-gradient(180deg, rgba(124, 58, 237, .18), rgba(23, 14, 41, .9)); border: 1px solid var(--line-2); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.login-card h1 { font-size: clamp(28px, 4.4vw, 40px); }
.login-head { display: grid; place-items: center; margin: -10px auto 18px; height: 150px; }
.login-head img { height: 140px; width: auto; filter: drop-shadow(0 14px 24px rgba(124, 58, 237, .6)); image-rendering: pixelated; transition: opacity .25s; }
.login-form { margin-top: 26px; display: grid; gap: 16px; text-align: left; }
.field { display: grid; gap: 8px; font-weight: 700; font-size: 14px; color: var(--muted); }
.field input, .coupon-form input { height: 56px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5, 2, 12, .55); color: var(--text); font: 600 18px var(--pixel); letter-spacing: .03em; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .coupon-form input:focus { outline: none; border-color: var(--p1); box-shadow: 0 0 0 4px rgba(168, 85, 247, .2); }
.form-error { padding: 12px 16px; border-radius: 12px; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); color: #fecaca; font-weight: 600; font-size: 14px; margin: 16px 0; }
.big-check { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 26px; display: grid; place-items: center; background: linear-gradient(145deg, #4ade80, #15803d); box-shadow: 0 20px 40px -10px rgba(74, 222, 128, .6); }
.big-check .ico { width: 42px; height: 42px; color: #fff; stroke-width: 3; }

.cart { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.cart-items { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto auto; align-items: center; gap: 16px; padding: 14px; border-radius: 18px; background: var(--panel-solid); border: 1px solid var(--line); }
.cart-thumb { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(168, 85, 247, .4), rgba(76, 29, 149, .4)); overflow: hidden; }
.cart-thumb img { width: 80%; height: 80%; object-fit: contain; }
.cart-thumb .ico { width: 28px; height: 28px; color: var(--p1); }
.cart-info h3 { font-size: 16px; }
.cart-info span { font-size: 14px; color: var(--muted); }
.cart-price { font-family: var(--display); font-size: 18px; }
.cart-summary { position: sticky; top: 100px; padding: 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(124, 58, 237, .18), var(--panel-solid)); border: 1px solid var(--line-2); display: grid; gap: 18px; }
.summary-player { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary-player img { border-radius: 8px; image-rendering: pixelated; }
.summary-player small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.summary-player b { font-family: var(--pixel); font-size: 18px; }
.summary-player a { color: var(--p1); font-weight: 700; }
.summary-player form { margin-left: auto; }
.summary-lines { display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.summary-lines > div { display: flex; justify-content: space-between; align-items: center; }
.summary-lines .total { padding-top: 12px; border-top: 1px solid var(--line); color: var(--text); font-weight: 700; }
.summary-lines .total b { font-family: var(--display); font-size: 26px; }
.coupon-line span { display: inline-flex; gap: 6px; align-items: center; color: var(--ok); font-weight: 700; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { flex: 1; min-width: 0; height: 40px; font-size: 14px; padding: 0 12px; border-radius: 11px; }

/* ---------- Estado ---------- */
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.status-card { padding: 26px; border-radius: 24px; background: var(--panel-solid); border: 1px solid var(--line); display: grid; gap: 18px; position: relative; overflow: hidden; }
.status-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--dim); transition: background .4s; }
.status-card.is-online::before { background: linear-gradient(90deg, var(--ok), #22d3ee); }
.status-card.is-offline::before { background: var(--bad); }
.status-card header { display: flex; align-items: center; gap: 16px; }
.status-card header .icon-btn { margin-left: auto; }
.status-ico img { width: 56px; height: 56px; border-radius: 14px; image-rendering: pixelated; }
.status-card small { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.status-card h2 { font-family: var(--pixel); font-weight: 600; font-size: 22px; letter-spacing: .02em; word-break: break-all; }
.status-meter { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.status-meter div { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--p3), var(--p1), var(--pink)); transition: width 1s var(--ease); box-shadow: 0 0 16px var(--p2); }
.status-data { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0; }
.status-data div { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.status-data dt { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.status-data dd { margin: 4px 0 0; font-family: var(--display); font-weight: 700; font-size: 18px; }
.motd { padding: 16px; border-radius: 14px; background: #05030a; border: 1px solid var(--line); font-family: var(--pixel); font-size: 16px; line-height: 1.4; white-space: pre-wrap; text-align: center; }
.player-list { display: flex; flex-wrap: wrap; gap: 8px; }
.player-list span { display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px 6px 6px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.player-list img { width: 22px; height: 22px; border-radius: 5px; image-rendering: pixelated; }

/* ---------- Normas ---------- */
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rule { position: relative; padding: 30px; border-radius: 22px; background: var(--panel-solid); border: 1px solid var(--line); scroll-margin-top: 110px; }
.rule-n { position: absolute; top: 20px; right: 24px; font-family: var(--pixel); font-size: 40px; color: transparent; -webkit-text-stroke: 1.2px rgba(192, 132, 252, .45); }
.rule h2 { font-size: 22px; margin-bottom: 16px; max-width: 80%; }
.rule ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.rule li { padding-left: 24px; position: relative; }
.rule li::before { content: ''; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--p2); border-radius: 2px; }
.rule:target { border-color: var(--p1); box-shadow: 0 0 0 4px rgba(168, 85, 247, .15); }

.nf-code { font-family: var(--pixel); font-size: clamp(100px, 20vw, 200px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 10px 40px rgba(168, 85, 247, .5)); }

/* ---------- Footer ---------- */
.footer { margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(76, 29, 149, .18)); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 88px; filter: drop-shadow(0 8px 20px rgba(124, 58, 237, .5)); }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 320px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--p1); margin-bottom: 14px; }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 10px; }
.footer-grid a { color: var(--muted); font-weight: 600; }
.footer-grid a:hover { color: var(--text); }
.footer-legal { margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 10px; width: min(420px, calc(100% - 24px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: rgba(23, 14, 41, .95); border: 1px solid var(--line-2); box-shadow: var(--shadow); backdrop-filter: blur(14px); font-weight: 600; animation: toastIn .4s var(--ease); }
.toast .ico { color: var(--ok); }
.toast.err .ico { color: var(--bad); }
.toast a { margin-left: auto; color: var(--p1); font-weight: 800; white-space: nowrap; }
.toast.out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; margin: -10px auto -20px; width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.big { grid-column: span 2; min-height: 220px; }
  .store { grid-template-columns: 1fr; }
  .store-side { position: static; }
  .cat-nav { display: flex; overflow-x: auto; scrollbar-width: none; }
  .cat-nav a { white-space: nowrap; }
  .side-card { display: none; }
  .cart { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cta-banner { padding: 44px 36px 200px; }
  .cta-logo { width: 200px; right: 50%; transform: translateX(50%) rotate(6deg); bottom: -50px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 28px); }
  .ip-chip:not(.ip-chip-lg) .ip-chip-text, .player-chip { display: none; }
  .ip-chip:not(.ip-chip-lg) { width: 44px; padding: 0; justify-content: center; }
  .ip-chip:not(.ip-chip-lg) .ico { display: none; }
  .brand span { font-size: 17px; }
  .hero { padding-top: 10px; }
  .hero-lead { font-size: 16px; }
  .join-card { grid-template-columns: 1fr; padding: 18px; }
  .join-card .btn { width: 100%; }
  .hero-ctas .btn { flex: 1; }
  .float-chip { font-size: 12px; padding: 9px 12px; }
  .fc1 { left: 0; bottom: 8%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 64px 0; }
  .bento, .steps, .rules { grid-template-columns: 1fr; }
  .bento-card.big { grid-column: auto; }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pkg-body { padding: 14px; }
  .pkg-desc { display: none; }
  .pkg-foot { flex-direction: column; align-items: stretch; margin-top: 10px; }
  .pkg-foot .btn { width: 100%; }
  .pkg-placeholder { width: 70px; height: 70px; border-radius: 18px; }
  .pkg-placeholder .ico { width: 32px; height: 32px; }
  .pkg-detail { grid-template-columns: 1fr; padding: 14px; }
  .pkg-detail-media { min-height: 240px; }
  .cart-item { grid-template-columns: 52px 1fr auto; }
  .cart-item .cart-thumb { width: 52px; height: 52px; }
  .cart-price { grid-column: 2; grid-row: 2; font-size: 16px; }
  .cart-item form { grid-column: 3; grid-row: 1 / 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-banner { padding: 36px 24px 190px; border-radius: 24px; }
  .cta-actions .btn { flex: 1; }
  .login-card { padding: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
