/* ORGIADECEMBRINA — web oficial. Sin build: CSS plano. Tokens arriba, luego base, componentes y secciones. */
:root {
  --bg: #060a14;
  --bg-2: #0b1224;
  --bg-3: #101a33;
  --ink: #eef4ff;
  --muted: #9aabc8;
  --ice: #8fd8ff;
  --ice-2: #5fb4ff;
  --red: #e0344a;
  --red-2: #ff5a6e;
  --gold: #ffcf8a;
  --line: rgba(160, 200, 255, .14);
  --glass: rgba(255, 255, 255, .045);
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-pixel: "Silkscreen", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 var(--font-body); overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--ice); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.pixel { font-family: var(--font-pixel); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50;
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.solid { background: rgba(6, 10, 20, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font: 800 1.05rem var(--font-display); letter-spacing: .06em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; image-rendering: pixelated; box-shadow: 0 0 0 1px var(--line); }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.menu a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--muted); font: 600 .8rem var(--font-display); letter-spacing: .09em; }
.menu a:hover, .menu a[aria-current="page"] { color: #fff; background: var(--glass); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--glass); border-radius: 12px; cursor: pointer; padding: 0; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: #fff; margin: auto; position: relative; transition: transform .25s, opacity .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
  --b: var(--glass);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px; border: 1px solid var(--line); background: var(--b); color: #fff;
  font: 700 .9rem var(--font-display); letter-spacing: .1em; cursor: pointer; text-align: center;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(160, 200, 255, .4); color: #fff; }
.btn-primary {
  border-color: transparent; background: linear-gradient(135deg, var(--red-2), var(--red) 55%, #b8182f);
  box-shadow: 0 10px 30px -10px rgba(224, 52, 74, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(255, 90, 110, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-xl { padding: 20px 40px; font-size: 1.15rem; border-radius: 16px; }
.btn-sm { padding: 10px 18px; font-size: .78rem; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; filter: saturate(.6); }
.copied { --b: rgba(143, 216, 255, .18); border-color: var(--ice) !important; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.sky { position: absolute; inset: 0; z-index: -3; background:
  radial-gradient(120% 80% at 50% 110%, #1a2a52 0%, transparent 60%),
  linear-gradient(180deg, #03060f 0%, #0a1330 55%, #16244a 100%); }
.aurora { position: absolute; inset: -10% -10% 30% -10%; z-index: -2; filter: blur(60px); opacity: .55; mix-blend-mode: screen; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 55%; height: 55%; left: 5%; top: 10%; background: radial-gradient(closest-side, rgba(95, 180, 255, .7), transparent); }
.aurora i:nth-child(2) { width: 45%; height: 60%; right: 8%; top: 0; background: radial-gradient(closest-side, rgba(224, 52, 74, .45), transparent); animation-delay: -6s; }
.aurora i:nth-child(3) { width: 40%; height: 40%; left: 35%; top: 30%; background: radial-gradient(closest-side, rgba(143, 216, 255, .5), transparent); animation-delay: -11s; }
@keyframes drift { to { transform: translate3d(6%, 8%, 0) scale(1.15); } }
.stars { position: absolute; inset: 0; z-index: -2; opacity: .9; }
.ridge { position: absolute; left: -2%; right: -2%; bottom: -1px; width: 104%; height: auto; z-index: -1; will-change: transform; }
.hero .content { padding: calc(var(--nav-h) + 40px) 0 150px; position: relative; }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); backdrop-filter: blur(6px); color: var(--ice); font-size: .72rem; margin-bottom: 26px; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 6.6rem); font-weight: 900; letter-spacing: .02em; color: #fff;
  text-shadow: 0 0 40px rgba(143, 216, 255, .35), 0 6px 0 rgba(0, 0, 0, .25); }
.hero h1 .flake { color: var(--ice); display: inline-block; animation: spin 14s linear infinite; font-weight: 400; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero .tag { margin: 22px auto 40px; max-width: 30ch; font-size: clamp(1.15rem, 2.6vw, 1.55rem); color: #d3e1fb; font-family: var(--font-display); font-weight: 500; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; color: var(--muted); font-size: .68rem; opacity: .8; }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 34px; margin: 8px auto 0; background: linear-gradient(var(--ice), transparent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }
#snow { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* ---------- SECTIONS ---------- */
section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.kicker { color: var(--red-2); font-size: .72rem; margin-bottom: 14px; display: block; }
.title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 62ch; margin-top: 18px; }
.head { margin-bottom: 52px; }
.head.center { text-align: center; } .head.center .lead { margin-inline: auto; }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow); overflow: hidden; transition: transform .3s, border-color .3s;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at var(--mx, 50%) -20%, rgba(143, 216, 255, .16), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: rgba(160, 200, 255, .32); }
.card:hover::before { opacity: 1; }
.card .ico { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.6rem; border-radius: 14px; background: rgba(143, 216, 255, .1); border: 1px solid var(--line); margin-bottom: 18px; }
.card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.badge { display: inline-block; margin-left: 8px; vertical-align: middle; padding: 3px 9px; border-radius: 999px; font: 400 .6rem var(--font-pixel); letter-spacing: .06em; color: #1b1300; background: var(--gold); text-transform: uppercase; }
.soon { position: relative; }
.soon .ico { filter: grayscale(.4); }

/* AutoPack band */
.autopack-band { padding-block: clamp(60px, 8vw, 100px); }
.pack { position: relative; padding: clamp(32px, 6vw, 72px); border-radius: 28px; border: 1px solid rgba(160, 200, 255, .25); text-align: center; overflow: hidden;
  background: radial-gradient(70% 120% at 50% 0%, rgba(224, 52, 74, .28), transparent 60%), linear-gradient(180deg, var(--bg-3), var(--bg-2)); box-shadow: var(--shadow); }
.pack::after { content: "❄"; position: absolute; right: -30px; bottom: -70px; font-size: 300px; color: rgba(143, 216, 255, .05); line-height: 1; pointer-events: none; }
.pack h2 { font-size: clamp(1.8rem, 4.6vw, 3.2rem); font-weight: 900; margin-bottom: 14px; }
.pack p { color: #c6d6f3; max-width: 56ch; margin: 0 auto 30px; font-size: 1.1rem; }
.pack .note { margin: 22px 0 0; font: 700 1rem var(--font-display); color: var(--gold); letter-spacing: .02em; }
.placeholder-tag { display: inline-block; margin-top: 14px; font: 400 .62rem var(--font-pixel); color: var(--gold); border: 1px dashed rgba(255, 207, 138, .5); padding: 4px 10px; border-radius: 6px; text-transform: uppercase; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 24px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); }
.step .n { font: 900 3.6rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px rgba(143, 216, 255, .55); margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; letter-spacing: .05em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }
.step code, .ipbox code, .inline code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; background: rgba(143, 216, 255, .1); padding: 2px 8px; border-radius: 6px; color: var(--ice); font-size: .92em; word-break: break-all; }
.ipbox { margin-top: 34px; display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 22px; border-radius: var(--radius); border: 1px dashed rgba(143, 216, 255, .35); background: rgba(143, 216, 255, .05); }
.ipbox code { font-size: 1.25rem; padding: 8px 16px; }
.firsttime { margin-top: 26px; padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); color: var(--muted); }
.firsttime b { color: #fff; }

/* Info table */
.info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.info div { padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); }
.info dt { font: 400 .62rem var(--font-pixel); color: var(--red-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.info dd { margin: 0; font: 700 1.1rem var(--font-display); word-break: break-word; }
dl.info { margin-bottom: 0; }
.two { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; color: #cfdcf5; }
.list li::before { content: "❄"; color: var(--ice); flex: none; margin-top: 1px; }
.list li small { color: var(--muted); }

/* Teams preview */
.teamcard { padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); box-shadow: var(--shadow); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .95rem; }
.tab { display: grid; gap: 6px; margin-top: 14px; }
.tab p { margin: 0; padding: 7px 12px; border-radius: 8px; background: rgba(0, 0, 0, .35); color: #dbe6fb; }
.tab .c1 b { color: #ff6b6b; } .tab .c2 b { color: #6bd3ff; }
.tab .head-row { font: 400 .68rem var(--font-pixel); color: var(--ice); background: none; padding: 0 0 4px; text-transform: uppercase; }
.cmds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cmds span { font: 600 .82rem ui-monospace, Consolas, monospace; padding: 6px 12px; border-radius: 8px; background: rgba(224, 52, 74, .14); border: 1px solid rgba(255, 90, 110, .3); color: #ffd6db; }

/* Downed */
.downed { background:
  radial-gradient(60% 90% at 50% 0%, rgba(224, 52, 74, .16), transparent 70%), var(--bg); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 46px; position: relative; }
.flow .st { position: relative; padding: 26px 18px; text-align: center; }
.flow .st + .st::before { content: "›"; position: absolute; left: -10px; top: 50%; translate: 0 -60%; font-size: 2.4rem; color: rgba(255, 255, 255, .25); }
.flow .em { width: 92px; height: 92px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; font-size: 2.4rem; border: 1px solid var(--line); background: var(--glass); }
.flow .st:nth-child(1) .em { box-shadow: 0 0 40px -4px rgba(224, 52, 74, .6); border-color: rgba(255, 90, 110, .5); }
.flow .st:nth-child(2) .em { box-shadow: 0 0 40px -4px rgba(255, 207, 138, .5); border-color: rgba(255, 207, 138, .5); animation: tick 1s steps(2) infinite; }
.flow .st:nth-child(3) .em { box-shadow: 0 0 40px -4px rgba(255, 90, 110, .7); border-color: rgba(255, 90, 110, .6); animation: beat 1.2s ease-in-out infinite; }
.flow .st:nth-child(4) .em { box-shadow: 0 0 46px -2px rgba(143, 216, 255, .7); border-color: var(--ice); }
@keyframes beat { 50% { transform: scale(1.08); } }
@keyframes tick { 50% { border-color: rgba(255, 207, 138, .15); } }
.flow h3 { font: 400 .78rem var(--font-pixel); letter-spacing: .06em; text-transform: uppercase; }
.flow p { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
.facts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.facts span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: #cfdcf5; font-size: .9rem; }
.facts b { color: #fff; }


/* News */
.news { display: grid; gap: 16px; }
.post { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 24px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); transition: border-color .3s, transform .3s; }
.post:hover { border-color: rgba(160, 200, 255, .32); transform: translateX(4px); }
.post time { color: var(--muted); font-size: .85rem; }
.post .t { font: 400 .62rem var(--font-pixel); color: var(--red-2); text-transform: uppercase; display: block; margin-bottom: 8px; }
.post h3 { font-size: 1.2rem; margin-bottom: 6px; }
.post p { color: var(--muted); margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
details { border: 1px solid var(--line); border-radius: 16px; background: var(--glass); transition: border-color .3s; }
details[open] { border-color: rgba(160, 200, 255, .34); background: rgba(255, 255, 255, .06); }
summary { list-style: none; cursor: pointer; padding: 20px 24px; font: 700 1.08rem var(--font-display); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.6rem; color: var(--ice); transition: transform .3s; line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
details .a { padding: 0 24px 22px; color: var(--muted); }
details .a a { text-decoration: underline; text-underline-offset: 3px; }

/* Community */
.community { text-align: center; }
.disc { padding: clamp(36px, 6vw, 72px); border-radius: 28px; border: 1px solid rgba(160, 200, 255, .22); background: radial-gradient(60% 100% at 50% 100%, rgba(95, 130, 255, .25), transparent 70%), linear-gradient(180deg, var(--bg-3), var(--bg-2)); }
.btn-discord { border-color: transparent; background: linear-gradient(135deg, #7c8dff, #5865f2 55%, #3f4bd0); box-shadow: 0 10px 30px -10px rgba(88, 101, 242, .8); }

/* Sub pages */
.page-hero { padding: calc(var(--nav-h) + 80px) 0 40px; text-align: center; background: radial-gradient(70% 90% at 50% 0%, rgba(95, 180, 255, .2), transparent 70%); }
.meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 40px auto 0; max-width: 780px; }
.meta div { padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); text-align: center; }
.meta dt { font: 400 .62rem var(--font-pixel); color: var(--red-2); text-transform: uppercase; margin-bottom: 8px; }
.meta dd { margin: 0; font: 700 1.2rem var(--font-display); }
.history { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.history .row { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); }
.history .row b { font: 700 1.05rem var(--font-display); } .history .row span { color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 28px; border: 1px dashed var(--line); border-radius: 14px; }
.rules { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.rule-card h3 { font-size: 1.3rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.rule-card ol { margin: 0; padding-left: 22px; color: #d4e0f7; display: grid; gap: 8px; }
.rule-card .tbd { color: var(--muted); font-style: italic; margin: 0; }
.rule-card .note { margin-top: 12px; color: var(--gold); font-size: .92rem; }
.callout { max-width: 780px; margin: 0 auto 34px; padding: 18px 22px; border-radius: 14px; border: 1px dashed rgba(255, 207, 138, .5); background: rgba(255, 207, 138, .06); color: #ffe6c2; font-size: .95rem; }

/* Footer */
footer { padding: 56px 0 110px; border-top: 1px solid var(--line); background: #04070f; color: var(--muted); font-size: .92rem; }
.foot { display: flex; gap: 30px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); } .foot a:hover { color: #fff; }
.legal { margin-top: 26px; font-size: .78rem; opacity: .7; max-width: 80ch; }

/* Mobile sticky CTA */
.mcta { display: none; }

/* Reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1040px) {
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps, .info { grid-template-columns: repeat(2, 1fr); }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 14px 20px 22px;
    background: rgba(6, 10, 20, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    translate: 0 -12px; opacity: 0; visibility: hidden; transition: opacity .25s, translate .25s, visibility .25s;
  }
  .menu.open { opacity: 1; translate: 0 0; visibility: visible; }
  .menu a { padding: 14px 12px; font-size: .9rem; }
  .menu .play { margin-top: 8px; }
  .menu .play .btn { width: 100%; }
}
@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  .wrap { width: calc(100% - 32px); }
  .g3, .g2, .steps, .info, .rules, .meta { grid-template-columns: 1fr; }
  .hero .content { padding-bottom: 120px; }
  .btn-xl { width: 100%; padding: 18px 20px; font-size: 1.05rem; }
  .cta-row .btn { width: 100%; }
  .flow { grid-template-columns: 1fr; gap: 6px; }
  .flow .st + .st::before { content: "⌄"; left: 50%; top: -22px; translate: -50% 0; }
  .post { grid-template-columns: 1fr; gap: 6px; padding: 20px; }
  .ipbox code { font-size: 1rem; }
  .history .row { flex-direction: column; gap: 4px; }
  .mcta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; }
  .mcta .btn { width: 100%; padding: 16px; box-shadow: 0 14px 40px -6px rgba(0, 0, 0, .8), 0 10px 30px -10px rgba(224, 52, 74, .9); }
  .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* utilidades (sustituyen estilos en linea: la CSP no los permite) */
.info-2 { grid-template-columns: 1fr 1fr; margin-top: 12px; }
.info-2 code { font-size: 1rem; }
.span2 { grid-column: span 2; }
.actions { margin: 18px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.lead.mx { margin-inline: auto; }
.mt32 { margin-top: 32px; }
.tab-title { color: var(--ice); font-size: .7rem; }
h1.title[data-size="xl"] { font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 900; }
h1.title[data-size="lg"] { font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 900; }

/* ---- ajustes tras revisar capturas ---- */
.menu a, .btn { white-space: nowrap; }
.menu { gap: 2px; }
.menu a { padding: 8px 10px; font-size: .76rem; }
.hero h1 { font-size: clamp(2.1rem, 7.2vw, 5.4rem); white-space: nowrap; }
.hero h1 .flake { font-size: .5em; vertical-align: .18em; margin-inline: .12em; }
.ridge { height: clamp(260px, 44vh, 480px); }
.ridge:nth-of-type(2) { height: clamp(200px, 33vh, 380px); }
.ridge:nth-of-type(3) { height: clamp(150px, 24vh, 300px); }
@media (max-width: 1100px) { .menu a { padding: 8px 8px; letter-spacing: .05em; } }
@media (max-width: 900px) { .menu a { padding: 14px 12px; font-size: .9rem; } }
@media (max-width: 720px) { .hero h1 { white-space: normal; font-size: clamp(2.1rem, 11vw, 3.4rem); } }
.ridge { max-width: none; }
.pack .note { margin: 22px auto 0; }
.card .actions { margin-top: 18px; }
.step code { display: inline-block; margin-top: 6px; }
.hero .content { padding-bottom: 190px; }
.ridge { height: clamp(240px, 40vh, 430px); }
.ridge:nth-of-type(2) { height: clamp(190px, 31vh, 350px); }
.ridge:nth-of-type(3) { height: clamp(140px, 22vh, 270px); }
@media (max-width: 720px) { .hero .content { padding-bottom: 150px; } }
.post { grid-template-columns: 200px 1fr; }
@media (max-width: 720px) { .post { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .hero h1 { font-size: clamp(1.5rem, 7.7vw, 2.9rem); letter-spacing: 0; } .hero h1 .flake { font-size: .6em; margin-inline: .08em; } .eyebrow { font-size: .6rem; padding: 7px 12px; } }
.menu a.btn { color: #fff; letter-spacing: .1em; }
.menu a.btn-primary, .menu a.btn-primary:hover { background: linear-gradient(135deg, var(--red-2), var(--red) 55%, #b8182f); }
.menu a.btn-sm { padding: 10px 18px; font-size: .78rem; }
@media (max-width: 900px) { .menu a.btn-sm { padding: 16px; font-size: .9rem; } }

[hidden] { display: none !important; }
.pack .mt32 { margin-top: 34px; margin-bottom: 0; }

/* Huella del servidor */
.fp { text-align: center; padding: clamp(28px, 5vw, 56px); border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.fp .lead { margin-bottom: 26px; }
.fp-code { display: block; max-width: 760px; margin: 0 auto; padding: 18px 20px; border-radius: 14px; border: 1px dashed rgba(143, 216, 255, .4); background: rgba(143, 216, 255, .06); color: var(--ice); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: clamp(.78rem, 2.4vw, 1rem); line-height: 1.6; word-break: break-all; letter-spacing: .02em; user-select: all; }
.fp .mt32 { margin-top: 22px; }
.fp-note { margin: 22px auto 0; max-width: 60ch; color: var(--gold); font-size: .95rem; }
.fp-note b { color: #fff; }

/* ---- La villa (mapa y guía) ---- */
.vm-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin: 0 0 18px; font-size: .92rem; color: var(--muted); }
.lg-item { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sw.st-mayor { background: #4a9be0; } .sw.st-mercado { background: #34b47c; } .sw.st-artesanos { background: #d9923a; } .sw.st-nueva { background: #a272cc; }
.vm { border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow); overflow: hidden; }
.vm svg { width: 100%; height: auto; }
.vm-bg { fill: var(--bg-2); }
.vm-land { fill: #17213a; stroke: var(--red-2); stroke-width: 2; }
.vm-grid { stroke: rgba(160, 200, 255, .12); stroke-width: 1; }
.vm-axis { fill: var(--muted); font: 600 11px var(--font-body); }
.vm-plaza { fill: #2a3350; stroke: var(--red-2); stroke-width: 2; }
.vm-plot rect { stroke: #fff; stroke-width: 1.5; fill-opacity: .88; }
.vm-plot:hover rect { fill-opacity: 1; stroke-width: 3; }
.vm-plot rect.st-mayor { fill: #4a9be0; } .vm-plot rect.st-mercado { fill: #34b47c; } .vm-plot rect.st-artesanos { fill: #d9923a; } .vm-plot rect.st-nueva { fill: #a272cc; }
.vm-num { fill: #fff; font: 800 14px var(--font-display); pointer-events: none; }
.vm-num.big { font-size: 17px; }
.vm-note { text-align: center; color: var(--muted); font-size: .88rem; margin: 12px 0 0; }
.vm-guide { grid-template-columns: repeat(2, 1fr); margin-top: 34px; }
.vm-list { margin: 0 0 14px; padding-left: 1.2em; color: var(--muted); }
.vm-list li { margin: .45em 0; }
.vm-list b, .card p b { color: #fff; }
.vm-list code, .card p code { font: 600 .85em var(--font-body); background: rgba(143, 216, 255, .1); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ice); }
.vm-h { font-size: 1.6rem; margin: 46px 0 16px; }
.vm-table { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); }
.vm-table table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.vm-table th, .vm-table td { padding: 9px 14px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.vm-table th { color: var(--muted); font: 600 .78rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.vm-table td.num { color: #fff; font-weight: 800; }
.vm-table tr:last-child td { border-bottom: 0; }
@media (max-width: 900px) { .vm-guide { grid-template-columns: 1fr; } }

/* ---- Guia del jugador ---- */
.g-wrap { max-width: 920px; }
.g-toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 30px; }
.g-toc a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--muted); font: 600 .78rem var(--font-display); letter-spacing: .08em; }
.g-toc a:hover { color: #fff; border-color: rgba(160, 200, 255, .4); }
.g-h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 52px 0 14px; padding-top: 6px; border-top: 1px solid var(--line); }
.g-h3 { font-size: 1.15rem; margin: 26px 0 8px; color: var(--ice); }
.g-wrap p { color: var(--muted); }
.g-wrap p b, .g-wrap li b { color: #fff; }
.g-note { margin: 18px 0; padding: 14px 18px; border-radius: 12px; border: 1px dashed rgba(255, 207, 138, .5); background: rgba(255, 207, 138, .06); color: #ffe6c2; font-size: .95rem; }
.g-table { margin: 14px 0 22px; }
.g-wrap code { font: 600 .85em var(--font-body); background: rgba(143, 216, 255, .1); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ice); }
.g-table td, .g-table th { white-space: normal; vertical-align: top; }
.g-pre { margin: 14px 0 22px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--ice); font: 500 .9rem/1.5 var(--font-body); overflow-x: auto; white-space: pre; }
