/* Nexus Reborn. Palette, type and controls follow the Nexus Launcher theme
   (wildstar-launcher: src/Nexus.Launcher.Ui/Styles/Nexus.axaml): deep-space navy,
   holo teal, Nexus orange, glass panels. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05080d;
  --bg-2: #070d15;
  --bg-3: #081723;
  --glass: rgba(11, 21, 32, 0.72);
  --glass-strong: rgba(11, 21, 32, 0.9);
  --glass-border: #24424f;
  --line: rgba(36, 66, 79, 0.55);
  --teal: #2fe0d4;
  --teal-dim: #1a8e97;
  --teal-soft: rgba(47, 224, 212, 0.14);
  --text: #eaf4f7;
  --text-2: #9db3bf;
  --text-3: #62798a;
  --text-hero: #cfe3ea;
  --online: #3ddc84;
  --offline: #ff5a5f;
  --amber: #ffc24f;
  --orange: #ff951a;
  --orange-deep: #e36300;
  --orange-edge: #ffd68a;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 18px;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: rgba(47, 224, 212, 0.4); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--teal); color: #04121a; font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

/* ---------- type helpers ---------- */
.overline { font-size: 12px; font-weight: 650; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal); }
.caption { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin: 0; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--text-2); max-width: 62ch; }
.link { color: var(--teal); text-decoration: underline; text-decoration-color: rgba(47, 224, 212, 0.35); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.link:hover { text-decoration-color: var(--teal); }

/* ---------- buttons (launcher NxPlayButton / NxGlassButton) ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 14px; font-weight: 650; letter-spacing: 0.02em; white-space: nowrap;
  cursor: pointer; user-select: none;
  transition: transform 0.15s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s, background-color 0.2s, color 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-icon { width: 16px; height: 16px; fill: currentColor; flex: none; }

.btn-play {
  color: #fff;
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800;
  border-color: var(--orange-edge);
  background: linear-gradient(180deg, var(--amber) 0%, var(--orange) 55%, var(--orange-deep) 100%);
  box-shadow: 0 6px 30px rgba(255, 138, 18, 0.44), inset 0 -2px 0 rgba(120, 40, 0, 0.25);
  text-shadow: 0 1px 4px rgba(112, 48, 0, 0.6);
}
.btn-play::before {
  content: ""; position: absolute; left: 2px; right: 2px; top: 2px; height: 46%;
  border-radius: calc(var(--radius-sm) - 2px) calc(var(--radius-sm) - 2px) 4px 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.btn-play:hover { border-color: #fff0c0; box-shadow: 0 6px 44px 6px rgba(255, 154, 46, 0.6), inset 0 -2px 0 rgba(120, 40, 0, 0.25); }

.btn-glass { color: var(--text-2); background: var(--glass); border-color: var(--glass-border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { color: var(--text); border-color: var(--teal-dim); box-shadow: 0 0 0 1px rgba(26, 142, 151, 0.25), 0 8px 28px rgba(0, 0, 0, 0.35); }
.btn-text { color: var(--text-hero); padding: 0 8px; }
.btn-text:hover { color: #fff; }

/* Links whose target is not ready yet (launcher download, Discord). */
[data-placeholder="false"]::after {
  content: "Soon"; margin-left: 8px; padding: 2px 7px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-soft); border: 1px solid rgba(47, 224, 212, 0.3);
  text-shadow: none; vertical-align: 1px;
}

