/* Portada 2026 (design/claude-canvas/project/Landing2026.dc.html y
   Landing2026Mobile.dc.html, comportamiento en LandingNotes.md). Hoja propia de
   la portada: las páginas interiores siguen con site.css. Paleta del lienzo:
   negro cálido #0E0B09/#17120E, oro #D9A441/#E8C27A, Telegram #4F9FD3/#7FBDE6,
   Forum para títulos, Golos Text para texto y JetBrains Mono para cifras.
   Esquinas rectas, filetes #3A2C1E. Móvil: gutter de 16 px y sin scroll
   horizontal. Movimiento: sólo transform/opacity y todo se apaga con
   prefers-reduced-motion o con el botón «пауза» (html[data-motion=paused]). */

:root {
  --bg: #0E0B09;
  --bg-2: #120E0B;
  --bg-3: #140F0B;
  --surface: #17120E;
  --card: #221A13;
  --card-hi: #2E2318;
  --line: #3A2C1E;
  --line-strong: #5A4630;
  --text: #EFE3CC;
  --text-strong: #F6ECD8;
  --soft: #CDBB9E;
  --muted: #B39F84;
  --dim: #8F7D66;
  --gold: #D9A441;
  --gold-text: #E8C27A;
  --gold-hover: #F4D9A3;
  --on-gold: #1B1206;
  --tg: #4F9FD3;
  --tg-hi: #7FBDE6;
  --green: #6FCF8E;
  --red: #E26B50;
  --bronze: #C98A55;

  --f-display: "Forum", Georgia, serif;
  --f-body: "Golos Text", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1440px;
  --gutter: clamp(16px, 5.6vw, 80px);
  --header-h: 80px;
  --section: clamp(56px, 6.7vw, 96px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 16px; line-height: 1.55;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
svg { flex: none; }
a { color: var(--gold-text); }
a:hover { color: var(--gold-hover); }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: rgba(217, 164, 65, .35); color: #fff; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mono { font-family: var(--f-mono); }
.gold { color: var(--gold-text); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--gold); color: var(--on-gold); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ------------------------------------------------------------ tipografía */
.eyebrow {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 500;
}
.eyebrow-tg { color: var(--tg-hi); }
.h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.05; color: var(--text-strong); letter-spacing: .01em; }
.h2-lg { font-size: clamp(34px, 3.9vw, 56px); line-height: 1; }
.h2-xl { font-size: clamp(40px, 4.4vw, 64px); line-height: 1; }
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: var(--soft); max-width: 62ch; }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(20px, 2.5vw, 36px); }
.sec-head > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.sec-row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.more {
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px; text-decoration: none;
  min-height: 44px; white-space: nowrap;
}
.more svg { width: 18px; height: 18px; transition: transform .15s linear; }
.more:hover svg { transform: translateX(3px); }
.section { padding-block: var(--section); border-bottom: 1px solid var(--line); }

/* ---------------------------------------------------------------- botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--f-body); font-size: 16px; font-weight: 500; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s linear, border-color .15s linear, color .15s linear;
}
.btn svg { width: 20px; height: 20px; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 15px; font-weight: 600; }
.btn-lg { min-height: 56px; padding: 0 24px; font-size: 16px; }
.btn-xl { min-height: 60px; padding: 0 22px; font-size: 17px; }
.btn-gold { background: var(--gold); color: var(--on-gold); font-weight: 600; }
.btn-gold:hover { background: #E7B656; color: var(--on-gold); }
.btn-tg { background: rgba(79, 163, 217, .12); border-color: var(--tg); color: var(--text-strong); }
.btn-tg:hover { background: rgba(79, 163, 217, .24); color: #fff; }
.btn-tg svg { color: var(--tg-hi); }
.btn-tg-solid { background: var(--tg-hi); color: var(--bg); font-weight: 600; font-size: 18px; }
.btn-tg-solid:hover { background: #A4D1EF; color: var(--bg); }
.btn-line { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-line:hover { border-color: var(--gold); color: var(--text-strong); }
.round-btn {
  width: 56px; height: 56px; display: inline-grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text);
  transition: border-color .15s linear, background-color .15s linear;
}
.round-btn svg { width: 22px; height: 22px; }
.round-btn:hover { border-color: var(--gold); }
.round-gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.round-gold:hover { background: #E7B656; }
.sq-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; cursor: pointer;
  background: rgba(14, 11, 9, .7); border: 1px solid var(--line-strong); color: var(--text);
}
.sq-btn svg { width: 18px; height: 18px; }
.sq-btn:hover { border-color: var(--gold); }

/* Segmentos (RU/EN, М/Ж, Китай/Европа, pestañas del ranking) */
.seg { display: flex; border: 1px solid var(--line-strong); }
.seg button {
  flex: 1 1 0; min-height: 44px; padding: 0 16px; border: 0; background: transparent; cursor: pointer;
  color: var(--soft); font-size: 15px; transition: background-color .15s linear, color .15s linear;
}
.seg button + button { border-left: 1px solid var(--line); }
.seg button:hover { color: var(--text-strong); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); font-weight: 600; }

/* ---------------------------------------------------------------- cabecera */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(14, 11, 9, .55); border-bottom: 1px solid rgba(90, 70, 48, .5);
  transition: background-color .2s linear;
}
.site-header[data-scrolled="true"], .site-header[data-open="true"] { background: rgba(14, 11, 9, .94); }
@supports (backdrop-filter: blur(8px)) {
  .site-header[data-scrolled="true"] { background: rgba(14, 11, 9, .8); backdrop-filter: blur(10px); }
}
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: clamp(16px, 3.9vw, 56px); max-width: 1600px; margin-inline: auto; }
.logo { display: flex; align-items: baseline; gap: 14px; text-decoration: none; min-height: 44px; align-items: center; }
.logo-name { font-family: var(--f-display); font-size: 30px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-strong); line-height: 1; }
.logo-motto { font-family: var(--f-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); white-space: nowrap; }
.main-nav { display: flex; gap: clamp(16px, 1.8vw, 28px); font-size: 15px; }
.main-nav a { color: var(--text); text-decoration: none; padding: 10px 0; white-space: nowrap; }
.main-nav a:hover { color: var(--gold-hover); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); display: inline-block; flex: none; }
.dot[data-state="online"] { background: var(--green); box-shadow: 0 0 0 3px rgba(111, 207, 142, .16); }
.dot[data-state="partial"] { background: var(--gold); }
.dot[data-state="offline"] { background: var(--red); }
.status-pill:has(.dot[data-state="online"]) { color: var(--green); }
/* Selector de idioma: el botón enseña la bandera del idioma actual; el menú
   (site.js) lista todos con su endónimo. */
.lang-pick { position: relative; display: flex; }
.lang-btn { display: flex; align-items: center; gap: 8px; padding: 0 12px 0 10px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; min-height: 40px; color: var(--soft); }
.lang-btn [data-lang-code] { display: none; }
.lang-btn [data-lang-code].is-on { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--text); }
.lang-caret { width: 10px; height: 6px; flex: none; color: var(--muted); transition: transform .2s var(--ease); }
.lang-pick.is-open .lang-caret { transform: rotate(180deg); }
.lang-btn:hover .lang-caret, .lang-pick.is-open .lang-caret { color: var(--gold-hover); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 70; min-width: 212px;
  display: grid; gap: 2px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: rgba(16, 12, 9, .97); box-shadow: 0 20px 48px -12px rgba(0, 0, 0, .75);
}
.lang-menu[hidden] { display: none; }
.lang-menu[aria-busy="true"] { opacity: .7; cursor: progress; }
.lang-item {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 8px; background: transparent; color: var(--text); cursor: pointer;
  font-family: var(--f-body); font-size: 15px; font-weight: 500; text-align: start;
}
.lang-item:hover { background: rgba(217, 164, 65, .1); color: var(--text-strong); }
.lang-item:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.lang-item.is-on { background: rgba(217, 164, 65, .16); color: var(--gold-hover); }
.lang-item .flag { width: 22px; height: 15px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 1px 3px rgba(0, 0, 0, .5); }
.lang-item .lang-name { flex: 1; }
.lang-item .lang-code { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.lang-item[lang="ar"] .lang-name { font-family: var(--f-arabic); font-size: 16px; }
.menu-btn {
  display: none; width: 44px; height: 44px; place-items: center; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text-strong);
}
.menu-btn svg { width: 20px; height: 20px; }
/* La fila tiene que caber entera de 1181 a 1599 px también con el estado largo
   («Онлайн · вход недоступен»): primero se va el lema y, más estrecho, el texto del
   estado (queda el punto con su title; el estado completo está en la franja de totales). */
