/* =========================================================
   Coopera Cops & Robbers · web
   Mismos colores y tipografías que el PCU y el panel del juego.
   ========================================================= */
:root {
  --bg: #09090b; --bg-2: #0f0f12; --panel: #141418; --panel-2: #1b1b20; --panel-3: #24242b;
  --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.13);
  --text: #f4f1ec; --muted: #a39f99; --dim: #6c6863;
  --orange: #ff6a00; --orange-2: #ff9a1f; --glow: rgba(255,106,0,.28);
  --ok: #34c98a; --discord: #5865f2;
  --display: 'Russo One', 'Arial Black', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --r: 16px;
  --nav-h: 64px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 400; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .86em; background: var(--panel-3); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--orange-2); }
kbd { font: 600 .8em var(--mono); display: inline-grid; place-items: center; min-width: 1.9em; height: 1.9em; padding: 0 .45em; border-radius: 7px; background: var(--panel-3); border: 1px solid var(--line-2); box-shadow: inset 0 -2px 0 rgba(0,0,0,.45); }
::selection { background: var(--orange); color: #000; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
[hidden] { display: none !important; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; }
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: #160800; box-shadow: 0 8px 26px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { box-shadow: 0 10px 32px -6px rgba(255,106,0,.5), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-ghost svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: #4752c4; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--orange-2); }
.link-arrow::after { content: '→'; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Menú ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 24px; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.nav.is-solid { background: rgba(9,9,11,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 18px var(--display); letter-spacing: 1.5px; justify-self: start; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--muted); position: relative; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.is-current { color: var(--text); }
.nav-links a.is-current::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 1px; height: 2px; border-radius: 2px; background: var(--orange); }
.nav-mobile-only { display: none; }
.nav-cta { display: flex; align-items: center; gap: 8px; justify-self: end; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); padding: 0; place-content: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: min(100svh, 900px); display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) 0 80px; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: radial-gradient(70% 55% at 50% 45%, rgba(9,9,11,.3), rgba(9,9,11,.85) 75%), linear-gradient(180deg, rgba(9,9,11,.6), transparent 30%, transparent 70%, var(--bg)); }
.lightbar { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.lightbar i { position: absolute; top: -20%; width: 55%; height: 75%; filter: blur(70px); opacity: 0; animation: siren 2.4s infinite; }
.lightbar i:first-child { left: -12%; background: radial-gradient(closest-side, rgba(59,130,255,.7), transparent); }
.lightbar i:last-child { right: -12%; background: radial-gradient(closest-side, rgba(255,40,40,.6), transparent); animation-delay: 1.2s; }
@keyframes siren { 0%, 55%, 100% { opacity: 0; } 8%, 22% { opacity: .85; } 15% { opacity: .2; } }
.hero-inner { max-width: 820px; padding: 0 24px; display: flex; flex-direction: column; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px; border-radius: 99px; background: rgba(15,15,18,.7); border: 1px solid var(--line-2); font: 12.5px var(--mono); color: var(--muted); margin-bottom: 22px; }
.status b { color: var(--text); }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.status.is-online .dot { background: var(--ok); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,201,138,.6); } 100% { box-shadow: 0 0 0 10px rgba(52,201,138,0); } }
.hero-logo { width: 130px; height: 130px; object-fit: contain; filter: drop-shadow(0 12px 40px rgba(255,106,0,.35)); }
.hero-title { font: clamp(54px, 10vw, 120px)/.95 var(--display); letter-spacing: 3px; margin-top: 4px; background: linear-gradient(180deg, #fff 35%, #ffd6b0 80%, var(--orange) 125%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font: clamp(15px, 2.2vw, 20px) var(--display); letter-spacing: clamp(6px, 1.3vw, 13px); margin: 10px 0 20px; padding-left: .6em; }
.hero-sub span { color: var(--orange); }
.hero-lead { max-width: 560px; font-size: clamp(16px, 2vw, 19px); color: #d9d4cc; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-hint { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

.event-strip { position: relative; z-index: 2; margin: -34px auto 0; width: min(760px, calc(100% - 32px)); display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 18px; border-radius: 14px; background: var(--panel); border: 1px solid color-mix(in srgb, var(--ev, var(--orange)) 45%, transparent); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); font-size: 14.5px; }
.ev-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ev, var(--orange)); box-shadow: 0 0 14px var(--ev, var(--orange)); }
.event-strip p { flex: 1; min-width: 0; }
.event-strip p span { color: var(--muted); }
.event-strip a { font-weight: 700; color: var(--ev, var(--orange)); }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); padding: 56px 0; }
.section-head { margin-bottom: 36px; }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.section h2 { font: clamp(28px, 4vw, 42px)/1.1 var(--display); }
.section-lead { margin-top: 12px; font-size: 17px; color: var(--muted); }