/* ---------- pills and status dots ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(11, 21, 32, 0.6); border: 1px solid var(--glass-border); font-size: 12px; color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pill-muted { color: var(--text-2); }
.pill-meta { color: var(--text-2); }
.pill-meta:empty { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--text-3); box-shadow: 0 0 0 3px rgba(98, 121, 138, 0.18); }
.dot.is-online { background: var(--online); box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.18), 0 0 10px rgba(61, 220, 132, 0.7); animation: pulse 2.4s ease-in-out infinite; }
.dot.is-offline { background: var(--offline); box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.18); }
.dot.is-partial { background: var(--amber); box-shadow: 0 0 0 3px rgba(255, 194, 79, 0.18); }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(61, 220, 132, 0.08), 0 0 14px rgba(61, 220, 132, 0.9); } }

.glass { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .page-sub .site-header { background: rgba(5, 8, 13, 0.78); border-bottom-color: var(--line); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-sigil { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(47, 224, 212, 0.45)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 15px; font-weight: 800; letter-spacing: 0.22em; }
.brand-sub { font-size: 10px; font-weight: 650; letter-spacing: 0.36em; color: var(--teal); margin-top: 4px; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: 10px 12px; font-size: 12px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); transition: color 0.2s; }
.main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 1px; background: var(--teal); box-shadow: 0 0 8px rgba(47, 224, 212, 0.5); opacity: 0; transform: scaleX(0.4); transition: opacity 0.2s, transform 0.25s var(--ease); }
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.is-active::after { opacity: 1; transform: none; }
.ext { margin-left: 3px; color: var(--teal-dim); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--glass-border); background: var(--glass); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon { display: grid; gap: 4px; }
.menu-icon i { display: block; width: 18px; height: 2px; border-radius: 1px; background: var(--text); transition: transform 0.2s, opacity 0.2s; }
.menu[open] .menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu-icon i:nth-child(2) { opacity: 0; }
.menu[open] .menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px)); padding: 8px; display: grid; border-radius: var(--radius); background: var(--glass-strong); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.menu-panel a { padding: 12px 14px; border-radius: 8px; font-weight: 600; color: var(--text-2); }
.menu-panel a:hover { background: var(--teal-soft); color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--bg-2), var(--bg-3) 55%, #04070b); }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-video { opacity: 0; transition: opacity 1.4s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-media picture, .hero-video { animation: kenburns 22s ease-in-out infinite alternate; transform-origin: 60% 55%; }
@keyframes kenburns { to { transform: scale(1.06); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.92) 0%, rgba(5, 8, 13, 0.55) 40%, rgba(5, 8, 13, 0.05) 72%),
    linear-gradient(180deg, rgba(5, 8, 13, 0.55) 0%, rgba(5, 8, 13, 0) 22%, rgba(5, 8, 13, 0) 50%, rgba(5, 8, 13, 0.92) 86%, #05080d 100%);
}
.hero-glow { position: absolute; right: -10%; top: -30%; width: 70vw; height: 90vh; background: radial-gradient(closest-side, rgba(47, 224, 212, 0.16), rgba(47, 224, 212, 0)); pointer-events: none; }
.hero-sigil { position: absolute; left: -12vw; top: 50%; width: min(62vw, 780px); height: auto; transform: translateY(-40%); opacity: 0.05; pointer-events: none; }
.hero-content { padding-top: 120px; padding-bottom: clamp(72px, 12vh, 128px); }
.hero-title { margin: 14px 0 0; font-size: clamp(60px, 11vw, 156px); font-weight: 900; line-height: 0.86; letter-spacing: -0.035em; text-transform: uppercase; }
.hero-title span { display: block; }
.hero-title-a { color: var(--text); text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45); }
.hero-title-b {
  background: linear-gradient(100deg, #2fe0d4 0%, #9ff8ef 38%, #2fe0d4 62%, #18a8b4 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(47, 224, 212, 0.35));
  animation: sheen 9s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero-pitch { margin-top: 22px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.hero-lead { margin-top: 10px; max-width: 54ch; font-size: clamp(16px, 1.35vw, 18px); color: var(--text-hero); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-pause { position: absolute; right: var(--gutter); bottom: 24px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--glass); cursor: pointer; color: var(--text-2); transition: color 0.2s, border-color 0.2s; }
.hero-pause:hover { color: var(--text); border-color: var(--teal-dim); }
.hero-pause svg { width: 16px; height: 16px; fill: currentColor; }
.hero-pause .i-play, .hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border-radius: 13px; border: 1.5px solid rgba(234, 244, 247, 0.35); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--teal); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.hero-anim { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
.hero-anim:nth-child(2) { animation-delay: 0.08s; }
.hero-anim:nth-child(3) { animation-delay: 0.18s; }
.hero-anim:nth-child(4) { animation-delay: 0.26s; }
.hero-anim:nth-child(5) { animation-delay: 0.34s; }
.hero-anim:nth-child(6) { animation-delay: 0.42s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 8.5vw, 116px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-top: 12px; font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; }
.section-head .lead { margin-top: 16px; }
.section-head-center { text-align: center; }
.section-head-center .lead { margin-left: auto; margin-right: auto; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.source-note { margin-top: 28px; font-size: 13px; color: var(--text-3); max-width: 80ch; }

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- classes ---------- */
.section-classes { background: radial-gradient(1000px 600px at 85% 0%, rgba(47, 224, 212, 0.07), transparent 70%), var(--bg); }
.class-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.class-card {
  --accent: var(--teal);
  --accent-rgb: 47, 224, 212;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(11, 21, 32, 0.92), rgba(7, 13, 21, 0.96));
  border: 1px solid var(--glass-border);
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s var(--ease), opacity 0.8s var(--ease);
}
.class-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(500px 200px at 50% 0%, rgba(var(--accent-rgb), 0.16), transparent 70%); opacity: 0; transition: opacity 0.35s; }
.class-card:hover, .class-card:focus-within { border-color: rgba(var(--accent-rgb), 0.65); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(var(--accent-rgb), 0.25), 0 0 40px rgba(var(--accent-rgb), 0.12); }
.js .class-card.is-visible:hover { transform: translateY(-4px); }
.class-card:hover::before { opacity: 1; }
.class-card[data-class="warrior"] { --accent: #ff6a3d; --accent-rgb: 255, 106, 61; }
.class-card[data-class="engineer"] { --accent: #ffb43a; --accent-rgb: 255, 180, 58; }
.class-card[data-class="esper"] { --accent: #c77dff; --accent-rgb: 199, 125, 255; }
.class-card[data-class="medic"] { --accent: #5ee07a; --accent-rgb: 94, 224, 122; }
.class-card[data-class="stalker"] { --accent: #ff4d6d; --accent-rgb: 255, 77, 109; }
.class-card[data-class="spellslinger"] { --accent: #4cc3ff; --accent-rgb: 76, 195, 255; }
.class-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a1119; }
.class-art img, .class-art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), opacity 0.5s; }
.class-art video { opacity: 0; }
.class-card.is-playing .class-art video { opacity: 1; }
.class-card:hover .class-art img { transform: scale(1.04); }
.class-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 13, 0) 45%, rgba(7, 13, 21, 0.96) 100%); pointer-events: none; }
.clip-btn { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(5, 8, 13, 0.55); color: #fff; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color 0.2s, border-color 0.2s, transform 0.2s; }
.clip-btn:hover { background: rgba(var(--accent-rgb), 0.35); border-color: rgba(var(--accent-rgb), 0.8); transform: scale(1.06); }
.clip-btn svg { width: 14px; height: 14px; fill: currentColor; }
.clip-btn .i-pause, .clip-btn[aria-pressed="true"] .i-play { display: none; }
.clip-btn[aria-pressed="true"] .i-pause { display: block; }
.class-body { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 0 22px 22px; margin-top: -34px; z-index: 1; flex: 1; }
.class-head { display: flex; align-items: center; gap: 14px; }
.class-icon { width: 56px; height: 56px; flex: none; border-radius: 14px; padding: 6px; background: rgba(5, 8, 13, 0.8); border: 1px solid rgba(var(--accent-rgb), 0.45); box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.25); }
.class-head h3 { font-size: 24px; font-weight: 800; }
.roles { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.role { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--glass-border); color: var(--text-2); background: rgba(5, 8, 13, 0.5); }
.role::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.role-tank { color: #7fb6ff; border-color: rgba(127, 182, 255, 0.35); }
.role-heal { color: #6ee7a0; border-color: rgba(110, 231, 160, 0.35); }
.role-dps { color: #ff9a7a; border-color: rgba(255, 154, 122, 0.35); }
.class-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(5, 8, 13, 0.45); }
.class-stats div { padding: 10px 12px; min-width: 0; }
.class-stats div + div { border-left: 1px solid var(--line); }
.class-stats dt { font-size: 10px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.class-stats dd { margin: 3px 0 0; font-size: 14px; font-weight: 650; color: var(--text); line-height: 1.3; }
.class-desc { font-size: 14.5px; color: var(--text-2); }
.class-innate { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.class-innate span { margin-right: 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* ---------- paths ---------- */
.section-paths { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.path-card { --accent-rgb: 47, 224, 212; position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--glass-border); background: var(--glass); transition: border-color 0.3s, box-shadow 0.35s var(--ease), opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.path-card[data-path="soldier"] { --accent-rgb: 255, 92, 72; }
.path-card[data-path="settler"] { --accent-rgb: 110, 231, 120; }
.path-card[data-path="scientist"] { --accent-rgb: 76, 175, 255; }
.path-card[data-path="explorer"] { --accent-rgb: 255, 170, 60; }
.path-card:hover { border-color: rgba(var(--accent-rgb), 0.6); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 36px rgba(var(--accent-rgb), 0.14); }
.path-art { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; mask-image: linear-gradient(90deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); transition: transform 0.8s var(--ease); }
.path-card:hover .path-art { transform: scale(1.04); }
.path-body { padding: 24px 24px 24px 8px; display: flex; flex-direction: column; gap: 10px; }
.path-body h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; }
.path-body h3 img { width: 36px; height: 36px; }
.path-body p { font-size: 14.5px; color: var(--text-2); }
.path-live { margin-top: auto; font-size: 12px !important; font-weight: 600; letter-spacing: 0.04em; color: rgb(var(--accent-rgb)) !important; }
.path-live:empty { display: none; }

/* ---------- factions ---------- */
.section-factions { overflow: hidden; background: var(--bg-2); padding-top: clamp(80px, 10vw, 120px); }
.factions-art { position: absolute; inset: 0; z-index: 0; }
.factions-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; opacity: 0.72; mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 55%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 55%, transparent 100%); }
.section-factions::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--bg-2) 0%, rgba(7, 13, 21, 0.35) 18%, rgba(7, 13, 21, 0.1) 40%, rgba(7, 13, 21, 0.55) 70%, var(--bg-2) 100%), radial-gradient(60% 50% at 50% 28%, rgba(5, 8, 13, 0.55), transparent 70%); pointer-events: none; }
.section-factions .container { position: relative; z-index: 1; }
.faction-split { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 22px; margin-top: clamp(80px, 16vw, 220px); }
.faction { position: relative; padding: 32px 30px 28px; border-radius: var(--radius-lg); background: var(--glass-strong); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.faction-dominion { border-color: rgba(255, 70, 70, 0.4); box-shadow: inset 0 1px 0 rgba(255, 90, 90, 0.25), 0 30px 80px rgba(80, 0, 0, 0.25); }
.faction-exile { border-color: rgba(47, 224, 212, 0.4); box-shadow: inset 0 1px 0 rgba(47, 224, 212, 0.25), 0 30px 80px rgba(0, 60, 70, 0.25); }
.faction-emblem { width: 84px; height: 84px; object-fit: contain; margin-top: -76px; margin-bottom: 14px; filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.6)); }
.faction h3 { font-size: 28px; font-weight: 800; }
.faction-dominion h3 { color: #ff8a7a; }
.faction-exile h3 { color: #7ff0e7; }
.faction p { margin-top: 12px; color: var(--text-2); font-size: 15px; }
.races { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.races li { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 650; letter-spacing: 0.06em; border: 1px solid var(--glass-border); background: rgba(5, 8, 13, 0.6); color: var(--text); }
.faction-vs { display: grid; place-items: center; }
.faction-vs span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-weight: 900; font-size: 15px; letter-spacing: 0.08em; color: var(--text); background: radial-gradient(circle, #0e1c28, #070d15); border: 1px solid var(--glass-border); box-shadow: 0 0 0 6px rgba(5, 8, 13, 0.6), 0 0 30px rgba(47, 224, 212, 0.18); }

/* ---------- features ---------- */
.section-features { background: radial-gradient(900px 500px at 10% 10%, rgba(47, 224, 212, 0.06), transparent 70%), var(--bg); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature { position: relative; overflow: hidden; min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: var(--radius-lg); border: 1px solid var(--glass-border); background: #070d15; transition: border-color 0.3s, box-shadow 0.35s var(--ease), opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.feature:hover { border-color: var(--teal-dim); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.feature-wide { grid-column: span 2; }
.feature-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-art-contain { object-fit: cover; object-position: 50% 20%; filter: brightness(1.55) saturate(1.15); }
.feature:hover .feature-art { transform: scale(1.05); }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 13, 0.05) 10%, rgba(5, 8, 13, 0.7) 55%, rgba(5, 8, 13, 0.96) 100%); pointer-events: none; }
.feature-body { position: relative; z-index: 1; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.feature-body h3 { font-size: 22px; font-weight: 800; }
.feature-wide .feature-body h3 { font-size: 28px; }
.feature-body p { color: var(--text-2); font-size: 14.5px; max-width: 52ch; }
.feature-live { margin-top: 4px; font-size: 13px !important; color: var(--text) !important; }
.feature-live b { color: var(--teal); font-weight: 750; font-variant-numeric: tabular-nums; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-testing { color: var(--teal); background: rgba(5, 8, 13, 0.6); border: 1px solid rgba(47, 224, 212, 0.4); }
.status-later { color: var(--text-2); background: rgba(5, 8, 13, 0.6); border: 1px solid rgba(157, 179, 191, 0.35); }
.status-progress { color: var(--amber); background: rgba(5, 8, 13, 0.6); border: 1px solid rgba(255, 194, 79, 0.4); }

/* ---------- live: status + progress ---------- */
.section-live { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 50%, var(--bg) 100%); }
.section-live::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(47, 224, 212, 0.12) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); pointer-events: none; }
.live-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 22px; }
.status-card, .progress-card { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-head h3 { font-size: 20px; font-weight: 800; }
.card-head .link { text-decoration: none; color: var(--teal); }
.players-summary { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 12px; background: linear-gradient(135deg, rgba(47, 224, 212, 0.12), rgba(47, 224, 212, 0.02)); border: 1px solid rgba(47, 224, 212, 0.25); }
.players-summary b { font-size: 44px; font-weight: 850; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.players-summary span { display: block; font-size: 14px; color: var(--text-2); }
.players-summary strong { display: block; font-size: 15px; color: var(--text); }
.checked { font-size: 12px; color: var(--text-3); }
.realm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.realm { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 8, 13, 0.5); }
.realm .dot { width: 10px; height: 10px; }
.realm-name { display: flex; flex-direction: column; min-width: 0; }
.realm-name b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.realm-name span { font-size: 12px; color: var(--text-3); }
.realm-state { font-size: 13px; font-weight: 650; color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; }
.realm-state.is-online { color: var(--online); }
.realm-state.is-offline { color: var(--offline); }
.card-note { margin-top: auto; font-size: 13px; color: var(--text-3); }
.meters { display: grid; gap: 16px; }
.meter-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-2); }
.meter-top b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.meter-bar { margin-top: 8px; height: 8px; border-radius: 999px; background: rgba(36, 66, 79, 0.45); overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: var(--pct, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--teal-dim), var(--teal)); box-shadow: 0 0 12px rgba(47, 224, 212, 0.6); transition: width 1.4s var(--ease); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi { padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 8, 13, 0.5); }
.kpi b { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.kpi span { font-size: 13px; color: var(--text-2); }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--glass-border); background: var(--glass); transition: border-color 0.3s, transform 0.35s var(--ease), opacity 0.8s var(--ease); }
.news-card:hover { border-color: var(--teal-dim); }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.news-body .caption { color: var(--teal-dim); }
.news-body h3 { font-size: 19px; font-weight: 750; }
.news-body p:not(.caption) { font-size: 14.5px; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq { border-radius: var(--radius); border: 1px solid var(--glass-border); background: var(--glass); transition: border-color 0.2s; }
.faq[open] { border-color: rgba(47, 224, 212, 0.35); }
.faq summary { position: relative; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform 0.25s var(--ease), margin 0.25s; }
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq p { padding: 0 20px 20px; color: var(--text-2); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(100px, 14vw, 180px) 0; text-align: center; isolation: isolate; }
.cta-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: 0.85; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 8, 13, 0.35) 35%, rgba(5, 8, 13, 0.35) 65%, var(--bg) 100%); }
.cta-inner h2 { margin-top: 14px; font-size: clamp(32px, 5vw, 60px); font-weight: 850; }
.cta-inner .hero-actions { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #04070b; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 40px; }
.footer-brand p { margin-top: 14px; max-width: 36ch; font-size: 14px; color: var(--text-3); }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-links div { display: grid; gap: 10px; align-content: start; }
.footer-links h2 { margin-bottom: 4px; }
.footer-links a { font-size: 14px; color: var(--text-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-legal { margin-top: 44px; font-size: 12px; color: var(--text-3); }
.footer-legal-inner { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(36, 66, 79, 0.35); }
.footer-legal p:first-child { max-width: 90ch; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%); padding: 12px 18px; border-radius: 12px; background: var(--glass-strong); border: 1px solid var(--teal-dim); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); font-size: 14px; font-weight: 600; }

/* ---------- sub pages (account, play, welcome) ---------- */
.page-sub main { min-height: 100vh; }
.sub-hero { position: relative; padding: 140px 0 70px; overflow: hidden; isolation: isolate; }
.sub-hero-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; mask-image: linear-gradient(180deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); }
.sub-hero h1 { margin-top: 12px; font-size: clamp(36px, 5vw, 60px); font-weight: 850; }
.sub-hero .lead { margin-top: 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.step { position: relative; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--glass-border); background: var(--glass); display: flex; flex-direction: column; gap: 10px; }
.step-num { font-size: 13px; font-weight: 800; letter-spacing: 0.2em; color: var(--teal); }
.step h3 { font-size: 21px; font-weight: 800; }
.step p { color: var(--text-2); font-size: 14.5px; }
.step b { color: var(--text); }
.step-link { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--teal); font-size: 14px; }
.section-tight { padding: 40px 0 110px; }

