/* ───────────── Íconico Roleplay ───────────── */
:root {
  --bg: #050914;
  --bg-2: #0a1224;
  --card: rgba(14, 24, 48, 0.78);
  --card-solid: #0f1a33;
  --line: rgba(140, 190, 255, 0.14);
  --line-strong: rgba(140, 190, 255, 0.32);
  --text: #e8f0ff;
  --muted: #8ea3c8;
  --ice: #3b9dff;
  --cyan: #00e5ff;
  --silver: #dfe7f5;
  --ok: #34d399;
  --warn: #fbbf24;
  --off: #64748b;
  --kick: #53fc18;
  --radius: 22px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --font-display: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --font: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
code { background: rgba(59, 157, 255, 0.14); padding: 2px 7px; border-radius: 6px; color: var(--cyan); font-size: 0.92em; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.8rem; }

/* ───────── Fondo vivo ───────── */
#dust { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora span {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  opacity: 0.3; will-change: transform;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { background: radial-gradient(circle, rgba(31, 111, 255, 0.9), rgba(31, 111, 255, 0.25) 35%, transparent 68%); top: -25vmax; left: -15vmax; }
.aurora span:nth-child(2) { background: radial-gradient(circle, rgba(0, 200, 255, 0.85), rgba(0, 200, 255, 0.2) 35%, transparent 68%); top: 30vh; right: -25vmax; animation-duration: 32s; opacity: 0.22; }
.aurora span:nth-child(3) { background: radial-gradient(circle, rgba(106, 77, 255, 0.85), rgba(106, 77, 255, 0.2) 35%, transparent 68%); bottom: -30vmax; left: 20vw; animation-duration: 38s; opacity: 0.18; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 4vh) scale(1.08); }
  100% { transform: translate(-4vw, -3vh) scale(0.95); }
}
main, .footer, .nav { position: relative; z-index: 1; }

/* ───────── Botones ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-weight: 700; text-decoration: none; cursor: pointer; font-family: var(--font);
  font-size: 1rem; color: var(--text); background: transparent;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-glow {
  border: 0; color: #031027;
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(110deg, var(--ice), var(--cyan) 55%, #9fdcff);
  box-shadow: 0 10px 40px -10px rgba(59, 157, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-glow::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%); animation: sheen 4.5s ease-in-out infinite;
}
.btn-glow:hover { box-shadow: 0 16px 50px -10px rgba(0, 229, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-ghost { background: rgba(255, 255, 255, 0.05); }
.btn-ghost:hover { border-color: var(--ice); background: rgba(59, 157, 255, 0.1); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ───────── Navegación ───────── */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px)); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  background: rgba(8, 14, 30, 0.55); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled { background: rgba(6, 11, 24, 0.85); box-shadow: var(--shadow); }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.12em; }
.nav-brand img { filter: drop-shadow(0 2px 8px rgba(59, 157, 255, 0.5)); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { text-decoration: none; color: var(--muted); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(59, 157, 255, 0.12); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.basket-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--text);
  font: 700 0.9rem var(--font); cursor: pointer;
}
.basket-btn b { min-width: 18px; }
.basket-btn.bump { animation: bump 0.5s; }
@keyframes bump { 40% { transform: scale(1.18); } }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, top 0.3s; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ───────── Hero ───────── */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 20px 80px; position: relative;
}
.hero-logo { position: relative; width: clamp(150px, 22vw, 230px); aspect-ratio: 1; margin-bottom: 18px; cursor: pointer; }
.hero-logo img {
  position: relative; width: 100%; height: 100%; object-fit: contain;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 18px 40px rgba(59, 157, 255, 0.45));
}
.ring {
  position: absolute; inset: -6%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 55%, rgba(0, 229, 255, 0.9) 70%, transparent 80% 100%);
  -webkit-mask: radial-gradient(circle, transparent 66%, #000 67.5%, #000 69%, transparent 70.5%);
  mask: radial-gradient(circle, transparent 66%, #000 67.5%, #000 69%, transparent 70.5%);
  animation: spin 7s linear infinite;
}
.ring-2 { inset: -14%; animation-duration: 13s; animation-direction: reverse; opacity: 0.55; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow { padding: 7px 16px; border-radius: 999px; background: rgba(0, 229, 255, 0.08); border: 1px solid rgba(0, 229, 255, 0.25); letter-spacing: 0.08em; text-transform: none; font-size: 0.9rem; color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--off); box-shadow: 0 0 0 0 currentColor; flex: none; }
.dot.on { background: var(--ok); color: rgba(52, 211, 153, 0.6); animation: pulse 2s infinite; }
.dot.down { background: #f87171; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 100% { box-shadow: 0 0 0 10px transparent; } }
.hero-title { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.shine {
  font-size: clamp(3rem, 11vw, 8.5rem); font-weight: 800; letter-spacing: 0.06em; line-height: 1;
  background: linear-gradient(110deg, #9aa9c4 0%, #ffffff 22%, #a9d2ff 35%, #ffffff 48%, #8fa1c0 62%, #ffffff 80%, #9aa9c4 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: silver 6s ease-in-out 4 alternate; filter: drop-shadow(0 8px 40px rgba(59, 157, 255, 0.35));
}
@keyframes silver { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.hero-title small { font-size: clamp(0.9rem, 2vw, 1.3rem); letter-spacing: 0.9em; margin-right: -0.9em; color: var(--muted); font-weight: 600; }
.hero-sub { max-width: 620px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); margin: 22px auto 30px; }
.hero-sub strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.scroll-hint { position: absolute; bottom: 28px; width: 26px; height: 42px; border: 2px solid var(--line-strong); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ───────── Ticker ───────── */
.ticker { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--line); background: rgba(8, 14, 30, 0.82); }
.ticker-track { display: flex; gap: 48px; width: max-content; padding: 14px 0; animation: marquee 40s linear infinite; white-space: nowrap; font-weight: 600; color: var(--muted); }
.ticker-track span b { color: var(--text); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Secciones ───────── */
.section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 110px 0 20px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); margin-bottom: 14px; }
.section-head p:last-child { color: var(--muted); margin: 0; }
.kicker { justify-content: center; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before { content: ''; position: absolute; top: 44px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--ice), var(--cyan), transparent); opacity: 0.5; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  font: 800 0.9rem var(--font-display); color: #031027; background: linear-gradient(135deg, #bfe3ff, var(--ice));
  box-shadow: 0 8px 24px -6px rgba(59, 157, 255, 0.8);
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0 0 10px; font-size: 0.95rem; }
.step a { color: var(--cyan); font-weight: 700; text-decoration: none; font-size: 0.92rem; }

/* Tarjetas con brillo que sigue al mouse */
.glow-card { position: relative; overflow: hidden; }
.glow-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 229, 255, 0.12), transparent 45%);
}
.glow-card:hover::after { opacity: 1; }