/* Modos */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 300px 230px; gap: 16px; }
.mode { position: relative; border-radius: var(--r); overflow: hidden; background: var(--panel); isolation: isolate; display: flex; align-items: flex-end; }
.mode img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.mode::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(9,9,11,.92)); }
.mode:hover img { transform: scale(1.05); }
.mode-star { grid-column: 1 / -1; }
.mode-body { padding: 22px 24px; }
.mode-body h3 { font: 24px var(--display); }
.mode-star .mode-body h3 { font-size: 40px; }
.mode-body p { color: #d6d1c9; font-size: 15px; margin-top: 4px; }
.mode-kicker { font: 600 11.5px var(--mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange-2); }

/* Ventajas */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.perk { border-left: 2px solid var(--orange); padding-left: 16px; }
.perk b { font: 17px var(--display); display: block; margin-bottom: 4px; }
.perk p { color: var(--muted); font-size: 14.5px; }

/* ---------- Tarjetas del tablón ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 24px 50px -28px color-mix(in srgb, var(--c) 70%, transparent); }
.card-art { position: relative; height: 128px; overflow: hidden; display: flex; align-items: center; padding-left: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 26%, var(--panel)) 0%, var(--panel) 75%);
  border-bottom: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.card-art::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--c) 35%, transparent) 1px, transparent 1.5px); background-size: 14px 14px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); opacity: .5; }
.card-art svg { width: 54px; height: 54px; fill: none; stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; transition: transform .3s; }
.card:hover .card-art svg { transform: rotate(-6deg) scale(1.08); }
.card-art.has-img { padding: 0; }
.card-art.has-img img { width: 100%; height: 100%; object-fit: cover; }
.card-art.has-img::after { display: none; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.card-tag { font: 600 11px var(--mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--c, var(--orange-2)); }
.card h3 { font: 20px var(--display); }
.card p { color: var(--muted); font-size: 14.5px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px 24px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty h2 { font: 22px var(--display); color: var(--text); }

/* ---------- Páginas interiores ---------- */
.page-main { padding: calc(var(--nav-h) + 56px) 0 90px; min-height: 70vh; }
.page-title { margin-bottom: 36px; }
.page-title h1 { font: clamp(36px, 5vw, 52px)/1.05 var(--display); }
.page-title p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.page-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.group-title { font: 600 12.5px var(--mono); letter-spacing: 2px; text-transform: uppercase; color: var(--dim); margin: 44px 0 16px; }
.page-title + .group-title { margin-top: 0; }

/* Publicación */
.post-head { padding: calc(var(--nav-h) + 48px) 0 36px; background: linear-gradient(180deg, color-mix(in srgb, var(--c, var(--orange)) 16%, var(--bg)), var(--bg)); border-bottom: 1px solid var(--line); }
.post-head:empty { display: none; }
.back { display: inline-block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.back:hover { color: var(--text); }
.post-icon { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); margin-bottom: 16px; }
.post-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-head .card-tag { color: var(--c); }
.post-head h1 { font: clamp(32px, 5vw, 48px)/1.1 var(--display); margin-top: 6px; }
.post-meta { margin-top: 10px; font-size: 14px; color: var(--muted); }
.post-main { padding: 40px 0 90px; min-height: 50vh; }
.post-head:empty + .post-main { padding-top: calc(var(--nav-h) + 56px); }
.post-img { width: 100%; border-radius: 14px; margin-bottom: 26px; }
.prose { font-size: 16.5px; color: #d9d4cc; }
.prose > * + * { margin-top: 14px; }
.prose h3 { font: 21px var(--display); color: var(--text); margin-top: 32px; }
.prose h3:first-child { margin-top: 0; }
.prose h4 { margin-top: 24px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 0; }
.prose li + li { margin-top: 6px; }
.prose b, .prose strong { color: var(--text); }
.prose a:not(.btn) { color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 14px 0 0; border-left: 3px solid var(--line-2); padding-left: 14px; color: var(--muted); }
.prose pre { background: var(--bg-2); padding: 14px; border-radius: 10px; overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; color: var(--text); }
.note { font-size: 14.5px; color: var(--muted); padding: 12px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); margin-top: 22px; }
.cta-line { margin-top: 26px !important; }
.kv { width: 100%; border-collapse: collapse; font-size: 15px; }
.kv td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.kv td:first-child { width: 42%; padding-right: 14px; white-space: nowrap; }
.kv td:last-child { color: var(--muted); }
.points { display: flex; flex-wrap: wrap; gap: 8px; }
.points span { font-size: 14px; padding: 6px 11px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); }
.points b { font-family: var(--mono); color: var(--orange-2); }
.cal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px !important; }
.cal-item { position: relative; padding: 14px 16px; border-radius: 13px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--c); }
.cal-item b { color: var(--text); font-size: 15.5px; }
.cal-item span { display: block; font: 12.5px var(--mono); color: var(--dim); margin: 2px 0 6px; }
.cal-item p { font-size: 14px; color: var(--muted); }
.cal-item.is-now { background: color-mix(in srgb, var(--c) 12%, var(--panel)); }
.cal-item.is-now::after, .cal-item.is-next::after { position: absolute; top: 14px; right: 14px; font: 700 10px var(--mono); letter-spacing: 1px; }
.cal-item.is-now::after { content: 'AHORA'; color: var(--c); }
.cal-item.is-next::after { content: 'PRÓXIMO'; color: var(--muted); }
.cl { display: flex; align-items: center; gap: 8px; font: 600 13px var(--mono) !important; letter-spacing: 1.2px; text-transform: uppercase; }
.cl::before { content: ''; width: 9px; height: 9px; border-radius: 3px; background: var(--dim); }
.cl-new::before { background: var(--ok); } .cl-chg::before { background: #3b82ff; } .cl-fix::before { background: #f5c542; } .cl-del::before { background: #ff4d4f; }
.spoiler { background: var(--panel-3); color: transparent; border-radius: 4px; cursor: pointer; }
.spoiler.is-open { color: inherit; }

/* Tienda */
.period { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.period button { height: 36px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; }
.period button.is-active { background: var(--panel-3); color: var(--text); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r); background: linear-gradient(180deg, color-mix(in srgb, var(--tier) 12%, var(--panel)), var(--panel) 45%); border: 1px solid color-mix(in srgb, var(--tier) 28%, transparent); }
.tier-featured { border-color: color-mix(in srgb, var(--tier) 70%, transparent); }
.tier-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tier h3 { font: 26px var(--display); color: var(--tier); }
.tier-flag { font: 700 10.5px var(--mono); letter-spacing: 1px; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: var(--tier); color: #1a1200; }
.tier-tag { color: var(--muted); font-size: 14.5px; }
.tier-price b { font: 38px/1 var(--display); }
.tier-price span { color: var(--muted); font-size: 14px; margin-left: 4px; }
.tier ul { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; color: #d6d1c9; }
.tier li { position: relative; padding-left: 22px; }
.tier li::before { content: ''; position: absolute; left: 1px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--tier); border-bottom: 2px solid var(--tier); transform: rotate(-45deg); }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 24px 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line-2); }
.buy b { font-size: 17px; }
.buy p { color: var(--muted); font-size: 14.5px; margin-top: 4px; max-width: 640px; }
.fine-print { margin-top: 30px; text-align: center; font: 11.5px/1.8 var(--mono); color: var(--dim); }