.account-shell { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); isolation: isolate; }
.account-art { position: sticky; top: 0; height: 100vh; align-self: start; overflow: hidden; }
.account-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 92% 0%; }
.account-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 8, 13, 0.15) 0%, rgba(5, 8, 13, 0.4) 60%, var(--bg) 100%), linear-gradient(180deg, rgba(5, 8, 13, 0.5) 0%, transparent 30%, transparent 60%, rgba(5, 8, 13, 0.92) 100%); }
.account-art-caption { position: absolute; left: clamp(24px, 4vw, 56px); bottom: clamp(28px, 5vw, 56px); right: 24px; z-index: 1; max-width: 460px; }
.account-art-caption h2 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 850; }
.account-art-caption p:not(.overline) { margin-top: 10px; color: var(--text-hero); }
.account-panel { display: flex; align-items: center; justify-content: center; padding: 96px var(--gutter) 40px; background: radial-gradient(600px 500px at 80% 10%, rgba(47, 224, 212, 0.08), transparent 70%), var(--bg); }
.account-card { width: 100%; max-width: 460px; padding: clamp(24px, 3.2vw, 36px); }
.account-card h1 { margin-top: 10px; font-size: clamp(30px, 3vw, 38px); font-weight: 850; }
.account-card .lead { margin-top: 10px; font-size: 15px; }
.form { display: grid; gap: 18px; margin-top: 26px; }
.field { display: grid; gap: 7px; }
.field.is-hidden { display: none; }
.field label { font-size: 13px; font-weight: 650; color: var(--text); }
.field-hint { font-size: 12.5px; color: var(--text-3); }
.input-wrap { position: relative; }
.input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--glass-border);
  background: rgba(11, 21, 32, 0.6); color: var(--text); font: inherit; font-size: 15px;
  caret-color: var(--teal); transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: var(--text-3); }