/* Pulso */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat { padding: 26px 20px; border-radius: var(--radius); text-align: center; background: var(--card); border: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(2rem, 4vw, 2.8rem) var(--font-display); background: linear-gradient(180deg, #fff, #9fd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 0.9rem; }
.live-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.panel { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.panel h3 { font-size: 1.05rem; margin-bottom: 16px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.panel h3 small { font: 600 0.8rem var(--font); color: var(--muted); }
.panel-wide { margin-top: 18px; }
.empty { color: var(--muted); list-style: none; }

.biz { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; max-height: 420px; overflow: auto; }
.biz li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.biz li.open { border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.07); }
.biz .b-ico { font-size: 1.2rem; }
.biz .b-name { font-weight: 700; font-size: 0.93rem; line-height: 1.25; }
.biz .b-state { display: block; font-size: 0.78rem; color: var(--muted); }
.biz li.open .b-state { color: var(--ok); }

.staff { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-height: 420px; overflow: auto; }
.staff li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.staff img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--bg-2); }
.staff .avatar { position: relative; flex: none; }
.staff .avatar i { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--card-solid); background: var(--off); }
.staff li.ciudad .avatar i { background: var(--ok); }
.staff li.voz .avatar i { background: var(--ice); }
.staff li.off { opacity: 0.55; }
.staff .s-name { font-weight: 700; font-size: 0.93rem; }
.staff .s-rank { display: block; font-size: 0.78rem; color: var(--muted); }
.staff .s-where { margin-left: auto; font-size: 0.75rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.staff li.ciudad .s-where { color: var(--ok); }
.staff li.voz .s-where { color: var(--ice); }

.gangs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gangs li { padding: 9px 16px; border-radius: 999px; font-weight: 700; border: 1px solid var(--gc, var(--line-strong)); background: color-mix(in srgb, var(--gc, #3b9dff) 14%, transparent); }
.gangs small { color: var(--muted); font-weight: 600; margin-left: 6px; }

/* Tienda */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.pkg {
  position: relative; padding: 30px 26px 26px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(160deg, rgba(30, 50, 95, 0.75), rgba(10, 18, 38, 0.85)); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: transform 0.15s ease-out, border-color 0.3s, box-shadow 0.3s;
}
.pkg:hover { border-color: var(--line-strong); box-shadow: 0 30px 60px -25px rgba(59, 157, 255, 0.55); }
.pkg.best { border-color: rgba(0, 229, 255, 0.55); box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.25), 0 30px 70px -25px rgba(0, 229, 255, 0.5); }
.pkg-badge { position: absolute; top: 14px; right: 14px; padding: 4px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; color: #031027; background: linear-gradient(120deg, #c4f1ff, var(--cyan)); }
.gem { width: 86px; height: 86px; margin: 4px auto 18px; transform: translateZ(40px); filter: drop-shadow(0 12px 22px rgba(59, 157, 255, 0.55)); }
.gem svg { width: 100%; height: 100%; animation: float 5s ease-in-out infinite; }
.pkg h3 { font-size: 1.6rem; transform: translateZ(30px); }
.pkg .pkg-sub { color: var(--muted); font-size: 0.9rem; margin: 2px 0 16px; }
.pkg .price { font: 800 2rem var(--font-display); margin-bottom: 4px; transform: translateZ(25px); }
.pkg .per { color: var(--muted); font-size: 0.8rem; margin-bottom: 20px; }
.pkg .btn { width: 100%; transform: translateZ(20px); }
.pkg.in-basket .btn { background: rgba(52, 211, 153, 0.15); color: var(--ok); border: 1px solid rgba(52, 211, 153, 0.5); animation: none; box-shadow: none; }
.store-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 26px; }

/* Esencia */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform 0.3s, border-color 0.3s; }
.feature:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.f-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.6rem; margin-bottom: 16px; background: linear-gradient(135deg, rgba(59, 157, 255, 0.25), rgba(0, 229, 255, 0.08)); border: 1px solid var(--line-strong); }
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Banda normativa */
.band {
  width: min(1180px, calc(100% - 32px)); margin: 110px auto 0; padding: 40px 44px; border-radius: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(59, 157, 255, 0.22), rgba(0, 229, 255, 0.08) 60%, rgba(106, 77, 255, 0.18));
  border: 1px solid var(--line-strong); position: relative; z-index: 1;
}
.band h2 { font-size: clamp(1.3rem, 2.8vw, 2rem); margin-bottom: 8px; }
.band p { margin: 0; color: var(--muted); }