/* Multimedia */
.masonry { columns: 3 300px; column-gap: 14px; }
.m-item { position: relative; margin: 0 0 14px; border-radius: 14px; overflow: hidden; background: var(--panel-2); cursor: pointer; break-inside: avoid; display: block; }
.m-item img, .m-item video { width: 100%; height: auto; transition: transform .5s; }
.m-item:hover img, .m-item:hover video { transform: scale(1.04); }
.m-item figcaption { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: 13.5px; font-weight: 600; display: flex; flex-direction: column; }
.m-item figcaption small { font-weight: 400; color: var(--muted); font-size: 12px; }
.m-badge { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.6); font-size: 11px; }
.m-yt { background: #e62117; }

/* CTA */
.cta { position: relative; padding: 120px 24px; text-align: center; overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 50%, rgba(9,9,11,.55), rgba(9,9,11,.92)), linear-gradient(180deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta h2 { font: clamp(32px, 5vw, 54px)/1.05 var(--display); }
.cta p { font-size: 17px; color: #d6d1c9; margin-bottom: 8px; }

/* Pie */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer .brand { font-size: 15px; }
.footer .brand img { width: 30px; height: 30px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.fine { margin-left: auto; font-size: 12.5px; color: var(--dim); }

/* Visor */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,6,.94); display: grid; place-items: center; padding: 60px 70px; }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; }
.lb-figure { margin: 0; max-width: 100%; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lb-figure img, .lb-figure video { max-width: 100%; max-height: calc(100vh - 180px); border-radius: 10px; }
.lb-figure figcaption { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.lb-figure figcaption small { color: var(--muted); }
.lb-figure figcaption a { color: var(--orange-2); }
.lb-yt { width: min(1100px, 90vw); aspect-ratio: 16/9; }
.lb-yt iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255,255,255,.08); color: #fff; border-radius: 12px; display: grid; place-items: center; }
.lb-close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 26px; }
.lb-nav { top: 50%; width: 48px; height: 64px; margin-top: -32px; font-size: 34px; display: none; }
.lightbox.has-nav .lb-nav { display: grid; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-count { position: absolute; top: 26px; left: 24px; font: 13px var(--mono); color: var(--muted); }

/* Aviso */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 120; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 12px; background: var(--panel-3); border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 600; transition: transform .3s, opacity .3s; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: flex; justify-content: space-between; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; padding: 10px 16px 18px; background: rgba(9,9,11,.97); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 13px 12px; font-size: 16px; }
  .nav-links a.is-current::after { display: none; }
  .nav-links a.is-current { background: var(--panel-2); }
  .nav-mobile-only { display: block; }
  .nav-account { display: none; }
  .burger { display: grid; }
  .cards, .tiers { grid-template-columns: repeat(2, 1fr); }
  .modes { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 200px 200px; }
  .perks { grid-template-columns: 1fr 1fr; }
  .buy { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 0 16px; }
  .section { padding: 70px 0; }
  .hero-logo { width: 100px; height: 100px; }
  .modes { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 210px; }
  .mode-star .mode-body h3 { font-size: 32px; }
  .cards, .tiers, .cal { grid-template-columns: 1fr; }
  .perks { gap: 20px; }
  .section-head-row { flex-wrap: wrap; }
  .kv td:first-child { width: auto; }
  .card-art { height: 92px; }
  .card-art svg { width: 42px; height: 42px; }
  .fine { margin-left: 0; }
  .lightbox { padding: 60px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