.input:hover { border-color: var(--teal-dim); background: rgba(14, 27, 40, 0.8); }
.input:focus { outline: none; border-color: var(--teal); background: rgba(11, 21, 32, 0.88); box-shadow: 0 0 0 3px rgba(47, 224, 212, 0.16); }
.input[aria-invalid="true"] { border-color: var(--offline); box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.12); }
.input-wrap .input { padding-right: 76px; }
.reveal-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--text-2); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.reveal-btn:hover { color: var(--text); background: rgba(47, 224, 212, 0.1); }
.field-error { min-height: 0; font-size: 13px; font-weight: 600; color: #ff8589; }
.field-error:empty { display: none; }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.strength i { height: 3px; border-radius: 2px; background: rgba(36, 66, 79, 0.6); transition: background-color 0.3s; }
.strength[data-score="1"] i:nth-child(-n+1) { background: var(--offline); }
.strength[data-score="2"] i:nth-child(-n+2) { background: var(--amber); }
.strength[data-score="3"] i:nth-child(-n+3) { background: #9be36b; }
.strength[data-score="4"] i { background: var(--online); }
.form-alert { display: none; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 90, 95, 0.45); background: rgba(255, 90, 95, 0.1); color: #ffc1c3; font-size: 14px; font-weight: 600; }
.form-alert.is-visible { display: block; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { font-size: 13px; color: var(--text-3); text-align: center; }
.form .btn-play { width: 100%; min-height: 56px; font-size: 16px; }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.8; }
.btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.welcome-card { max-width: 760px; margin: 0 auto; padding: clamp(28px, 4vw, 44px); text-align: center; }
.welcome-check { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 220, 132, 0.25), rgba(61, 220, 132, 0.05)); border: 1px solid rgba(61, 220, 132, 0.6); box-shadow: 0 0 40px rgba(61, 220, 132, 0.25); }
.welcome-check svg { width: 34px; height: 34px; fill: none; stroke: var(--online); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.7s 0.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.welcome-card h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 850; }
.welcome-card .lead { margin: 14px auto 0; }
.welcome-email { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(11, 21, 32, 0.8); border: 1px solid var(--glass-border); font-weight: 650; max-width: 100%; }
.welcome-email .avatar { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #2fe0d4, #146e8c); color: #04121a; font-size: 13px; font-weight: 800; }
.welcome-email span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.welcome:not(.has-account) .welcome-email, .welcome:not(.has-account) .welcome-check { display: none; }

.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; background: radial-gradient(700px 500px at 50% 30%, rgba(47, 224, 212, 0.08), transparent 70%), var(--bg); }
.error-code { font-size: clamp(90px, 18vw, 200px); font-weight: 900; line-height: 0.9; letter-spacing: -0.05em; background: linear-gradient(180deg, #eaf4f7, #2fe0d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { margin-top: 12px; font-size: clamp(24px, 3vw, 34px); }
.error-page p { margin: 12px auto 0; color: var(--text-2); max-width: 46ch; }
.error-page .hero-actions { justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 10px 9px; letter-spacing: 0.06em; }
}
@media (max-width: 1060px) {
  .main-nav { display: none; }
  .menu { display: block; }
  .class-grid, .feature-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-wide { grid-column: span 2; }
  .path-grid { grid-template-columns: minmax(0, 1fr); }
  .live-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faction-split { grid-template-columns: minmax(0, 1fr); gap: 64px; margin-top: 46vw; }
  .faction-vs { display: none; }
  .account-shell { grid-template-columns: minmax(0, 1fr); }
  .account-art { position: relative; height: auto; min-height: 260px; }
  .account-art img { object-position: 50% 20%; }
  .account-art::after { background: linear-gradient(180deg, rgba(5, 8, 13, 0.4) 0%, transparent 35%, var(--bg) 100%); }
  .account-art-caption { display: none; }
  .account-panel { padding-top: 0; margin-top: -90px; position: relative; z-index: 1; background: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .hide-sm { display: none; }
  .header-inner { gap: 12px; height: 62px; }
  .class-grid, .feature-grid, .news-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-wide { grid-column: auto; }
  .feature { min-height: 300px; }
  .path-card { grid-template-columns: minmax(0, 1fr); }
  .path-art { height: auto; aspect-ratio: 592 / 300; mask-image: linear-gradient(180deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .path-body { padding: 4px 20px 22px; }
  .hero-content { padding-bottom: 88px; }
  .hero-actions .btn-lg { flex: 1 1 100%; }
  .hero-actions .btn-text { flex: 0 0 auto; }
  .hero-title { font-size: clamp(56px, 17vw, 90px); }
  .hero-shade { background: linear-gradient(180deg, rgba(5, 8, 13, 0.5) 0%, rgba(5, 8, 13, 0.2) 30%, rgba(5, 8, 13, 0.85) 62%, rgba(5, 8, 13, 0.98) 100%); }
  .hero-poster { object-position: 40% 50%; }
  .scroll-cue { display: none; }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .class-stats dd { font-size: 13px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-legal-inner { flex-direction: column; }
  .btn-sm.btn-play { padding: 0 12px; letter-spacing: 0.08em; }
}
@media (max-width: 380px) {
  .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal], .hero-anim { opacity: 1; transform: none; }
}
.feature-link { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--teal); }
.feature-link:hover { text-decoration: underline; text-underline-offset: 3px; }

[hidden] { display: none !important; }
.btn-block { white-space: normal; text-align: center; padding-top: 10px; padding-bottom: 10px; }
@media (max-width: 860px) {
  .factions-art { inset: 0 0 auto 0; height: min(150vw, 900px); }
  .factions-art img { object-position: 50% 0; mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 60%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 60%, transparent 100%); }
  .section-factions::after { background: linear-gradient(180deg, var(--bg-2) 0%, rgba(7, 13, 21, 0.2) 14%, rgba(7, 13, 21, 0.1) 40%, rgba(7, 13, 21, 0.4) 70%, var(--bg-2) 100%); }
}
.page-welcome .step:first-child .step-link { display: none; }
.page-welcome .step:first-child .step-num::after { content: "  ·  DONE"; color: var(--online); }