/* Comunidad */
.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.social {
  display: flex; flex-direction: column; gap: 4px; padding: 28px 24px; border-radius: var(--radius); text-decoration: none;
  background: var(--card); border: 1px solid var(--line); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.social:hover { transform: translateY(-5px); }
.social b { font: 700 1.25rem var(--font-display); }
.social span:last-child { color: var(--muted); font-size: 0.92rem; }
.s-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 12px; }
.s-ico svg { width: 26px; height: 26px; fill: #fff; }
.s-ico svg.stroke { fill: none; stroke: #fff; stroke-width: 2; }
.s-ico svg.stroke .fill { fill: #fff; stroke: none; }
.discord .s-ico { background: #5865f2; } .discord:hover { border-color: #5865f2; box-shadow: 0 24px 50px -24px #5865f2; }
.instagram .s-ico { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); } .instagram:hover { border-color: #ee2a7b; box-shadow: 0 24px 50px -24px #ee2a7b; }
.kick .s-ico { background: #0b0b0b; border: 1px solid var(--kick); } .kick .s-ico svg { fill: var(--kick); } .kick:hover { border-color: var(--kick); box-shadow: 0 24px 50px -24px var(--kick); }
.kick.is-live span:last-child { color: var(--kick); font-weight: 700; }
.kick-live { margin-bottom: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(83, 252, 24, 0.4); background: #070b07; }
.kick-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; flex-wrap: wrap; }
.kick-head span:last-child { margin-left: auto; color: var(--muted); font-size: 0.9rem; }
.live-badge { padding: 4px 10px; border-radius: 8px; background: var(--kick); color: #000; font-weight: 800; font-size: 0.78rem; }
.kick-frame { aspect-ratio: 16 / 9; }
.kick-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.footer { text-align: center; padding: 90px 20px 50px; color: var(--muted); }
.footer img { margin: 0 auto 12px; }
.footer p { margin: 4px 0; }
.footer b { color: var(--text); }
.footer .muted { font-size: 0.8rem; }

/* Carrito */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(2, 5, 12, 0.72); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-box {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%); display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0d1730, #070d1d); border-left: 1px solid var(--line-strong);
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(.2, .8, .2, 1);
}
.drawer.open .drawer-box { transform: none; }
.drawer-box header, .drawer-box footer { padding: 22px 24px; }
.drawer-box header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-box footer { margin-top: auto; border-top: 1px solid var(--line); }
.x { background: none; border: 0; color: var(--muted); font-size: 1.2rem; cursor: pointer; padding: 6px; }
.drawer-user { margin: 0; padding: 12px 24px 0; color: var(--muted); font-size: 0.88rem; }
.drawer-items { list-style: none; margin: 0; padding: 12px 24px; overflow: auto; display: grid; gap: 10px; }
.drawer-items li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.drawer-items li b { flex: 1; font-size: 0.93rem; }
.drawer-items button { background: none; border: 0; color: #f87171; cursor: pointer; font-size: 0.85rem; font-weight: 700; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.drawer-total b { font: 800 1.5rem var(--font-display); }
.drawer footer .muted { text-align: center; margin: 10px 0 0; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  padding: 13px 22px; border-radius: 14px; background: #0f1a33; border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  font-weight: 600; transition: opacity 0.3s, transform 0.3s; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Destello de diamantes (easter egg y compra) */
.burst { position: fixed; z-index: 95; pointer-events: none; font-size: 22px; animation: burst 1.3s ease-out forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.4); opacity: 0; } }

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .live-grid, .packages, .features { grid-template-columns: repeat(2, 1fr); }
  .live-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; padding: 12px;
    border-radius: 22px; background: rgba(6, 11, 24, 0.96); border: 1px solid var(--line);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 12px 16px; }
  .nav-toggle { display: block; }
  .nav-right .btn-sm { display: none; }
  .packages, .features, .socials { grid-template-columns: 1fr; }
  .section { padding-top: 90px; }
  .band { padding: 30px 24px; }
  .hero { justify-content: flex-start; padding-top: 104px; min-height: auto; }
  .hero-logo { width: 140px; }
  .scroll-hint { display: none; }
}
@media (max-width: 420px) {
  .steps, .stats { grid-template-columns: 1fr; }
  .nav-brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ───────── Logo (picture) ───────── */
.hero-logo picture { display: block; position: relative; width: 100%; height: 100%; }

/* ───────── Negocios por tipo ───────── */
.biz-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.biz-tabs:empty { display: none; }
.biz-tabs button {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  font: 700 0.84rem var(--font); color: var(--muted); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.biz-tabs button:hover { color: var(--text); border-color: var(--line-strong); }
.biz-tabs button[aria-selected="true"] { color: var(--text); background: rgba(59, 157, 255, 0.16); border-color: rgba(59, 157, 255, 0.5); }
.biz-tabs b { font-size: 0.74rem; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.biz-tabs b.on { background: rgba(52, 211, 153, 0.16); color: var(--ok); }
.biz li { transition: border-color 0.3s, background 0.3s; }
.biz li.open .b-name { color: #eafff6; }
.biz .pulse { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--ok); color: rgba(52, 211, 153, 0.6); animation: pulse 2s infinite; vertical-align: 1px; }
.biz-note { margin: 14px 0 0; font-size: 0.8rem; color: var(--muted); }

/* ───────── Diamantes de la tienda ───────── */
.gem { width: 104px; height: 104px; margin: 0 auto 14px; filter: drop-shadow(0 14px 22px rgba(30, 120, 255, 0.5)); }
.gem-svg { width: 100%; height: 100%; overflow: visible; animation: float 5s ease-in-out infinite; }
.gem-sheen { transform-box: view-box; animation: gemSheen 4.2s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes gemSheen { 0%, 50% { transform: skewX(-18deg) translateX(-40px); } 85%, 100% { transform: skewX(-18deg) translateX(190px); } }
.gem-spark { transform-box: fill-box; transform-origin: center; opacity: 0; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%, 70%, 100% { opacity: 0; transform: scale(0.2) rotate(0deg); } 80% { opacity: 1; transform: scale(1) rotate(45deg); } 90% { opacity: 0.4; transform: scale(0.6) rotate(70deg); } }
.pkg:hover .gem-sheen { animation-duration: 1.6s; }
.pkg.best .gem { filter: drop-shadow(0 14px 26px rgba(0, 229, 255, 0.6)); }

/* ───────── Cuenta ───────── */
.account { position: relative; }
.account-btn {
  display: inline-flex; align-items: center; gap: 8px; max-width: 190px; padding: 6px 14px 6px 8px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--text); font: 700 0.88rem var(--font);
}
.account-btn span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-btn img { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.account-btn .acc-ico { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(88, 101, 242, 0.25); font-size: 0.85rem; }
.account-btn.in { border-color: rgba(88, 101, 242, 0.6); }
.account-menu {
  position: absolute; top: calc(100% + 12px); right: 0; width: 300px; padding: 16px; border-radius: 20px; z-index: 60;
  background: #0b1429; border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
.account-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.acc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.acc-head img { width: 44px; height: 44px; border-radius: 50%; }
.acc-head b { display: block; }
.acc-member { margin: 2px 0 0; font-size: 0.8rem; color: var(--ok); }
.acc-member.warn { color: var(--warn); }
.acc-member a { color: var(--cyan); }
.acc-intro { margin: 0 0 12px; color: var(--muted); font-size: 0.88rem; }
.acc-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.acc-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.acc-badge { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; }
.acc-row.discord .acc-badge { background: #5865f2; }
.acc-row.discord svg { width: 19px; height: 19px; fill: #fff; }
.acc-row.fivem .acc-badge { background: linear-gradient(135deg, #f97316, #ea580c); }
.fivem-ico { font: 800 0.72rem var(--font-display); color: #fff; }
.acc-txt { flex: 1; min-width: 0; }
.acc-txt b { display: block; font-size: 0.9rem; }
.acc-txt small { display: block; color: var(--muted); font-size: 0.78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ok { color: var(--ok); font-weight: 800; }
.acc-out { margin-top: 12px; width: 100%; padding: 9px; border-radius: 12px; border: 1px solid var(--line); background: none; color: var(--muted); font: 600 0.85rem var(--font); cursor: pointer; }
.acc-out:hover { color: #f87171; border-color: rgba(248, 113, 113, 0.4); }

/* ───────── Modal: vincular cuentas ───────── */
.modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; background: rgba(2, 5, 12, 0.75); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box {
  position: relative; width: min(460px, 100%); padding: 30px 26px 22px; border-radius: 24px; text-align: center;
  background: linear-gradient(180deg, #0f1b38, #080f20); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  max-height: calc(100svh - 32px); overflow: auto;
  transform: translateY(14px) scale(0.98); transition: transform 0.3s cubic-bezier(.2, .8, .2, 1);
}
.modal.open .modal-box { transform: none; }
.modal-box .x { position: absolute; top: 12px; right: 12px; }
.modal-box h3 { font-size: 1.4rem; margin-bottom: 6px; }
.modal-box > .muted { margin: 0 0 18px; font-size: 0.92rem; }
.link-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; text-align: left; }
.link-steps li { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.link-steps li .btn { grid-column: 2; justify-self: start; margin-top: 6px; }
.link-steps li.now { border-color: rgba(59, 157, 255, 0.55); background: rgba(59, 157, 255, 0.08); }
.link-steps li.done { border-color: rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.06); }
.link-steps li.wait, .link-steps li.skip { opacity: 0.55; }
.link-steps .n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font: 800 0.85rem var(--font-display); background: rgba(255, 255, 255, 0.06); }
.link-steps li.now .n { background: linear-gradient(135deg, #bfe3ff, var(--ice)); color: #031027; }
.link-steps li.done .n { background: rgba(52, 211, 153, 0.18); }
.link-steps b { display: block; font-size: 0.95rem; }
.link-steps small { color: var(--muted); font-size: 0.82rem; }
.btn-discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn-discord:hover { background: #4752c4; }
.link-skip { margin-top: 14px; background: none; border: 0; color: var(--muted); font: 600 0.85rem var(--font); text-decoration: underline; cursor: pointer; }

@media (max-width: 760px) {
  .account-btn span:last-child { display: none; }
  .account-btn { padding: 6px; }
  .nav-right .account-menu .btn-sm { display: inline-flex; }
  .account-menu { position: fixed; top: 76px; left: 14px; right: 14px; width: auto; }
  .aurora span:nth-child(3) { display: none; }
}