@media (max-width: 1599px) {
  .site-header:has(.dot[data-state="partial"]) .logo-motto { display: none; }
}
@media (max-width: 1439px) {
  .logo-motto { display: none; }
  .site-header:has(.dot[data-state="partial"]) .status-text { display: none; }
}
@media (max-width: 1319px) {
  .status-pill .status-text { display: none; }
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; min-height: clamp(760px, 100svh, 940px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 46% 60% at 70% 58%, rgba(217, 164, 65, .26), rgba(217, 164, 65, 0) 70%),
    radial-gradient(ellipse 80% 50% at 70% 100%, rgba(201, 71, 47, .18), rgba(14, 11, 9, 0) 70%),
    linear-gradient(180deg, #1B1510 0%, #120E0B 55%, var(--bg) 100%);
}
.hero-scene { position: absolute; inset: 0; }
.hero-stage {
  position: absolute; left: calc(50% - 250px); top: calc(var(--header-h) + 4px);
  width: min(54vw, 780px); aspect-ratio: 1; outline-offset: -6px;
}
.hero-stage img, .legend-stage img, .bst-stage img, .pod-figure img { width: 100%; height: 100%; object-fit: contain; }
.hero-stage picture { display: contents; } /* póster AVIF + WebP: el <img> sigue midiendo contra el escenario */
.sro3d-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
[data-stage] { touch-action: pan-y; }
[data-stage][data-sro3d-state="live"] { cursor: grab; }
.legend-stage { position: relative; }
[data-stage][data-sro3d-state="live"] img { transition: opacity .6s var(--ease); }
.hero-stage.is-switching { opacity: 0; transition: opacity .3s linear; }
.hero-stage { transition: opacity .6s var(--ease); }
.hero-fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 11, 9, .96) 0%, rgba(14, 11, 9, .82) 34%, rgba(14, 11, 9, .1) 62%, rgba(14, 11, 9, 0) 100%),
    linear-gradient(180deg, rgba(14, 11, 9, 0) 76%, var(--bg) 100%);
}
.hero-copy {
  position: relative; z-index: 2; width: min(700px, 100%); margin-left: max(var(--gutter), calc(50vw - 640px));
  padding-top: clamp(150px, 21vh, 200px); padding-bottom: 150px;
  display: flex; flex-direction: column; gap: 28px; pointer-events: none;
}
.hero-copy > * { pointer-events: auto; }
/* Sin escena viva (pósters) no hay nada que arrastrar ni girar. */
.hero:not(:has([data-sro3d-state="live"])) .hero-hint,
.legend-stage-box:not(:has([data-sro3d-state="live"])) .stage-rotate,
.legend-stage-box:not(:has([data-sro3d-state="live"])) .stage-drag { display: none; }
.hero-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(46px, 5.3vw, 76px); line-height: 1; letter-spacing: .01em; color: var(--text-strong); }
.hero-title span { display: block; max-width: 9.5em; }
.hero-title em { font-style: normal; color: var(--gold-text); display: block; }
.hero-lead { font-size: clamp(16px, 1.32vw, 19px); line-height: 1.55; color: var(--soft); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-install { display: contents; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-mono); font-size: 13px; color: var(--dim); }
.install-hint { font-size: 14px; color: var(--muted); max-width: 520px; }

.unique-card {
  position: absolute; z-index: 3; right: max(var(--gutter), calc(50vw - 640px)); bottom: 96px; width: 380px;
  background: rgba(23, 18, 14, .9); border: 1px solid var(--line-strong); padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.uc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.uc-name { font-family: var(--f-display); font-size: 30px; line-height: 1.1; color: var(--text-strong); }
.uc-next { display: none; }
.uc-lvl, .lvl { font-family: var(--f-mono); font-size: 13px; color: var(--gold-text); white-space: nowrap; }
.uc-desc { font-size: 14px; line-height: 1.5; color: var(--muted); min-height: 3em; }
.uc-status { display: flex; flex-direction: column; gap: 4px; font-family: var(--f-mono); font-size: 12px; }
.uc-last { color: var(--dim); }
.uc-last:empty { display: none; }
.u-state { color: var(--muted); }
.u-state::before { content: "● "; }
.u-state[data-state="killed"] { color: var(--red); }
.u-state[data-state="alive"] { color: var(--green); }
.u-state.capped::before { content: none; }
.uc-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.uc-tabs button {
  min-height: 44px; border: 0; background: transparent; color: var(--soft); font-size: 13px; cursor: pointer;
  transition: background-color .15s linear, color .15s linear;
}
.uc-tabs button + button { border-left: 1px solid var(--line); }
.uc-tabs button:hover { color: var(--text-strong); background: rgba(217, 164, 65, .08); }
.uc-tabs button[aria-selected="true"] { background: var(--gold); color: var(--on-gold); font-weight: 600; }

.hero-tools {
  position: absolute; z-index: 3; left: max(var(--gutter), calc(50vw - 640px)); bottom: 40px;
  display: flex; align-items: center; gap: 18px; font-family: var(--f-mono); font-size: 12px; color: var(--dim);
}
.motion-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; cursor: pointer;
  font-family: var(--f-mono); font-size: 12px; color: var(--soft); background: rgba(14, 11, 9, .5); border: 1px solid var(--line);
}
.motion-btn:hover { border-color: var(--gold); }
.motion-ico { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.motion-btn[aria-pressed="true"] .motion-ico { border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; width: 0; height: 0; }

/* ------------------------------------------------------------------ totales */
.totals-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.totals-row { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding-block: 20px; }
.totals-line { font-family: var(--f-display); font-size: clamp(20px, 1.9vw, 27px); line-height: 1.35; color: var(--text-strong); }
.totals-line b { font-family: var(--f-mono); font-weight: 500; font-size: .86em; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.totals-side { display: flex; align-items: center; gap: 32px; flex: none; }
.server-now { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.server-now-label { font-size: 13px; color: var(--muted); }
.server-now-state { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; font-family: var(--f-mono); font-size: 16px; color: var(--text); white-space: nowrap; }
.server-now-state:has(.dot[data-state="online"]) { color: var(--green); }
.totals-note { width: 250px; font-size: 13px; line-height: 1.5; color: var(--dim); }

/* ------------------------------------------------------------------ eventos */
.road-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.road-card {
  min-height: 168px; padding: 18px; display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .15s linear;
}
.road-card:hover { border-color: var(--gold); }
.road-card[data-phase="live"] { background: var(--card); border-color: var(--gold); }
.road-kind { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.road-card[data-phase="live"] .road-kind { color: var(--green); }
.road-card h3 { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--text-strong); }
.road-desc { font-size: 14px; line-height: 1.45; color: var(--muted); }
.road-count { margin-top: auto; font-family: var(--f-mono); font-size: 20px; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.road-card[data-phase="live"] .road-count { color: var(--gold-text); }
.road-card[data-phase="registration"] .road-count, .road-card[data-phase="soon"] .road-count { color: var(--gold-text); }
.road-when { font-family: var(--f-mono); font-size: 12px; color: var(--dim); }

/* ---------------------------------------------------------- «Твоя легенда» */
.legend { background: radial-gradient(ellipse 50% 70% at 30% 50%, rgba(217, 164, 65, .1), rgba(14, 11, 9, 0) 70%), var(--bg); }
.legend-grid { display: grid; grid-template-columns: minmax(0, 700px) minmax(0, 1fr); gap: clamp(28px, 3.9vw, 56px); align-items: stretch; }
.legend-stage-box {
  position: relative; min-height: 640px; border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse 40% 12% at 50% 86%, rgba(217, 164, 65, .35), rgba(217, 164, 65, 0) 100%),
    radial-gradient(ellipse 60% 60% at 50% 45%, rgba(232, 194, 122, .12), rgba(14, 11, 9, 0) 70%),
    var(--bg-2);
  display: grid; place-items: center; overflow: hidden;
}
.legend-stage { width: min(100%, 640px); aspect-ratio: 1; }
.stage-gender { position: absolute; left: 24px; top: 24px; background: rgba(14, 11, 9, .7); }
.stage-gender button { font-size: 14px; }
.sm-label { display: none; }
.stage-rotate { position: absolute; right: 24px; top: 24px; display: flex; gap: 8px; }
.stage-caption {
  position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--f-mono); font-size: 12px; color: var(--dim);
}
.legend-panel { display: flex; flex-direction: column; gap: 22px; }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.tabs button {
  min-height: 52px; border: 0; border-bottom: 3px solid transparent; background: transparent; cursor: pointer;
  font-size: 16px; color: var(--muted); transition: color .15s linear, border-color .15s linear;
}
.tabs button:hover { color: var(--text-strong); }
.tabs button[aria-selected="true"] { color: var(--text-strong); font-weight: 600; border-bottom-color: var(--gold); }
.tab-panel { display: flex; flex-direction: column; gap: 12px; }
.opt-label { font-size: 14px; color: var(--muted); }
.opt-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.opt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.opt {
  min-height: 64px; padding: 8px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--card); border: 1px solid var(--line); color: var(--soft); cursor: pointer; text-align: center;
  transition: border-color .15s linear, background-color .15s linear;
}
.opt b { font-weight: 500; font-size: 15px; }
.opt small { font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.opt:hover { border-color: var(--gold); }
.opt[aria-pressed="true"] { background: var(--card-hi); border: 2px solid var(--gold); color: var(--text-strong); }
.opt[aria-pressed="true"] b { font-weight: 600; }
.opt[aria-pressed="true"] small { color: var(--gold-text); }
.tier-bar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.tier-bar li { height: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 0; }
.tier-bar li.is-on { background: var(--gold); border-color: var(--gold); }
.opt-note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.legend-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 8px; }
.share-status { font-size: 14px; color: var(--green); min-height: 1.5em; }
.legend-notes { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.note-card { background: var(--surface); border: 1px solid var(--line); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.note-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }

/* --------------------------------------------------------------- bestiario */
.bestiary { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 100%); }
.bst-head { align-items: flex-end; }
.car-nav { display: flex; gap: 10px; flex: none; }
.bst-track {
  display: flex; align-items: flex-start; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc(50vw - 640px)); scroll-padding-inline: max(var(--gutter), calc(50vw - 640px));
  padding-bottom: 4px;
}
.bst-track::-webkit-scrollbar { display: none; }
.bst-track:focus-visible { outline-offset: -2px; }
.bst-card {
  flex: 0 0 320px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; cursor: pointer; transition: border-color .15s linear, flex-basis .4s var(--ease);
}
.bst-card:hover { border-color: var(--gold); }
.bst-card.is-active { flex-basis: 520px; border-color: var(--gold); cursor: default; }
.bst-card.is-capped { opacity: .6; }
.bst-card.is-capped.is-active { opacity: 1; }
.bst-media {
  position: relative; height: 340px; border-bottom: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(ellipse 36% 10% at 50% 88%, rgba(217, 164, 65, .3), rgba(217, 164, 65, 0) 100%), var(--bg-2);
}
.bst-card.is-active .bst-media {
  height: 440px;
  background:
    radial-gradient(ellipse 36% 10% at 50% 88%, rgba(217, 164, 65, .4), rgba(217, 164, 65, 0) 100%),
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(201, 71, 47, .16), rgba(14, 11, 9, 0) 70%), var(--bg-2);
}
.bst-poster, .bst-stage { position: absolute; inset: 0; margin: auto; height: 100%; width: auto; aspect-ratio: 1; object-fit: contain; }
.bst-stage { display: none; }
.bst-card.is-active .bst-stage { display: block; }
.bst-card.is-active .bst-poster { visibility: hidden; }
.bst-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.bst-card.is-active .bst-body { padding: 22px 24px 24px; gap: 10px; }
.bst-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bst-title h3 { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--text-strong); }
.bst-card.is-active .bst-title h3 { font-size: 32px; }
.bst-desc { font-size: 14px; line-height: 1.5; color: var(--muted); display: none; }
.bst-card.is-active .bst-desc { display: block; font-size: 15px; }
.bst-status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-family: var(--f-mono); font-size: 12px; }
.bst-card.is-active .bst-status { font-size: 13px; }
.bst-where { color: var(--dim); }
.bst-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.bst-dots { display: flex; gap: 2px; }
.bst-dots button { width: 32px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.bst-dots button::before { content: ""; width: 16px; height: 4px; background: var(--line); transition: width .2s var(--ease), background-color .2s linear; }
.bst-dots button[aria-current="true"]::before { width: 28px; background: var(--gold); }

/* ------------------------------------------------------------------- clases */
.classes-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: clamp(28px, 3.9vw, 56px); }
.classes-intro { display: flex; flex-direction: column; gap: 18px; }
.seg-race { margin-top: 8px; }
.seg-race button { min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 16px; color: var(--muted); }
.seg-race button b { font-weight: inherit; }
.seg-race small { font-family: var(--f-mono); font-size: 11px; font-weight: 500; }
.schools { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.schools dt { font-size: 14px; color: var(--muted); }
.schools dt + dd + dt { margin-top: 8px; }
.schools dd { font-size: 16px; line-height: 1.6; color: var(--text); }
.class-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.class-card { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .15s linear; }
.class-card:hover, .class-card.is-lead { border-color: var(--gold); }
.class-art {
  height: 420px; border-bottom: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(ellipse 40% 8% at 50% 90%, rgba(217, 164, 65, .3), rgba(217, 164, 65, 0) 100%), var(--bg-2);
}
.class-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.class-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.class-body h3 { font-size: 18px; font-weight: 600; color: var(--text-strong); }
.class-body p { font-size: 14px; line-height: 1.45; color: var(--muted); }
.class-europe { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); padding: 20px; }
.class-europe img { width: 100%; height: 340px; object-fit: cover; }
.class-europe h3 { font-family: var(--f-display); font-weight: 400; font-size: 32px; color: var(--text-strong); margin-bottom: 12px; }
.class-europe p { color: var(--soft); }

