:root {
  --bg: #0a0e0c;
  --bg2: #0e1512;
  --panel: #131c17;
  --panel2: #19261f;
  --line: #26392f;
  --line2: #37553f;
  --tx: #e9f3ed;
  --mut: #90a99c;
  --dim: #607a6c;
  --em: #3ddc84;
  --em-d: #1f9d55;
  --gold: #ffbf3c;
  --dia: #4de1e8;
  --red: #ff5d4d;
  --c: 6px;
  --f-pix: 'Press Start 2P', ui-monospace, monospace;
  --f: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, .modal__box { scrollbar-color: #2f4a3a #070a08; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 400 1rem/1.6 var(--f);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--em); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--em); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--em); color: #04130a; padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Bloque con esquinas "pixeladas" y bisel tipo Minecraft */
.px {
  --c: 6px;
  background: var(--panel);
  box-shadow: inset 0 0 0 2px var(--line), inset 3px 3px 0 rgba(255,255,255,.04), inset -3px -3px 0 rgba(0,0,0,.28);
  clip-path: polygon(
    var(--c) 0, calc(100% - var(--c)) 0, calc(100% - var(--c)) var(--c), 100% var(--c),
    100% calc(100% - var(--c)), calc(100% - var(--c)) calc(100% - var(--c)), calc(100% - var(--c)) 100%,
    var(--c) 100%, var(--c) calc(100% - var(--c)), 0 calc(100% - var(--c)), 0 var(--c), var(--c) var(--c));
}

/* Iconos pixel-art (SVG generados desde app.js) */
[data-icon] svg, .pixico svg { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
[data-icon] { display: inline-block; width: 1.1em; height: 1.1em; flex: none; }

/* ───── NAV ───── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10,14,12,.78); backdrop-filter: blur(12px); border-bottom: 2px solid #000; box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--tx); font-family: var(--f-pix); font-size: 13px; letter-spacing: .5px; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--gold); font-weight: 400; }
.brand__cube { width: 30px; height: 30px; display: inline-block; filter: drop-shadow(0 3px 0 rgba(0,0,0,.6)); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { color: var(--mut); padding: 8px 14px; font-weight: 500; border-radius: 4px; }
.nav__links a:hover, .nav__links a.on { color: var(--tx); background: var(--panel2); text-decoration: none; }
.nav__links a.on { box-shadow: inset 0 -3px 0 var(--em); }

/* ───── Botones ───── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 0; font-weight: 700; letter-spacing: .2px;
  background: var(--em); color: #04130a; text-decoration: none;
  box-shadow: inset 0 -4px 0 var(--em-d), inset 0 0 0 2px #000, inset 3px 3px 0 rgba(255,255,255,.35);
  transition: transform .08s, filter .15s;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 var(--em-d), inset 0 0 0 2px #000; }
.btn--sm { padding: 8px 14px; font-size: .9rem; font-family: var(--f-mono); }
.btn--ghost { background: var(--panel2); color: var(--tx); box-shadow: inset 0 -4px 0 #0c1410, inset 0 0 0 2px #000, inset 3px 3px 0 rgba(255,255,255,.08); }

/* ───── HERO ───── */
.hero { position: relative; padding: 84px 0 0; background:
  radial-gradient(900px 480px at 78% 12%, rgba(61,220,132,.16), transparent 62%),
  radial-gradient(700px 420px at 8% 90%, rgba(255,191,60,.09), transparent 60%),
  linear-gradient(rgba(255,255,255,.028) 2px, transparent 2px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(255,255,255,.028) 2px, transparent 2px) 0 0 / 32px 32px,
  var(--bg); overflow: hidden; }
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding-bottom: 88px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 2px var(--line); font-family: var(--f-mono); font-size: .8rem; color: var(--mut); }
.dot { width: 10px; height: 10px; background: var(--dim); display: inline-block; box-shadow: 0 0 0 2px #000; }
.dot.on { background: var(--em); box-shadow: 0 0 0 2px #000, 0 0 12px var(--em); }
.dot.maint { background: var(--gold); box-shadow: 0 0 0 2px #000, 0 0 12px var(--gold); animation: pulse 1.6s infinite; }
.dot.off { background: var(--red); box-shadow: 0 0 0 2px #000, 0 0 10px var(--red); }
.dot--live { background: var(--em); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.logo { font-family: var(--f-pix); font-weight: 400; line-height: 1.05; margin: 22px 0 18px; display: flex; flex-direction: column; gap: 10px; }
.logo__mc { font-size: clamp(30px, 5.4vw, 58px); color: var(--gold); text-shadow: 0 4px 0 #7a5410, 0 8px 0 #3c2a08, 0 14px 22px rgba(255,191,60,.25); }
.logo__fl { font-size: clamp(30px, 7.2vw, 84px); color: #7dffb4; text-shadow: 0 5px 0 #17743e, 0 10px 0 #0b3a1f, 0 18px 30px rgba(61,220,132,.35); word-break: break-word; }
.hero__tag { color: var(--mut); font-size: 1.2rem; max-width: 34ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: stretch; }
.hero__ver { margin-top: 18px; color: var(--dim); font-family: var(--f-mono); font-size: .82rem; }

.ip { display: inline-flex; align-items: stretch; border: 0; padding: 0; background: #050806; box-shadow: inset 0 0 0 2px #000, 0 0 0 2px var(--line2); transition: box-shadow .15s, transform .08s; }
.ip:hover { box-shadow: inset 0 0 0 2px #000, 0 0 0 2px var(--em); }
.ip:active { transform: translateY(2px); }
.ip__lbl { background: var(--gold); color: #2c1e02; font-family: var(--f-pix); font-size: 11px; padding: 0 12px; display: grid; place-items: center; }
.ip__val { font-family: var(--f-mono); font-weight: 700; font-size: 1.05rem; padding: 14px 18px; color: var(--tx); }
.ip__act { font-family: var(--f-pix); font-size: 10px; padding: 0 14px; display: grid; place-items: center; background: var(--panel2); color: var(--em); border-left: 2px solid #000; }

.live { padding: 22px 24px 20px; position: relative; --c: 8px; }
.live__top { display: flex; justify-content: space-between; align-items: center; }
.live__tag { display: inline-flex; gap: 8px; align-items: center; font-family: var(--f-pix); font-size: 10px; color: var(--em); }
.live__num { display: flex; align-items: baseline; gap: 4px; margin-top: 14px; font-family: var(--f-pix); }
.live__num b { font-size: clamp(44px, 6vw, 68px); font-weight: 400; color: var(--tx); text-shadow: 0 4px 0 #000; }
.live__num span { font-size: 22px; color: var(--dim); } .live__num i { font-style: normal; }
.live__lbl { color: var(--mut); margin: 4px 0 16px; }
.live__mini { margin-top: 18px; display: grid; gap: 8px; }
.live__mini li { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .85rem; color: var(--mut); }
.live__mini b { margin-left: auto; color: var(--tx); }

.bar { height: 14px; background: #050806; box-shadow: inset 0 0 0 2px #000; padding: 2px; }
.bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--em) 0 8px, #2fbf72 8px 10px); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.bar--thin { height: 10px; margin-top: 8px; padding: 2px; }

.horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background:
  repeating-linear-gradient(90deg, #4ade80 0 16px, #3ac774 16px 32px) top / 100% 12px no-repeat,
  repeating-linear-gradient(90deg, #2e9b58 0 16px, #278a4d 16px 32px) 0 12px / 100% 4px no-repeat,
  repeating-linear-gradient(90deg, #7a5230 0 16px, #6d472a 16px 32px) 0 16px / 100% 12px no-repeat,
  repeating-linear-gradient(90deg, #5b3d24 0 16px, #503620 16px 32px) 0 28px / 100% 12px no-repeat; box-shadow: 0 -4px 0 #000; }

.chip { display: inline-block; padding: 2px 10px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .4px; text-transform: uppercase; background: var(--panel2); color: var(--em); box-shadow: inset 0 0 0 2px var(--line); }

/* ───── Secciones ───── */
.sec { padding: 92px 0; }
.sec--alt { background: var(--bg2); border-block: 2px solid #000; box-shadow: inset 0 2px 0 var(--line), inset 0 -2px 0 var(--line); }
.sec__head { margin-bottom: 36px; max-width: 62ch; }
.sec__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.kicker { font-family: var(--f-pix); font-size: 10px; color: var(--gold); margin-bottom: 14px; }
.sec h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -.5px; }
.sec__sub { color: var(--mut); margin-top: 10px; }
.count { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 2px 12px; font-family: var(--f-pix); font-size: .95rem; background: var(--em); color: #04130a; box-shadow: inset 0 0 0 2px #000; letter-spacing: 0; }

/* ───── Estado ───── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 22px 22px 20px; min-height: 168px; position: relative; }
.stat__ico { position: absolute; right: 18px; top: 18px; width: 30px; height: 30px; opacity: .9; }
.stat__lbl { color: var(--mut); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.stat__val { font-family: var(--f-pix); font-size: 26px; margin-top: 14px; line-height: 1.3; }
.stat__val small { font-size: 12px; color: var(--dim); }
.stat__val--sm { font-size: 16px; padding-top: 6px; font-family: var(--f-mono); font-weight: 700; }
.stat__note { color: var(--dim); font-size: .85rem; margin-top: 8px; overflow-wrap: anywhere; }
.st-on { color: var(--em); } .st-off { color: var(--red); } .st-maint { color: var(--gold); }
.stat__val--md { font-size: 15px; padding-top: 6px; }
.net { margin-top: 16px; padding: 22px 24px; }
.net h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.net__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.net__list li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #0c1310; box-shadow: inset 0 0 0 2px var(--line); font-family: var(--f-mono); font-size: .9rem; }
.net__list em { margin-left: auto; font-style: normal; color: var(--mut); }

/* ───── Segmented / tabs ───── */
.seg { display: inline-flex; padding: 4px; gap: 4px; background: #050806; box-shadow: inset 0 0 0 2px #000, 0 0 0 2px var(--line); }
.seg button { border: 0; background: transparent; padding: 9px 18px; color: var(--mut); font-weight: 600; }
.seg button:hover { color: var(--tx); }
.seg button[aria-selected="true"] { background: var(--em); color: #04130a; box-shadow: inset 0 -3px 0 var(--em-d); }
.seg--sm button { padding: 6px 12px; font-size: .88rem; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; background: var(--panel); color: var(--mut); font-weight: 600; box-shadow: inset 0 0 0 2px var(--line); transition: background .15s, color .15s; }
.tab:hover { color: var(--tx); background: var(--panel2); }
.tab[aria-selected="true"] { background: var(--panel2); color: var(--em); box-shadow: inset 0 0 0 2px var(--em); }
.tab [data-icon] { width: 18px; height: 18px; }

/* ───── Jugadores ───── */
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.group { padding: 0 0 18px; }
.group__h { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 2px solid #000; background: var(--panel2); }
.group__h h3 { font-size: 1.15rem; font-weight: 700; }
.group__h .n { margin-left: auto; font-family: var(--f-pix); font-size: 12px; color: var(--em); }
.world { padding: 16px 20px 0; }
.world__l { font-family: var(--f-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 10px; display: flex; justify-content: space-between; }
.world__l span { color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pl { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; background: #0c1310; box-shadow: inset 0 0 0 2px var(--line); font-family: var(--f-mono); font-size: .86rem; transition: transform .12s, box-shadow .12s; }
.pl:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--em); }
.pl img { width: 28px; height: 28px; object-fit: contain; image-rendering: pixelated; display: block; background: #050806; }
.pl small { color: var(--dim); font-size: .78rem; }
.pl b { font-weight: 700; }
.plist { padding: 22px; }
.plist .chips { gap: 10px; }
.empty { padding: 40px 20px; text-align: center; color: var(--dim); font-family: var(--f-mono); }
.emptybox { padding: 48px 20px; text-align: center; color: var(--mut); }
.emptybox .pixico { width: 56px; height: 56px; margin: 0 auto 14px; opacity: .7; }

/* ───── Leaderboard ───── */
.lb__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; align-items: center; }
.lb__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.podium { padding: 28px 20px 0; display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 10px; background:
  radial-gradient(360px 240px at 50% 30%, rgba(255,191,60,.12), transparent 70%), var(--panel); min-height: 380px; }
.pod { text-align: center; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.pod__bust { width: clamp(64px, 11vw, 112px); height: auto; aspect-ratio: 1; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 6px 0 rgba(0,0,0,.55)); animation: bob 3.4s ease-in-out infinite; }
.pod:nth-child(1) .pod__bust { animation-delay: -1s; } .pod:nth-child(3) .pod__bust { animation-delay: -2s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.pod__name { font-family: var(--f-mono); font-weight: 700; margin-top: 10px; font-size: .92rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod__val { color: var(--em); font-family: var(--f-mono); font-size: .82rem; margin-bottom: 10px; }
.pod__base { width: 100%; display: grid; place-items: center; font-family: var(--f-pix); color: #1a1204; box-shadow: inset 0 0 0 2px #000, inset 3px 3px 0 rgba(255,255,255,.35), inset -3px -3px 0 rgba(0,0,0,.25); }
.pod--1 .pod__base { height: 92px; background: linear-gradient(#ffd66b, var(--gold)); font-size: 26px; }
.pod--2 .pod__base { height: 66px; background: linear-gradient(#e6edf0, #b7c3c9); font-size: 20px; }
.pod--3 .pod__base { height: 46px; background: linear-gradient(#e6a06a, #c07a41); font-size: 16px; }
.pod--empty { opacity: .3; }

.rows { padding: 10px 0; }
.row { display: grid; grid-template-columns: 34px 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 9px 20px; position: relative; }
.row:nth-child(odd) { background: rgba(255,255,255,.02); }
.row:hover { background: var(--panel2); }
.row__pos { font-family: var(--f-pix); font-size: 11px; color: var(--dim); text-align: center; }
.row img { width: 34px; height: 34px; object-fit: contain; image-rendering: pixelated; background: #050806; box-shadow: 0 0 0 2px #000; }
.row__who { min-width: 0; }
.row__name { font-family: var(--f-mono); font-weight: 700; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__bar { height: 6px; margin-top: 6px; background: #050806; }
.row__bar i { display: block; height: 100%; background: var(--em); width: 0; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.row__val { font-family: var(--f-mono); font-weight: 700; font-size: .9rem; color: var(--tx); }
.row__val small { color: var(--dim); font-weight: 500; }

/* ───── Tutoriales ───── */
.search { display: flex; align-items: center; gap: 10px; padding: 0 16px; min-width: min(100%, 320px); background: #050806; box-shadow: inset 0 0 0 2px #000, 0 0 0 2px var(--line); }
.search:focus-within { box-shadow: inset 0 0 0 2px #000, 0 0 0 2px var(--em); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--tx); font: inherit; padding: 12px 0; }
.search [data-icon] { width: 20px; height: 20px; opacity: .8; }
#tutCats { margin-bottom: 26px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.tcard { display: flex; flex-direction: column; gap: 10px; padding: 22px; text-align: left; border: 0; width: 100%; color: inherit; transition: transform .15s, box-shadow .15s; }
.tcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 2px var(--em), inset 3px 3px 0 rgba(255,255,255,.05), 0 10px 0 -2px rgba(0,0,0,.4); }
.tcard__top { display: flex; align-items: center; justify-content: space-between; }
.pixico { width: 44px; height: 44px; display: block; }
.tcard h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.tcard p { color: var(--mut); font-size: .95rem; flex: 1; }
.tcard__meta { display: flex; gap: 14px; color: var(--dim); font-family: var(--f-mono); font-size: .76rem; padding-top: 6px; border-top: 2px dashed var(--line); }
.tcard__go { color: var(--em); margin-left: auto; font-weight: 700; }

/* ───── Modal ───── */
.modal { border: 0; padding: 0; background: transparent; color: var(--tx); max-width: 720px; width: calc(100% - 28px); max-height: calc(100dvh - 40px); margin: auto; overflow: visible; }
.modal::backdrop { background: rgba(3,6,4,.78); backdrop-filter: blur(6px); }
.modal[open] .modal__box { animation: pop .22s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal__box { position: relative; padding: 30px 30px 26px; max-height: calc(100dvh - 40px); overflow: auto; --c: 8px; }
.modal__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; background: var(--panel2); box-shadow: inset 0 0 0 2px var(--line); color: var(--mut); }
.modal__x:hover { color: var(--tx); box-shadow: inset 0 0 0 2px var(--red); }
.modal__head { display: flex; gap: 18px; align-items: center; padding-right: 40px; }
.modal__ico { width: 64px; height: 64px; flex: none; }
.modal__head h3 { font-size: 1.6rem; font-weight: 800; line-height: 1.15; margin-top: 8px; }
.modal__meta { color: var(--dim); font-family: var(--f-mono); font-size: .8rem; margin-top: 6px; }
.modal__sum { color: var(--mut); margin: 20px 0 6px; font-size: 1.05rem; }
.steps { counter-reset: s; display: grid; gap: 14px; margin-top: 18px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; min-height: 36px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; font-family: var(--f-pix); font-size: 12px; color: #1a1204; background: var(--gold); box-shadow: inset 0 0 0 2px #000, inset 3px 3px 0 rgba(255,255,255,.35); }
.cmd { display: flex; align-items: center; gap: 12px; margin-top: 8px; width: 100%; padding: 10px 14px; border: 0; text-align: left; background: #050806; color: var(--em); font-family: var(--f-mono); font-weight: 700; font-size: .92rem; box-shadow: inset 0 0 0 2px #000, 0 0 0 2px var(--line); }
.cmd:hover { box-shadow: inset 0 0 0 2px #000, 0 0 0 2px var(--em); }
.cmd span { margin-left: auto; color: var(--dim); font-family: var(--f-pix); font-size: 9px; }
.tips { margin-top: 24px; padding: 16px 18px; background: rgba(255,191,60,.07); box-shadow: inset 0 0 0 2px #5a4310; }
.tips b { font-family: var(--f-pix); font-size: 10px; color: var(--gold); display: block; margin-bottom: 8px; }
.tips li { padding-left: 16px; position: relative; color: var(--mut); font-size: .95rem; }
.tips li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--gold); }

.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; z-index: 200; padding: 12px 22px; background: var(--em); color: #04130a; font-weight: 700; box-shadow: inset 0 0 0 2px #000, 0 6px 0 rgba(0,0,0,.4); transition: opacity .2s, transform .2s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.foot { padding: 40px 0 46px; background: #060907; border-top: 2px solid #000; box-shadow: inset 0 2px 0 var(--line); }
.foot__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot__note { color: var(--dim); font-size: .88rem; margin-top: 6px; }
.brand--static { pointer-events: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ───── Responsive ───── */
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .lb__body { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links a { padding: 8px 9px; }
}
.btn__short { display: none; }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
  .nav .js-host { display: none; }
  .nav .btn__short { display: inline; }
  .brand { font-size: 12px; }
  .pod__name { font-size: .76rem; }
  .pod__val { font-size: .74rem; }
  .sec { padding: 64px 0; }
  .hero { padding-top: 56px; }
  .hero__in { padding-bottom: 64px; }
  .ip__act { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 0; }
  .modal__box { padding: 22px 18px; }
  .modal__head h3 { font-size: 1.3rem; }
  .modal__ico { width: 48px; height: 48px; }
  .row { grid-template-columns: 26px 30px minmax(0,1fr) auto; gap: 10px; padding: 9px 14px; }
  .podium { padding: 22px 10px 0; min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