/* ----------------------------------------------------------------- ranking */
.ranking { background: radial-gradient(ellipse 50% 50% at 50% 60%, rgba(217, 164, 65, .08), rgba(14, 11, 9, 0) 70%), var(--bg); }
.seg-board button { white-space: nowrap; min-height: 46px; padding: 0 18px; }
.board { display: grid; grid-template-columns: minmax(0, 820px) minmax(0, 1fr); gap: clamp(24px, 3.3vw, 48px); align-items: end; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.pod { display: flex; flex-direction: column; }
.pod-1 { order: 2; }
.pod-2 { order: 1; }
.pod-3 { order: 3; }
.pod-figure, .pod-banner {
  position: relative; height: 380px; border: 1px solid var(--line-strong); border-bottom: 0; overflow: hidden;
  background: radial-gradient(ellipse 45% 10% at 50% 96%, rgba(205, 187, 158, .3), rgba(0, 0, 0, 0) 100%), var(--bg-2);
}
.pod-figure img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.12); }
.pod-1 .pod-figure, .pod-1 .pod-banner {
  height: 440px; border-color: var(--gold);
  background:
    radial-gradient(ellipse 45% 10% at 50% 96%, rgba(217, 164, 65, .5), rgba(0, 0, 0, 0) 100%),
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(232, 194, 122, .12), rgba(0, 0, 0, 0) 70%), var(--bg-2);
}
.pod-1 .pod-figure[data-sro3d-state="live"] img { transform: none; }
.pod-3 .pod-figure, .pod-3 .pod-banner { height: 340px; background: radial-gradient(ellipse 45% 10% at 50% 96%, rgba(201, 124, 70, .3), rgba(0, 0, 0, 0) 100%), var(--bg-2); }
.pod-banner { display: none; place-items: center; }
.pod-banner span {
  width: 64%; aspect-ratio: 3 / 4; display: grid; place-items: center; border: 2px solid var(--line-strong);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%);
  background: linear-gradient(180deg, #4A3618, #221A13); font-family: var(--f-display); font-size: 64px; color: var(--gold-text);
}
.pod-1 .pod-banner span { border-color: var(--gold); background: linear-gradient(180deg, #6A4A1C, #2E2318); }
.board[data-mode="guild"] .pod-figure { display: none; }
.board[data-mode="guild"] .pod-banner { display: grid; }
.pod-base {
  height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 10px; text-align: center;
  background: linear-gradient(180deg, var(--card-hi), var(--surface)); border: 1px solid var(--line-strong);
}
.pod-1 .pod-base { height: 200px; background: linear-gradient(180deg, #4A3618, var(--surface)); border-color: var(--gold); }
.pod-3 .pod-base { height: 120px; }
.pod-rank { font-family: var(--f-display); font-size: 44px; line-height: 1; color: var(--soft); }
.pod-1 .pod-rank { font-size: 60px; color: var(--gold-text); }
.pod-3 .pod-rank { font-size: 40px; color: var(--bronze); }
.pod-name { font-size: 17px; font-weight: 600; color: var(--text-strong); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-1 .pod-name { font-size: 19px; font-weight: 700; }
.pod-name a { color: inherit; text-decoration: none; }
.pod-name a:hover { color: var(--gold-hover); text-decoration: underline; }
.pod-sub { font-family: var(--f-mono); font-size: 12px; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-1 .pod-sub { color: var(--gold-text); }
.board-table { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); }
.bt-head, .bt-row { display: grid; grid-template-columns: 30px minmax(0, 1.25fr) 52px minmax(0, 1fr); gap: 8px; padding: 12px 18px; align-items: center; }
.bt-head { font-size: 13px; color: var(--dim); border-bottom: 1px solid var(--line); }
.bt-head span:nth-child(3), .bt-row > :nth-child(3) { text-align: right; }
.bt-row { padding-block: 14px; font-size: 15px; border-bottom: 1px solid var(--card); }
.bt-pos { font-family: var(--f-mono); color: var(--dim); }
.bt-name { color: var(--text-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-name a { color: inherit; text-decoration: none; }
.bt-name a:hover { color: var(--gold-hover); text-decoration: underline; }
.bt-num { font-family: var(--f-mono); color: var(--gold-text); font-variant-numeric: tabular-nums; }
.bt-extra { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-extra a { color: inherit; text-decoration: none; }
.bt-extra a:hover { color: var(--gold-hover); }
.bt-empty { padding: 18px; color: var(--muted); font-size: 15px; }
.board-table .more { padding: 6px 18px; }
.board-note { margin-top: 18px; font-size: 13px; color: var(--dim); }

/* ---------------------------------------------------------------- gremios */
.guilds { background: var(--surface); }
.gw-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.gw-card { background: var(--card); border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: border-color .15s linear; }
.gw-card:hover { border-color: var(--gold); }
.gw-crest {
  height: 110px; display: grid; place-items: center; background: radial-gradient(ellipse 50% 50% at 50% 45%, rgba(217, 164, 65, .12), rgba(0, 0, 0, 0) 70%), var(--bg-2);
  border: 1px solid var(--line);
}
.gw-crest span {
  width: 56px; height: 70px; display: grid; place-items: center; font-family: var(--f-display); font-size: 30px; color: var(--gold-text);
  background: linear-gradient(180deg, #3D2C16, #221A13); border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 50% 100%, 0 84%);
}
.gw-card h3 { font-size: 16px; font-weight: 600; color: var(--text-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gw-card h3 a { color: inherit; text-decoration: none; }
.gw-card h3 a::after { content: ""; position: absolute; inset: 0; }
.gw-card { position: relative; }
.gw-card h3 a:focus-visible { outline: none; }
.gw-card:has(a:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.gw-sub { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.gw-lead { grid-column: span 2; grid-row: span 2; border: 2px solid var(--gold); padding: 22px; gap: 14px; }
.gw-lead .gw-crest { height: auto; flex: 1 1 auto; min-height: 220px; }
.gw-lead .gw-crest span { width: 120px; height: 150px; font-size: 64px; border: 2px solid var(--gold); background: linear-gradient(180deg, #6A4A1C, #2E2318); }
.gw-lead .gw-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.gw-lead h3 { font-family: var(--f-display); font-weight: 400; font-size: 34px; white-space: normal; }
.gw-lead .gw-sub { font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.gw-more-li { display: flex; min-width: 0; }
.gw-more { flex: 1 1 auto; border: 1px dashed var(--line-strong); padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; text-decoration: none; }
.gw-more b { font-family: var(--f-display); font-weight: 400; font-size: 34px; color: var(--gold-text); }
.gw-more span { font-size: 14px; color: var(--muted); }
.gw-more:hover { border-color: var(--gold); }
.gw-more .gw-n, .gw-narrow-only { display: none; }
.gw-empty { grid-column: 1 / -1; padding: 24px; border: 1px dashed var(--line-strong); color: var(--muted); }

/* ---------------------------------------------------------------- noticias */
.news-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; }
.news-card { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; transition: border-color .15s linear; }
.news-card:hover { border-color: var(--line-strong); }
.news-card-lead { grid-row: span 2; }
.news-card img { width: 100%; height: 320px; object-fit: cover; border-bottom: 1px solid var(--line); }
.news-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.news-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-family: var(--f-mono); font-size: 12px; color: var(--gold-text); }
.news-meta .tag::after { content: " ·"; color: var(--dim); }
.news-card h3 { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--text-strong); }
.news-card-lead h3 { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1.15; }
.news-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.news-card .news-meta { color: var(--gold-text); font-size: 12px; }
.news-more { margin-top: auto; }
.news-more a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.news-empty { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- Telegram */
.tg { background: radial-gradient(ellipse 40% 60% at 75% 50%, rgba(79, 159, 211, .12), rgba(14, 11, 9, 0) 70%), var(--bg); }
.tg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(32px, 4.4vw, 64px); align-items: center; }
.tg-copy { display: flex; flex-direction: column; gap: 22px; }
.dash-list { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--text); }
.dash-list li { display: flex; gap: 12px; }
.dash-list li::before { content: "—"; color: var(--gold-text); }
.tg-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.tg-phone { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.phone-frame { width: 100%; border: 10px solid var(--card); border-radius: 32px; background: var(--bg-2); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.phone-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #17212B; color: #E6EDF3; font-size: 14px; }
.phone-ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--tg); color: #fff; }
.phone-ico svg { width: 15px; height: 15px; }
.phone-tag { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--tg-hi); }
.phone-frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tg-phone figcaption { font-size: 13px; color: var(--dim); text-align: center; }
html[data-in-telegram] [data-tg-block] { display: none; }

/* --------------------------------------------------------------------- FAQ */
.faq-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: clamp(28px, 3.9vw, 56px); }
.faq-intro { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; color: var(--text-strong);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa summary:hover { color: var(--gold-hover); }
.qa p { padding: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 70ch; }

/* ------------------------------------------------------------------- cierre */
.final-cta { position: relative; min-height: 420px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; opacity: .55; }
.final-cta::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 60% 80% at 50% 110%, rgba(217, 164, 65, .3), rgba(14, 11, 9, 0) 70%), linear-gradient(180deg, rgba(14, 11, 9, .6), rgba(14, 11, 9, .35) 50%, rgba(14, 11, 9, .8));
}
.final-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; padding-block: 64px; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Línea de consentimiento junto a las entradas al juego (misma frase que el login del juego). */
.consent-note { margin: 0; max-width: 560px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.consent-note a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.consent-note a:hover { color: var(--gold-hover); }

/* ------------------------------------------------------------------ pie */
.site-footer { background: #0B0907; color: var(--dim); font-size: 14px; line-height: 1.6; padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-about { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { font-family: var(--f-display); font-size: 26px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-strong); }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-k { color: var(--soft); margin-bottom: 4px; }
.footer-base { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.footer-totals b { font-family: var(--f-mono); font-weight: 500; color: var(--gold-text); }
/* Documentos legales y soporte en la fila inferior del pie. */
.footer-docs { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-docs a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.footer-docs a:hover { text-decoration: underline; }

/* Barra fija de móvil (site.js wireDock): sólo cuando la CTA del héroe ya no se ve. */
.dock { display: none; }

/* --------------------------------------------------------------- entradas */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease-out, transform .5s ease-out; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ====================================================== capa visual 2026
   Arte de fondo a sangre (assets/art/README.md), profundidad por capas
   (paralaje: home.js pone --hy/--mx/--my; en las secciones, scroll-driven
   animations), haces de luz, brasas, paneles de cristal y microinteracciones.
   Todo es transform/opacity o variables CSS; con movimiento reducido o con la
   pausa se queda quieto. Va antes de los cortes de tablet/teléfono para que
   éstos sigan mandando. */
:root {
  --r-sm: 10px; --r: 16px; --r-lg: 22px;
  --glass: linear-gradient(180deg, rgba(46, 34, 23, .62), rgba(18, 14, 11, .74));
  --glass-line: rgba(232, 194, 122, .17);
  --glass-hi: inset 0 1px 0 rgba(255, 236, 200, .08);
  --shadow-lg: 0 30px 80px -24px rgba(0, 0, 0, .75);
  --gold-grad: linear-gradient(180deg, #F7DC94 0%, #E3B252 46%, #B9832C 100%);
  --text-gold: linear-gradient(180deg, #FFF2CF 8%, #EBC679 52%, #B9873A 100%);
}
body { background: radial-gradient(ellipse 120% 60% at 50% 0%, #17110C, var(--bg) 60%) var(--bg); }
/* Grano de película: una textura SVG fija, sólo en pantallas grandes. */
@media (min-width: 761px) {
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

/* Tipografía: escala más amplia, títulos con relieve dorado. */
.h2 { letter-spacing: -.005em; text-wrap: balance; background: linear-gradient(180deg, #FFF7E6 35%, #E3C894); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2-lg { font-size: clamp(36px, 4.5vw, 66px); }
.h2-xl { font-size: clamp(42px, 5.2vw, 78px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, rgba(217, 164, 65, 0), var(--gold)); }
.eyebrow::after { content: ""; width: 5px; height: 5px; order: -1; margin-right: -8px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 10px var(--gold); display: none; }
.lead { text-wrap: pretty; }

/* Botones: metal pulido, brillo que cruza al pasar, leve elevación. */
.btn { position: relative; isolation: isolate; overflow: hidden; border-radius: 12px; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .15s linear, border-color .15s linear, color .15s linear, filter .2s linear; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-xl { padding: 0 28px; border-radius: 14px; }
.btn-gold, .btn-gold:hover { background: var(--gold-grad); color: var(--on-gold); }
.btn-gold { box-shadow: 0 12px 32px -12px rgba(217, 164, 65, .75), inset 0 1px 0 rgba(255, 246, 220, .65), inset 0 -2px 0 rgba(110, 66, 12, .35); text-shadow: 0 1px 0 rgba(255, 240, 200, .35); }
.btn-gold:hover { filter: brightness(1.07); box-shadow: 0 18px 44px -12px rgba(232, 170, 70, .9), inset 0 1px 0 rgba(255, 246, 220, .7), inset 0 -2px 0 rgba(110, 66, 12, .35); }
.btn-gold::after, .round-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-130%); transition: transform .8s var(--ease);
}
.btn-gold:hover::after, .round-gold:hover::after { transform: translateX(130%); }
.btn-tg { background: linear-gradient(180deg, rgba(79, 159, 211, .26), rgba(79, 159, 211, .08)); border-color: rgba(127, 189, 230, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-tg:hover { background: linear-gradient(180deg, rgba(79, 159, 211, .38), rgba(79, 159, 211, .14)); box-shadow: 0 14px 36px -14px rgba(79, 159, 211, .8); }
.btn-tg-solid { box-shadow: 0 14px 36px -14px rgba(127, 189, 230, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-line { background: rgba(255, 240, 210, .04); border-color: rgba(232, 194, 122, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-line:hover { background: rgba(232, 194, 122, .1); border-color: var(--gold); }
.round-btn { position: relative; overflow: hidden; isolation: isolate; border-radius: 50%; background: rgba(23, 18, 14, .55); border-color: var(--glass-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .2s var(--ease), border-color .15s linear, background-color .15s linear; }
.round-btn:hover { transform: translateY(-2px); }
.round-gold { background: var(--gold-grad); border-color: transparent; box-shadow: 0 12px 30px -12px rgba(217, 164, 65, .8); }
.sq-btn { border-radius: var(--r-sm); border-color: var(--glass-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.seg { border-radius: 12px; overflow: hidden; border-color: var(--glass-line); background: rgba(23, 18, 14, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--gold-grad); box-shadow: inset 0 1px 0 rgba(255, 246, 220, .55); }
.more svg { transition: transform .25s var(--ease); }
.more:hover svg { transform: translateX(5px); }

/* Cabecera de cristal y selector de idioma con banderas. */
.site-header { background: linear-gradient(180deg, rgba(10, 8, 6, .78), rgba(10, 8, 6, .3)); border-bottom-color: rgba(232, 194, 122, .1); }
@supports (backdrop-filter: blur(8px)) {
  .site-header { -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); }
  .site-header[data-scrolled="true"] { background: rgba(12, 9, 7, .78); backdrop-filter: blur(16px) saturate(150%); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .8); }
}
.logo::before { content: ""; width: 14px; height: 14px; flex: none; transform: rotate(45deg); border: 2px solid var(--gold); box-shadow: 0 0 14px rgba(217, 164, 65, .6), inset 0 0 0 3px rgba(14, 11, 9, 1), inset 0 0 0 7px var(--gold); }
.logo-name { background: linear-gradient(180deg, #FFF5DC 30%, #E2BC72); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); }
.lang-btn { border-radius: 10px; overflow: hidden; border-color: var(--glass-line); background: rgba(23, 18, 14, .5); }
.lang-btn { transition: border-color .2s linear, background-color .2s linear; }
.lang-btn:hover, .lang-pick.is-open .lang-btn { border-color: rgba(217, 164, 65, .55); background: rgba(217, 164, 65, .1); }
.lang-btn .flag { width: 20px; height: 14px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 1px 3px rgba(0, 0, 0, .5); }
.lang-menu { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); background: rgba(16, 12, 9, .9); }

/* Héroe: arte a sangre, halo detrás del uniq, haces de luz y brasas. */
.hero { isolation: isolate; background: var(--bg); min-height: clamp(780px, 100svh, 980px); }
.hero-art { position: absolute; inset: -4% -2% 0; z-index: -1; overflow: hidden; translate: calc(var(--mx, 0) * -18px) calc(var(--hy, 0) * .3px + var(--my, 0) * -10px); }
.hero-art picture, .hero-art img { width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 60% 42%; filter: brightness(.88) saturate(1.12) contrast(1.05); animation: kenburns 40s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.12) translate3d(-1.4%, -1%, 0); } }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 62% 55%, rgba(14, 11, 9, 0), rgba(14, 11, 9, .55) 100%), linear-gradient(180deg, rgba(10, 8, 6, .65) 0%, rgba(10, 8, 6, 0) 22%);
}
.hero-shafts {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; transform-origin: 82% 0;
  background: repeating-linear-gradient(104deg, rgba(255, 210, 140, 0) 0, rgba(255, 210, 140, .085) 46px, rgba(255, 210, 140, 0) 96px, rgba(255, 210, 140, 0) 190px);
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 84% 4%, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 75%); mask-image: radial-gradient(ellipse 55% 75% at 84% 4%, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 75%);
  translate: 0 calc(var(--hy, 0) * .15px); animation: shafts 16s ease-in-out infinite alternate;
}
@keyframes shafts { from { transform: rotate(-2.5deg); opacity: .65; } to { transform: rotate(2.5deg); opacity: 1; } }
.hero-halo {
  position: absolute; left: calc(50% - 250px); top: calc(var(--header-h) + 4px); width: min(54vw, 780px); aspect-ratio: 1; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle at 50% 56%, rgba(255, 196, 110, .34), rgba(217, 120, 50, .14) 34%, rgba(217, 120, 50, 0) 62%);
  animation: halo 7s ease-in-out infinite alternate;
}
.hero-halo::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 13%; aspect-ratio: 5 / 1; border-radius: 50%; filter: blur(6px); background: radial-gradient(closest-side, rgba(255, 200, 120, .3), transparent); }
@keyframes halo { from { opacity: .75; transform: scale(.97); } to { opacity: 1; transform: scale(1.03); } }
.embers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(0deg, #000 30%, transparent 92%); mask-image: linear-gradient(0deg, #000 30%, transparent 92%); }
.embers::before, .embers::after { content: ""; position: absolute; left: -5%; right: -5%; top: 0; height: calc(100% + 520px); will-change: transform; }
.embers::before {
  background-image: radial-gradient(1.6px 1.6px at 18% 30%, #FFD58A, transparent), radial-gradient(1.2px 1.2px at 64% 58%, #FFB05A, transparent), radial-gradient(2px 2px at 41% 82%, #FFE2A6, transparent), radial-gradient(1px 1px at 86% 14%, #FF9A48, transparent);
  background-size: 230px 260px; animation: ember-rise 26s linear infinite;
}
.embers::after {
  background-image: radial-gradient(2.4px 2.4px at 30% 40%, rgba(255, 190, 100, .9), transparent), radial-gradient(1.4px 1.4px at 76% 72%, rgba(255, 150, 70, .8), transparent);
  background-size: 340px 260px; opacity: .7; animation: ember-rise 17s linear infinite, ember-sway 6s ease-in-out infinite alternate;
}
@keyframes ember-rise { to { transform: translate3d(0, -520px, 0); } }
@keyframes ember-sway { from { margin-left: -14px; } to { margin-left: 14px; } }
.hero-fade { background: linear-gradient(90deg, rgba(10, 8, 6, .94) 0%, rgba(10, 8, 6, .72) 30%, rgba(10, 8, 6, .08) 58%, rgba(10, 8, 6, 0) 100%), linear-gradient(180deg, rgba(14, 11, 9, 0) 70%, var(--bg) 100%); }
.hero-copy { padding-bottom: 200px; translate: 0 calc(var(--hy, 0) * -.1px); }
.hero .eyebrow { padding: 8px 14px; border-radius: 999px; background: rgba(14, 11, 9, .45); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero .eyebrow::before { display: none; }
.hero .eyebrow::after { display: block; margin: 0; }
.hero-title { font-size: clamp(50px, 6.2vw, 96px); line-height: .98; letter-spacing: -.01em; text-shadow: 0 6px 40px rgba(0, 0, 0, .65); }
.hero-title span { background: linear-gradient(180deg, #FFFFFF 20%, #F1DFC0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title em { background: var(--text-gold); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 24px rgba(217, 140, 50, .45)); }
.hero-lead { color: #E3D5BD; text-shadow: 0 2px 16px rgba(0, 0, 0, .8); }
.hero-meta { gap: 8px; color: var(--soft); }
.hero-meta span { padding: 5px 12px; border-radius: 999px; background: rgba(14, 11, 9, .5); border: 1px solid rgba(232, 194, 122, .14); }
.unique-card {
  bottom: 136px; border-radius: var(--r-lg); background: var(--glass); border-color: var(--glass-line);
  box-shadow: var(--shadow-lg), var(--glass-hi); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.unique-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-text), transparent); }
.uc-name { background: var(--text-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.uc-tabs { border-radius: 12px; overflow: hidden; border-color: var(--glass-line); }
.uc-tabs button[aria-selected="true"] { background: var(--gold-grad); }
.hero-tools { bottom: 92px; }
.motion-btn { border-radius: 999px; border-color: var(--glass-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-stage img, .bst-poster, .bst-stage img, .class-art img, .pod-figure img { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)) saturate(1.08) contrast(1.04); }

/* Totales: panel de cristal que se monta sobre el borde del héroe. */
.totals-strip { position: relative; z-index: 4; margin-top: -64px; background: none; border: 0; }
.totals-row {
  width: auto; margin-inline: max(var(--gutter), calc(50vw - 640px)); padding-inline: clamp(20px, 2.4vw, 36px);
  border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg), var(--glass-hi);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.totals-line b { background: var(--text-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.05em; }

/* Secciones: arte de fondo atenuado con paralaje propio y filete dorado entre ellas. */
.section { position: relative; isolation: isolate; border-bottom: 0; }
.section::after { content: ""; position: absolute; left: 50%; bottom: 0; width: min(1100px, 82%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(217, 164, 65, 0), rgba(217, 164, 65, .5), rgba(217, 164, 65, 0)); box-shadow: 0 0 14px rgba(217, 164, 65, .35); }
.sec-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 72%, transparent); mask-image: linear-gradient(180deg, transparent, #000 16%, #000 72%, transparent); }
.sec-art picture, .sec-art img { width: 100%; height: 100%; }
.sec-art img { object-fit: cover; opacity: .4; transform: scale(1.16); }
.sec-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 85% 75% at 50% 50%, rgba(14, 11, 9, .2), rgba(14, 11, 9, .88)); }
/* Arte original por sección (assets/art/README.md): puerta de Chang'an, paso del
   Karakórum, sala de los campeones, asedio nocturno. */
.legend .sec-art img { opacity: .42; object-position: 62% 46%; }
.bestiary .sec-art img { opacity: .55; object-position: 64% 38%; }
.ranking .sec-art img { opacity: .55; object-position: 50% 42%; }
.guilds .sec-art img { opacity: .5; object-position: 72% 46%; }
.guilds { background: var(--bg-2); }
@supports (animation-timeline: view()) {
  .sec-art img { animation: sec-par linear both; animation-timeline: view(); }
  .sec-head, .gw-grid > li, .news-grid > li, .pod, .board-table, .qa, .road-card { animation: rise-in linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}
@keyframes sec-par { from { transform: scale(1.16) translateY(-6%); } to { transform: scale(1.16) translateY(6%); } }
@keyframes rise-in { from { opacity: 0; translate: 0 28px; scale: .985; } to { opacity: 1; translate: none; scale: none; } }

/* Paneles de cristal y foco de luz que sigue al puntero (home.js pone --px/--py). */
.note-card, .road-card, .opt, .bst-card, .class-card, .board-table, .gw-card, .news-card, .class-europe, .qa {
  position: relative; border-radius: var(--r); background: var(--glass); border-color: var(--glass-line); box-shadow: var(--glass-hi);
}
.note-card::before, .road-card::before, .bst-card::before, .class-card::before, .gw-card::before, .news-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s linear;
  background: radial-gradient(360px circle at var(--px, 50%) var(--py, 0), rgba(255, 214, 140, .12), rgba(255, 214, 140, 0) 60%);
}
.note-card:hover::before, .road-card:hover::before, .bst-card:hover::before, .class-card:hover::before, .gw-card:hover::before, .news-card:hover::before { opacity: 1; }
.road-card, .class-card, .gw-card, .news-card, .note-card { transition: transform .35s var(--ease), border-color .2s linear, box-shadow .35s var(--ease); }
.road-card:hover, .class-card:hover, .gw-card:hover, .news-card:hover, .note-card:hover { transform: translateY(-4px); border-color: rgba(232, 194, 122, .45); box-shadow: var(--shadow-lg), var(--glass-hi); }
.opt { border-radius: 12px; transition: transform .2s var(--ease), border-color .15s linear, background-color .15s linear, box-shadow .2s linear; }
.opt:hover { transform: translateY(-2px); }
.opt[aria-pressed="true"] { background: linear-gradient(180deg, rgba(217, 164, 65, .22), rgba(46, 35, 24, .7)); border: 1px solid var(--gold); box-shadow: 0 0 0 1px rgba(217, 164, 65, .35), 0 10px 30px -12px rgba(217, 164, 65, .6); }
.tabs button[aria-selected="true"] { border-bottom-color: transparent; background: linear-gradient(0deg, var(--gold) 0 3px, rgba(217, 164, 65, .08) 3px, transparent); }
.tier-bar li { border-radius: 3px; }
.tier-bar li.is-on { background: var(--gold-grad); box-shadow: 0 0 14px rgba(217, 164, 65, .7); }

/* Pedestal del guardarropa: cristal, anillo de luz bajo el héroe. */
.legend-stage-box {
  border-radius: var(--r-lg); border-color: var(--glass-line); box-shadow: var(--shadow-lg), var(--glass-hi);
  background:
    radial-gradient(ellipse 40% 12% at 50% 86%, rgba(217, 164, 65, .4), rgba(217, 164, 65, 0) 100%),
    radial-gradient(ellipse 60% 60% at 50% 45%, rgba(232, 194, 122, .14), rgba(14, 11, 9, 0) 70%),
    linear-gradient(180deg, rgba(30, 22, 15, .7), rgba(12, 9, 7, .9));
}
/* Sin anillo CSS de 1 px: el suelo (sombra + charco de acento) lo pinta el 3D y
   va horneado en el póster; un óvalo fijo no coincide con los pies del modelo. */
.stage-gender, .stage-rotate .sq-btn { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* Bestiario: tarjetas de cristal con escenario iluminado. */
.bst-card { overflow: hidden; transition: transform .4s var(--ease), border-color .2s linear, flex-basis .4s var(--ease), box-shadow .4s var(--ease); }
.bst-card:hover { transform: translateY(-4px); border-color: rgba(232, 194, 122, .5); }
.bst-card.is-active { border-color: rgba(232, 194, 122, .7); box-shadow: 0 0 0 1px rgba(217, 164, 65, .35), 0 40px 90px -30px rgba(217, 110, 50, .5), var(--glass-hi); transform: none; }
.bst-media, .bst-card.is-active .bst-media {
  border-bottom-color: var(--glass-line);
  background:
    radial-gradient(ellipse 40% 11% at 50% 76%, rgba(255, 190, 100, .38), rgba(217, 164, 65, 0) 100%),
    radial-gradient(ellipse 55% 55% at 50% 48%, rgba(201, 90, 47, .22), rgba(14, 11, 9, 0) 70%),
    linear-gradient(180deg, rgba(8, 6, 5, .15), rgba(8, 6, 5, .7));
}
/* Suelo del bestiario: luz difusa a la altura de los pies del encuadre (~76 %);
   sombra y charco los pinta el 3D/póster. Sin anillo CSS de 1 px. */
.bst-poster { transition: transform .6s var(--ease); }
.bst-card:hover .bst-poster { transform: scale(1.05); }
.bst-card.is-capped { opacity: .78; }
.bst-card.is-capped .bst-media { background: radial-gradient(ellipse 40% 11% at 50% 76%, rgba(226, 80, 60, .38), transparent), radial-gradient(ellipse 55% 55% at 50% 48%, rgba(160, 30, 30, .3), transparent 70%), linear-gradient(180deg, rgba(8, 6, 5, .15), rgba(8, 6, 5, .75)); }
.lvl, .uc-lvl { padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(232, 194, 122, .35); background: rgba(217, 164, 65, .1); }
.bst-title h3 { background: linear-gradient(180deg, #FFF7E6 35%, #E3C894); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bst-dots button::before { border-radius: 2px; }
.bst-dots button[aria-current="true"]::before { background: var(--gold-grad); box-shadow: 0 0 10px rgba(217, 164, 65, .7); }

/* Clases. */
.class-card { overflow: hidden; }
.class-art { border-bottom-color: var(--glass-line); background: radial-gradient(ellipse 40% 8% at 50% 90%, rgba(217, 164, 65, .35), rgba(217, 164, 65, 0) 100%), linear-gradient(180deg, rgba(8, 6, 5, .1), rgba(8, 6, 5, .6)); }
.class-art img { transition: transform .7s var(--ease); }
.class-card:hover .class-art img { transform: scale(1.05); }
.class-card.is-lead { border-color: rgba(232, 194, 122, .6); }

/* Pedestal 2-1-3: haz de luz desde arriba, peanas de piedra y oro. */
.pod-figure, .pod-banner { border-radius: var(--r-lg) var(--r-lg) 0 0; border-color: var(--glass-line); background: linear-gradient(180deg, rgba(30, 22, 15, .5), rgba(12, 9, 7, .85)); }
.pod-figure::before, .pod-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: conic-gradient(from 180deg at 50% -6%, rgba(255, 214, 140, .2), rgba(255, 214, 140, 0) 16deg 344deg, rgba(255, 214, 140, .2)), radial-gradient(ellipse 45% 9% at 50% 95%, rgba(255, 200, 120, .4), transparent);
}
.pod-1 .pod-figure, .pod-1 .pod-banner { border-color: rgba(232, 194, 122, .7); background: radial-gradient(ellipse 60% 60% at 50% 45%, rgba(232, 194, 122, .14), transparent 70%), linear-gradient(180deg, rgba(48, 34, 18, .6), rgba(12, 9, 7, .85)); box-shadow: 0 -20px 70px -30px rgba(217, 164, 65, .55); }
.pod-1 .pod-figure::before, .pod-1 .pod-banner::after { background: conic-gradient(from 180deg at 50% -6%, rgba(255, 220, 150, .34), rgba(255, 214, 140, 0) 18deg 342deg, rgba(255, 220, 150, .34)), radial-gradient(ellipse 45% 9% at 50% 95%, rgba(255, 200, 120, .6), transparent); }
.pod-3 .pod-figure, .pod-3 .pod-banner { background: linear-gradient(180deg, rgba(30, 22, 15, .5), rgba(12, 9, 7, .85)); }
.pod-base { position: relative; border-color: var(--glass-line); background: linear-gradient(180deg, #3B2C1F, #1B140F 70%); box-shadow: inset 0 1px 0 rgba(255, 220, 160, .22), 0 20px 40px -20px rgba(0, 0, 0, .8); }
.pod-1 .pod-base { background: linear-gradient(180deg, #6A4C1E, #2A1E12 75%); border-color: rgba(232, 194, 122, .7); }
.pod-rank { background: linear-gradient(180deg, #F4F1EA, #A9ADB5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pod-1 .pod-rank { background: var(--text-gold); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 2px 14px rgba(217, 164, 65, .55)); }
.pod-3 .pod-rank { background: linear-gradient(180deg, #F0C098, #9C5E2E); -webkit-background-clip: text; background-clip: text; }
/* Estandarte del gremio colgado tras su escudo (modo «Гильдии»). */
.pod-banner::before, .gw-crest::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 56%; height: 84%; transform: translateX(-50%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%);
  /* Paño del color del gremio (rankings.js pone --cloth-hi/--cloth-lo desde su blasón):
     pliegues, damasco tenue y luz cenital sobre el esmalte. */
  background:
    linear-gradient(180deg, rgba(255, 236, 200, .14), rgba(255, 236, 200, 0) 26%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .16) 0 2px, rgba(0, 0, 0, 0) 2px 18%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 1px, rgba(255, 255, 255, 0) 1px 7px),
    linear-gradient(90deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, 0) 28% 72%, rgba(0, 0, 0, .42)),
    linear-gradient(180deg, var(--cloth-hi, #6B2018), var(--cloth-lo, #34100B));
  box-shadow: inset 0 0 0 1px rgba(232, 194, 122, .28);
}
/* Vara dorada de la que cuelga el estandarte. */
.gw-crest::after {
  content: ""; position: absolute; top: 2px; left: 50%; width: 66%; height: 6px; transform: translateX(-50%); border-radius: 3px;
  background: linear-gradient(180deg, #F7DC94, #B9832C 60%, #6E4A16); box-shadow: 0 2px 6px rgba(0, 0, 0, .6);
}
.pod-1 .pod-banner::before, .gw-lead .gw-crest::before { box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 0 5px rgba(0, 0, 0, .35), inset 0 0 0 6px rgba(232, 194, 122, .5); }
.pod-banner span, .pod-1 .pod-banner span { position: relative; z-index: 1; width: 62%; aspect-ratio: auto; height: auto; clip-path: none; border: 0; background: none; margin-top: -8%; }
.crest { display: block; width: 100%; height: auto; overflow: visible; }
.pod-banner .crest, .gw-crest .crest { filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .65)); transition: transform .5s var(--ease); }
.board-table { overflow: hidden; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.bt-row { transition: background-color .2s linear; }
.bt-row:hover { background: rgba(217, 164, 65, .07); }

/* Muro de estandartes. */
.gw-card { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.gw-crest { position: relative; height: 150px; border: 0; border-radius: 12px; background: radial-gradient(ellipse 60% 55% at 50% 40%, rgba(217, 164, 65, .16), rgba(0, 0, 0, 0) 70%), rgba(8, 6, 5, .45); overflow: hidden; }
.gw-crest .crest { position: relative; z-index: 1; width: 70px; margin-top: -6px; }
.gw-card:hover .gw-crest .crest { transform: translateY(-4px) scale(1.05); }
.gw-lead { border: 1px solid rgba(232, 194, 122, .75); box-shadow: 0 0 0 1px rgba(217, 164, 65, .3), 0 40px 90px -30px rgba(217, 164, 65, .45), var(--glass-hi); }
.gw-lead .gw-crest .crest { width: 132px; }
.gw-lead h3 { background: var(--text-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gw-more { border-radius: var(--r); border-color: rgba(232, 194, 122, .3); background: rgba(23, 18, 14, .4); transition: border-color .2s linear, background-color .2s linear; }
.gw-more:hover { background: rgba(217, 164, 65, .08); }
.gw-empty { border-radius: var(--r); }

/* Noticias, Telegram, FAQ y cierre. */
.news-card { overflow: hidden; }
.news-card img { transition: transform .7s var(--ease); }
.news-card:hover img { transform: scale(1.04); }
.phone-frame { border-color: #2A2018; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(232, 194, 122, .2), 0 0 80px -20px rgba(79, 159, 211, .35); }
.faq-list { border-top: 0; display: flex; flex-direction: column; gap: 10px; }
.qa { border: 1px solid var(--glass-line); padding-inline: 22px; transition: border-color .2s linear; }
.qa[open] { border-color: rgba(232, 194, 122, .45); }
.final-cta { min-height: 520px; isolation: isolate; }
.final-bg { opacity: .7; animation: kenburns 50s ease-in-out infinite alternate; }
.final-cta::before { background: radial-gradient(ellipse 60% 80% at 50% 110%, rgba(217, 164, 65, .35), rgba(14, 11, 9, 0) 70%), linear-gradient(180deg, var(--bg) 0%, rgba(14, 11, 9, .35) 30%, rgba(14, 11, 9, .45) 60%, var(--bg) 100%); }
.final-cta .embers { z-index: 1; }
.embers-soft::after { display: none; }
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 164, 65, .45), transparent); }

/* ------------------------------------------------------- tablet (≤ 1180) */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .site-header[data-open="true"] .main-nav {
    display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: rgba(14, 11, 9, .98); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  }
  .site-header[data-open="true"] .main-nav a { padding: 12px 0; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .road-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .legend-grid, .classes-grid, .faq-grid, .tg-grid { grid-template-columns: minmax(0, 1fr); }
  .legend-stage-box { min-height: 0; aspect-ratio: 1; max-height: 720px; }
  .board { grid-template-columns: minmax(0, 1fr); }
  .gw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card-lead { grid-row: auto; grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .unique-card { width: 320px; }
  .hero-copy { width: min(600px, 100%); }
  .sec-row:has(.seg-board) { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------- teléfono (≤ 760) */
@media (max-width: 760px) {
  :root { --header-h: 60px; --gutter: 16px; --section: 44px; }
  body { font-size: 16px; padding-bottom: 0; }
  .header-row { padding-inline: 16px; gap: 8px; }
  .logo-name { font-size: 22px; letter-spacing: .16em; }
  .logo-motto, .header-play { display: none; }
  .header-actions { gap: 8px; }
  .status-pill .status-text { display: none; }
  .lang-btn { padding: 0 9px; min-height: 42px; gap: 6px; }

  .hero { min-height: 0; padding-bottom: 28px; background: linear-gradient(180deg, #1B1510, var(--bg-2) 420px, var(--bg) 100%); }
  .hero-scene { position: relative; height: 430px; background: radial-gradient(ellipse 70% 50% at 55% 55%, rgba(217, 164, 65, .28), rgba(217, 164, 65, 0) 70%); }
  .hero-stage { position: absolute; left: 50%; right: auto; top: 40px; width: min(118vw, 470px); transform: translateX(-50%); }
  .hero-fade { background: linear-gradient(180deg, rgba(14, 11, 9, 0) 260px, var(--bg) 430px); }
  .hero-copy { margin: -40px 0 0; padding: 0 16px; gap: 16px; width: 100%; }
  .hero-title { font-size: clamp(38px, 11.8vw, 46px); }
  .hero .eyebrow { font-size: 10.5px; letter-spacing: .16em; padding: 7px 12px; gap: 8px; white-space: nowrap; max-width: 100%; }
  .hero-title span { display: inline; }
  .hero-title em { display: inline; }
  .hero-lead { font-size: 16px; }
  .hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero-cta .cta-play { grid-column: 1 / -1; min-height: 56px; }
  .hero-cta .cta-tg:last-child, .hero-cta:not(:has(.cta-install:not([hidden]))) .cta-tg { grid-column: 1 / -1; }
  .hero-cta .btn { padding: 0 12px; font-size: 15px; min-height: 52px; }
  .hero-cta .cta-play { font-size: 17px; }
  .hero-meta { font-size: 12px; gap: 6px 14px; }
  .unique-card { top: 72px; right: 16px; bottom: auto; width: auto; max-width: 66vw; padding: 8px 6px 8px 12px; gap: 2px; }
  .uc-name { font-size: 18px; }
  .uc-head { gap: 8px; }
  .uc-lvl { font-size: 11px; }
  .uc-desc, .uc-last { display: none; }
  .uc-status { font-size: 11px; }
  .uc-tabs { display: none; }
  .uc-head { align-items: center; }
  .uc-next { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -6px 0 -6px auto; border: 0; background: transparent; color: var(--gold-text); cursor: pointer; }
  .uc-next svg { width: 18px; height: 18px; }
  .uc-status { padding-right: 6px; }
  .hero-tools { left: 16px; top: 72px; bottom: auto; }
  .hero-hint { display: none; }

  .totals-strip { background: transparent; border: 0; padding-top: 12px; }
  .totals-row { flex-direction: column; align-items: stretch; gap: 10px; padding: 16px; margin-inline: 16px; width: auto; background: var(--surface); border: 1px solid var(--line); min-height: 0; }
  .totals-line { font-family: var(--f-body); font-size: 17px; line-height: 1.5; }
  .totals-title { display: block; font-size: 13px; color: var(--muted); }
  .totals-colon { display: none; }
  .totals-side { flex-direction: column; align-items: flex-start; gap: 6px; }
  .server-now { flex-direction: row; gap: 10px; text-align: left; align-items: center; }
  .server-now-state { font-size: 13px; }
  .totals-note { width: auto; font-size: 12px; }

  .sec-row { flex-direction: row; align-items: baseline; }
  .road .wrap { padding-right: 0; }
  .road .sec-head { padding-right: 16px; }
  .road-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-right: 16px; scrollbar-width: none; }
  .road-list::-webkit-scrollbar { display: none; }
  .road-card { flex: 0 0 210px; min-height: 0; padding: 14px; gap: 6px; scroll-snap-align: start; }
  .road-card h3 { font-size: 16px; }
  .road-desc, .road-when { display: none; }
  .road-count { font-size: 17px; margin-top: 4px; }

  .legend-grid { display: flex; flex-direction: column; gap: 14px; }
  .legend-panel { display: contents; }
  .legend-panel .eyebrow { order: -3; }
  .legend-panel .h2 { order: -2; }
  .legend-panel .lead { order: -1; font-size: 15px; }
  .legend-stage-box { order: 0; aspect-ratio: auto; height: 440px; }
  .legend-stage { width: min(100%, 400px); }
  .tabs { order: 1; }
  .tab-panel { order: 2; }
  .legend-actions { order: 3; }
  .share-status { order: 4; }
  .h2-xl { font-size: 40px; }
  .h2-lg { font-size: 34px; line-height: 1.05; }
  .stage-gender { left: 12px; top: 12px; }
  .stage-gender button { padding: 0 14px; }
  .lg-label { display: none; }
  .sm-label { display: inline; }
  .stage-rotate { right: 12px; top: 12px; }
  .stage-caption { left: 12px; right: 12px; bottom: 12px; font-size: 11px; }
  .stage-drag { display: none; }
  .tabs button { font-size: 14px; min-height: 48px; }
  .opt { min-height: 72px; }
  .legend-actions .btn { flex: 1 1 100%; }
  .legend-notes { display: none; }

  .bst-head { padding-right: 16px; }
  .bst-head .lead { display: none; }
  .car-nav { display: none; }
  .bst-track { gap: 12px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .bst-card, .bst-card.is-active { flex-basis: min(300px, 80vw); }
  .bst-media, .bst-card.is-active .bst-media { height: 300px; }
  .bst-card.is-active .bst-title h3, .bst-title h3 { font-size: 26px; }
  .bst-card .bst-desc, .bst-card.is-active .bst-desc { display: none; }
  .bst-body, .bst-card.is-active .bst-body { padding: 14px 16px; gap: 6px; }
  .bst-foot { margin-top: 12px; flex-direction: column; align-items: flex-start; gap: 4px; }

  .classes-grid { gap: 14px; }
  .classes-intro .eyebrow, .classes-intro .lead { display: none; }
  .seg-race { margin-top: 0; }
  .seg-race button { min-height: 48px; }
  .schools { display: none; }
  .class-cards { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .class-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; }
  .class-art { height: 88px; border: 1px solid var(--line); }
  .class-body { padding: 0; }
  .class-body h3 { font-size: 16px; }
  .class-body p { font-size: 13px; }
  .class-europe { grid-template-columns: minmax(0, 1fr); }
  .class-europe img { height: 200px; }

  /* Cuatro pestañas no caben en 358 px: rejilla 2×2, todas a la vista. */
  .seg-board { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg-board button { padding: 0 8px; font-size: 14px; min-width: 0; white-space: normal; line-height: 1.2; }
  .seg-board button:nth-child(odd) { border-left: 0; }
  .seg-board button:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .podium { grid-template-columns: 1fr 1.15fr 1fr; gap: 6px; }
  .pod-figure, .pod-banner { height: 150px; }
  .pod-1 .pod-figure, .pod-1 .pod-banner { height: 180px; }
  .pod-3 .pod-figure, .pod-3 .pod-banner { height: 130px; }
  .pod-base { height: 74px; padding: 0 4px; gap: 0; background: var(--card); }
  .pod-1 .pod-base { height: 96px; }
  .pod-3 .pod-base { height: 60px; }
  .pod-rank { font-size: 26px; }
  .pod-1 .pod-rank { font-size: 32px; }
  .pod-3 .pod-rank { font-size: 24px; }
  .pod-name, .pod-1 .pod-name { font-size: 13px; }
  .pod-sub { display: none; }
  .pod-banner span { font-size: 34px; }
  .bt-head, .bt-row { grid-template-columns: 28px minmax(0, 1fr) 52px; padding-inline: 12px; }
  .bt-head span:nth-child(4), .bt-extra { display: none; }

  .gw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .gw-lead { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: 72px minmax(0, 1fr); align-content: center; padding: 14px; gap: 2px 14px; }
  .gw-lead .gw-crest { grid-row: 1 / span 3; min-height: 72px; height: 72px; }
  .gw-lead h3 { white-space: nowrap; }
  .gw-lead .gw-crest span { width: 44px; height: 56px; font-size: 26px; }
  .gw-lead h3 { font-family: var(--f-body); font-weight: 600; font-size: 18px; }
  .gw-lead .gw-k { font-size: 10px; }
  .gw-lead .gw-sub { font-size: 12px; }
  .gw-card { padding: 10px; gap: 6px; }
  .gw-card:not(.gw-lead) .gw-crest { height: 56px; }
  .gw-card:not(.gw-lead) .gw-crest span { width: 30px; height: 38px; font-size: 18px; }
  .gw-card:not(.gw-lead) h3 { font-size: 12px; font-weight: 500; }
  .gw-card:not(.gw-lead) .gw-sub { display: none; }
  .gw-grid > li:nth-child(n+5):not(.gw-more-li) { display: none; }
  .gw-more-li { grid-column: 1 / -1; }
  .gw-narrow-only { display: flex; }
  .gw-more > b:not(.gw-n), .gw-more > span:not(.gw-n) { display: none; }
  .gw-more .gw-n { display: inline; }
  .gw-more { flex-direction: row; padding: 10px; }
  .gw-more b { font-size: 22px; }
  .sec-row:has(.btn) { flex-direction: column; align-items: stretch; }

  .news-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .news-card img { height: 200px; }
  .news-body { padding: 14px 16px; gap: 6px; }
  .news-card-lead h3 { font-size: 22px; }
  .news-card h3 { font-size: 17px; }
  .news-card:not(.news-card-lead) .news-body > p:not(.news-meta):not(.news-more) { display: none; }
  .news-grid > li:nth-child(n+4) { display: none; }

  .tg-phone { display: none; }
  .tg-copy { gap: 14px; }
  .dash-list { font-size: 15px; }
  .tg-actions .btn { width: 100%; font-size: 16px; padding: 0 12px; }

  .faq-grid { gap: 8px; }
  .faq-intro .lead { font-size: 15px; }
  .qa summary { padding: 16px 36px 16px 0; font-size: 17px; }
  .qa p { font-size: 15px; padding-bottom: 16px; }

  .final-cta { min-height: 300px; }
  .final-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .h2-xl.final-title, .final-inner .h2 { font-size: 36px; }

  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; font-size: 13px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .footer-docs { flex-direction: column; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .dock {
    display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(14, 11, 9, .94); border-top: 1px solid var(--line-strong);
    transform: translateY(110%); transition: transform .25s var(--ease); visibility: hidden;
  }
  .dock[data-show="true"] { transform: none; visibility: visible; }
  .dock .btn { min-height: 52px; padding: 0 12px; }
  html[data-in-telegram] .dock { grid-template-columns: minmax(0, 1fr); }
  html[data-in-telegram] .dock-tg { display: none; }
}

@media (max-width: 380px) {
  .hero-cta { grid-template-columns: minmax(0, 1fr); }
  .seg-board button { font-size: 13px; padding: 0 6px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .08em; }
}

/* Capa visual 2026 en tablet y teléfono: menos capas caras, mismo carácter. */
@media (max-width: 1180px) {
  .hero-halo { left: calc(50% - 200px); }
}
@media (max-width: 760px) {
  .hero-art { inset: 0; translate: none; }
  .hero-art img { object-position: 50% 32%; filter: brightness(.78); }
  .hero-halo { left: 50%; top: 40px; width: min(118vw, 470px); transform: translateX(-50%); animation: none; }
  .hero-halo::after { bottom: 12%; }
  .hero-shafts { -webkit-mask-image: radial-gradient(ellipse 90% 70% at 80% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 90% 70% at 80% 0%, #000, transparent 75%); }
  .embers::after { display: none; }
  .hero-copy { padding-bottom: 0; translate: none; }
  .hero-title { font-size: clamp(40px, 12vw, 50px); }
  .unique-card { bottom: auto; border-radius: 14px; }
  .hero-tools { bottom: auto; }
  .totals-strip { margin-top: 0; }
  .totals-row { margin-inline: 16px; padding-inline: 16px; border-radius: var(--r); }
  /* En el teléfono el desenfoque de cristal sólo en cabecera, tarjeta del uniq y barra fija. */
  .note-card, .road-card, .opt, .bst-card, .class-card, .board-table, .gw-card, .news-card, .class-europe, .qa, .seg, .btn-line, .btn-tg, .round-btn, .sq-btn, .lang-btn, .motion-btn, .hero .eyebrow { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sec-art img { opacity: .3; }
  .gw-crest { height: 84px; }
  .gw-crest .crest { width: 40px; }
  .gw-lead .gw-crest .crest { width: 54px; }
  .gw-card:not(.gw-lead) .gw-crest { height: 64px; }
  .gw-card:not(.gw-lead) .gw-crest .crest { width: 34px; }
  .pod-banner span, .pod-1 .pod-banner span { width: 66%; }
  .final-cta { min-height: 380px; }
  .dock { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background: rgba(12, 9, 7, .85); }
  .lang-btn [data-lang-code].is-on { gap: 0; font-size: 0; letter-spacing: 0; }
  .lang-btn .flag { width: 22px; height: 15px; }
}

/* ------------------------------------------------- movimiento reducido / pausa */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity .3s linear; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  /* El botón de pausa se queda: el idle del visor sigue moviéndose (WCAG 2.2.2). */
  .hero-hint { display: none; }
  /* Capa 2026 quieta: sin Ken Burns, brasas, haces ni paralaje (el arte sigue ahí). */
  .hero-art img, .final-bg, .hero-shafts, .hero-halo, .embers::before, .embers::after, .sec-art img,
  .sec-head, .gw-grid > li, .news-grid > li, .pod, .board-table, .qa, .road-card { animation: none !important; }
  .hero-art, .hero-shafts, .hero-copy { translate: none; }
  .embers { display: none; }
}
/* Pausa: lo que depende del scroll no se congela a medias (quedaría invisible). */
html[data-motion="paused"] .sec-art img, html[data-motion="paused"] .sec-head, html[data-motion="paused"] .gw-grid > li, html[data-motion="paused"] .news-grid > li,
html[data-motion="paused"] .pod, html[data-motion="paused"] .board-table, html[data-motion="paused"] .qa, html[data-motion="paused"] .road-card { animation: none !important; }
html[data-motion="paused"] .hero-art, html[data-motion="paused"] .hero-shafts, html[data-motion="paused"] .hero-copy { translate: none; }
html[data-motion="paused"] *, html[data-motion="paused"] *::before, html[data-motion="paused"] *::after { animation-play-state: paused !important; }
html[data-motion="paused"] .js .reveal, html[data-motion="paused"].js .reveal { transform: none; }

/* Idiomas (test/landing-i18n.test.mjs): JetBrains Mono sin latín extendido -> Golos
   en turco; sin árabe en las fuentes del proyecto -> fuentes árabes del sistema. */
:root {
  --f-arabic: "Noto Sans Arabic", "Segoe UI", Tahoma, "Geeza Pro", "SF Arabic", system-ui, sans-serif;
  --f-arabic-display: "Noto Naskh Arabic", "Times New Roman", "Geeza Pro", serif;
}
html:lang(tr) { --f-mono: "Golos Text", system-ui, sans-serif; }
html:lang(ar) {
  --f-body: "Golos Text", var(--f-arabic);
  --f-display: "Forum", var(--f-arabic-display);
  --f-mono: "Golos Text", var(--f-arabic);
}
/* El espaciado entre letras rompe la escritura ligada del árabe. */
html:lang(ar) body * { letter-spacing: normal !important; }
html:lang(ar) .eyebrow, html:lang(ar) .hero-meta, html:lang(ar) .uc-status, html:lang(ar) .status-pill { font-size: 14px; }
html:lang(ar) .hero-title { line-height: 1.25; }

/* RTL (árabe): el héroe se refleja — texto a la derecha, escena a la izquierda. */
[dir="rtl"] .uc-tabs button + button, [dir="rtl"] .seg button + button { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .server-now { text-align: left; }
[dir="rtl"] .more svg, [dir="rtl"] .round-btn svg, [dir="rtl"] .uc-next svg { transform: scaleX(-1); }
[dir="rtl"] .more:hover svg { transform: scaleX(-1) translateX(5px); }
[dir="rtl"] .phone-tag { margin-left: 0; margin-right: auto; }
[dir="rtl"] .skip-link { left: auto; right: 16px; }
/* Carriles con scroll horizontal: siguen de izquierda a derecha (home.js/site.js
   cuentan scrollLeft positivo); el texto de cada tarjeta sí va en RTL. */
[dir="rtl"] .bst-track, [dir="rtl"] .road-list { direction: ltr; }
[dir="rtl"] .bst-track > *, [dir="rtl"] .road-list > * { direction: rtl; }
@media (min-width: 761px) {
  [dir="rtl"] .hero-stage, [dir="rtl"] .hero-halo { left: auto; right: calc(50% - 250px); }
  [dir="rtl"] .hero-fade { background: linear-gradient(270deg, rgba(10, 8, 6, .94) 0%, rgba(10, 8, 6, .72) 30%, rgba(10, 8, 6, .08) 58%, rgba(10, 8, 6, 0) 100%), linear-gradient(180deg, rgba(14, 11, 9, 0) 70%, var(--bg) 100%); }
  [dir="rtl"] .hero-copy { margin-left: 0; margin-right: max(var(--gutter), calc(50vw - 640px)); }
  [dir="rtl"] .unique-card { right: auto; left: max(var(--gutter), calc(50vw - 640px)); }
  [dir="rtl"] .hero-tools { left: auto; right: max(var(--gutter), calc(50vw - 640px)); }
}
@media (min-width: 761px) and (max-width: 1180px) {
  [dir="rtl"] .hero-halo { right: calc(50% - 200px); }
}
@media (max-width: 760px) {
  [dir="rtl"] .unique-card { right: auto; left: 16px; padding: 8px 12px 8px 6px; }
  [dir="rtl"] .uc-status { padding-right: 0; padding-left: 6px; }
  [dir="rtl"] .hero-tools { left: auto; right: 16px; }
  [dir="rtl"] .server-now { text-align: right; }
  [dir="rtl"] .road .wrap { padding-right: var(--gutter); padding-left: 0; }
}
