:root {
  --bg: #070806;
  --bg-2: #0d0f0b;
  --panel: rgba(17, 20, 14, .92);
  --panel-solid: #11140e;
  --lime: #b6ff00;
  --lime-2: #7fc700;
  --silver: #edf0ed;
  --muted: #a8b0a4;
  --line: rgba(182, 255, 0, .20);
  --line-soft: rgba(255, 255, 255, .09);
  --danger: #ff6e50;
  --amber: #ffc85a;
  --cyan: #65dcea;
  --blue: #79aaff;
  --gold: #e1bd62;
  --shadow: 0 24px 80px rgba(0,0,0,.55);
  --left-rail: 72px;
  --right-dock: 382px;
  --header: 76px;
  --content: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--silver);
  background:
    radial-gradient(circle at 38% -10%, rgba(182,255,0,.11), transparent 30%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 44px 44px, 44px 44px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-140%); padding: 10px 14px; color: #071000; background: var(--lime); border-radius: 8px; font-weight: 900; }
.skip-link:focus { transform: none; }

.site-header {
  position: fixed; z-index: 80; top: 0; left: var(--left-rail); right: var(--right-dock); height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 30px;
  border-bottom: 1px solid var(--line-soft); background: rgba(7,8,6,.83); backdrop-filter: blur(18px);
}
.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(0,0,0,.34); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--silver); text-decoration: none; font-size: 1.05rem; letter-spacing: -.02em; }
.brand img { width: 52px; height: 52px; aspect-ratio: 1 / 1; object-fit: contain; filter: drop-shadow(0 0 12px rgba(182,255,0,.18)); }
.brand strong { color: var(--lime); }
.top-nav { display: flex; align-items: center; gap: 8px; }
.top-nav a { padding: 10px 13px; color: var(--muted); text-decoration: none; border-radius: 9px; font-size: .88rem; font-weight: 800; }
.top-nav a:hover, .top-nav a:focus-visible { color: var(--silver); background: rgba(182,255,0,.08); }
.mobile-menu, .mobile-nav { display: none; }

.game-rail {
  position: fixed; z-index: 100; inset: 0 auto 0 0; width: var(--left-rail); overflow: hidden;
  border-right: 1px solid var(--line); background: rgba(7,8,6,.97); box-shadow: 18px 0 60px rgba(0,0,0,.25);
  transition: width .22s ease;
}
.game-rail:hover, .game-rail:focus-within, .game-rail.is-open { width: 278px; }
.rail-toggle { width: 100%; height: var(--header); display: flex; align-items: center; gap: 20px; padding: 0 22px; border: 0; border-bottom: 1px solid var(--line-soft); color: var(--silver); background: transparent; cursor: pointer; white-space: nowrap; }
.rail-menu-icon { width: 28px; flex: 0 0 28px; display: grid; gap: 5px; }
.rail-menu-icon i { height: 2px; border-radius: 2px; background: var(--lime); }
.rail-toggle-label { font-weight: 900; letter-spacing: .02em; }
.rail-nav { display: grid; padding: 16px 9px; gap: 7px; }
.rail-game, .rail-home { min-height: 58px; display: flex; align-items: center; gap: 16px; padding: 8px 11px; border: 1px solid transparent; border-radius: 13px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.rail-game:hover, .rail-game:focus-visible, .rail-game[aria-current="page"], .rail-home:hover { color: var(--silver); border-color: var(--line); background: rgba(182,255,0,.075); }
.rail-icon { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; overflow: hidden; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #0d100a; }
.rail-icon img { width: 100%; height: 100%; object-fit: contain; }
.rail-copy { display: grid; line-height: 1.2; opacity: 0; transform: translateX(-7px); transition: opacity .14s ease, transform .14s ease; }
.game-rail:hover .rail-copy, .game-rail:focus-within .rail-copy, .game-rail.is-open .rail-copy { opacity: 1; transform: none; }
.rail-copy strong { font-size: .88rem; }
.rail-copy small { margin-top: 4px; color: #788073; font-size: .69rem; }
.rail-game[data-state="live"] .rail-icon { box-shadow: inset 0 0 0 1px rgba(182,255,0,.14), 0 0 16px rgba(182,255,0,.08); }
.rail-game[data-state="dev"] .rail-icon { color: #9ba294; border-color: rgba(255,255,255,.1); }
.rail-home { position: absolute; bottom: 18px; left: 9px; right: 9px; }

.discord-dock {
  position: fixed; z-index: 60; top: 0; right: 0; width: 382px; height: 100vh;
  border-left: 1px solid var(--line); background: linear-gradient(180deg, rgba(13,15,11,.98), rgba(7,8,6,.98));
  box-shadow: -18px 0 60px rgba(0,0,0,.28); overflow: visible;
  transition: transform .24s ease;
}
.dock-content { height: 100%; padding: 20px 16px; overflow-y: auto; }
.dock-toggle { position: absolute; z-index: 2; left: -34px; top: 50%; width: 34px; height: 92px; transform: translateY(-50%); border: 1px solid var(--line); border-right: 0; border-radius: 14px 0 0 14px; color: var(--lime); background: #0d100a; box-shadow: -9px 0 24px rgba(0,0,0,.34); cursor: pointer; }
.dock-toggle::before, .dock-toggle::after { content: ""; position: absolute; left: 9px; right: 9px; height: 2px; border-radius: 2px; background: rgba(182,255,0,.45); }
.dock-toggle::before { top: 20px; }
.dock-toggle::after { bottom: 20px; }
.dock-toggle span::before { content: "›"; display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
body.discord-collapsed { --right-dock: 40px; }
body.discord-collapsed .discord-dock { transform: translateX(calc(100% - 6px)); }
body.discord-collapsed .dock-toggle span::before { content: "‹"; }
.site-header, .site-main, .site-footer { transition: right .24s ease, margin-right .24s ease; }
.dock-join { width: 100%; margin-top: 14px; }

.dock-heading { padding: 8px 8px 15px; }
.dock-heading > div { display: flex; align-items: center; gap: 9px; }
.dock-heading strong { font-size: .95rem; }
.dock-heading small { display: block; margin-top: 3px; color: var(--muted); font-size: .72rem; }
.discord-live-card { width: 350px; max-width: 100%; height: min(500px, calc(100vh - 150px)); min-height: 420px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 15px; background: #1e1f22; color: #f2f3f5; }
.discord-live-top { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; background: #5865f2; }
.discord-wordmark { font-size: 1.18rem; font-weight: 950; letter-spacing: -.02em; }
.discord-presence { display: flex; align-items: baseline; gap: 5px; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.discord-presence strong { font-size: 1rem; }
.discord-live-body { height: calc(100% - 76px); overflow-y: auto; padding: 16px; scrollbar-color: #3b3d44 transparent; }
.discord-server-summary { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.discord-server-summary strong { font-size: 1rem; }
.discord-server-summary span { color: #b5bac1; font-size: .74rem; line-height: 1.4; }
.discord-live-section { margin-top: 17px; }
.discord-live-section h3 { margin: 0 0 9px; color: #949ba4; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.discord-channel-list, .discord-member-list { display: grid; gap: 5px; }
.discord-channel, .discord-member { min-height: 34px; display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; color: #dbdee1; background: rgba(255,255,255,.025); font-size: .78rem; }
.discord-channel::before { content: "#"; color: #80848e; font-size: 1rem; font-weight: 900; }
.discord-member-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #23a55a; box-shadow: 0 0 0 3px rgba(35,165,90,.12); }
.discord-member-copy { min-width: 0; display: grid; gap: 2px; }
.discord-member-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
.discord-member-copy small { overflow: hidden; color: #949ba4; text-overflow: ellipsis; white-space: nowrap; font-size: .65rem; }
.discord-placeholder { margin: 0; padding: 8px; color: #949ba4; font-size: .75rem; }
.discord-live-card[data-state="error"] .discord-live-top { background: #3f4147; }
.discord-live-card[data-state="error"] .discord-member-dot { background: #80848e; box-shadow: none; }
.dock-note { margin: 12px 8px 0; color: #737a6f; font-size: .68rem; line-height: 1.5; }
.live-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(182,255,0,.10), 0 0 18px rgba(182,255,0,.5); }

.site-main { min-height: 100vh; margin-left: var(--left-rail); margin-right: var(--right-dock); padding-top: var(--header); overflow: hidden; }
.section-shell, .content-section, .game-hero, .game-details, .next-step, .not-found { width: min(calc(100% - 64px), var(--content)); margin-inline: auto; }
.hero { min-height: calc(100vh - var(--header)); display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(370px, .96fr); align-items: center; gap: clamp(36px, 6vw, 90px); padding-block: 70px; }
.eyebrow { margin: 0 0 15px; color: var(--lime); font-size: .73rem; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow .live-dot { margin-right: 10px; }
h1, h2, h3 { margin-top: 0; line-height: 1.06; letter-spacing: -.045em; }
h1 { max-width: 800px; margin-bottom: 25px; font-size: clamp(3.35rem, 6.2vw, 6.7rem); }
h1 em { color: var(--lime); font-style: normal; }
h2 { margin-bottom: 0; font-size: clamp(2.25rem, 4.5vw, 4.25rem); }
.hero-copy > p:not(.eyebrow) { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 19px; border: 1px solid var(--line); border-radius: 11px; color: var(--silver); background: rgba(255,255,255,.025); text-decoration: none; cursor: pointer; font-weight: 900; }
.button.primary { color: #101500; border-color: var(--lime); background: var(--lime); box-shadow: 0 12px 35px rgba(182,255,0,.12); }
.button.primary:hover, .button.primary:focus-visible { background: #cbff4b; }
.button.secondary:hover, .button.secondary:focus-visible { border-color: rgba(182,255,0,.55); background: rgba(182,255,0,.08); }
.button.is-copied { background: #efffd0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; margin: 34px 0 0; padding: 0; list-style: none; color: #8e978a; font-size: .75rem; font-weight: 800; }
.trust-row li::before { content: "•"; margin-right: 8px; color: var(--lime); }
.hero-mark { position: relative; min-height: 540px; display: grid; place-items: center; }
.hero-mark img { position: relative; z-index: 2; width: min(470px, 86%); height: auto; aspect-ratio: 1 / 1; object-fit: contain; flex: none; filter: drop-shadow(0 28px 52px rgba(0,0,0,.52)) drop-shadow(0 0 20px rgba(182,255,0,.11)); }
.logo-orbit { position: absolute; width: min(480px, 88%); aspect-ratio: 1 / 1; border: 1px solid rgba(182,255,0,.18); border-radius: 50%; box-shadow: 0 0 58px rgba(182,255,0,.06), inset 0 0 58px rgba(182,255,0,.035); }
.logo-orbit::before, .logo-orbit::after { content: ""; position: absolute; inset: 8%; border: 1px dashed rgba(255,255,255,.09); border-radius: 50%; }
.logo-orbit::after { inset: 20%; border-color: rgba(182,255,0,.16); }
.hero-stat { position: absolute; z-index: 3; display: grid; min-width: 128px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(9,11,7,.9); box-shadow: var(--shadow); }
.hero-stat strong { color: var(--lime); font-size: 1.4rem; }
.hero-stat span { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-stat:nth-of-type(2) { top: 16%; right: 0; }
.hero-stat:nth-of-type(3) { bottom: 15%; left: 0; }

.content-section { padding-block: 100px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-title > p { max-width: 520px; margin: 0; color: var(--muted); }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.game-card { position: relative; min-height: 310px; display: grid; grid-template-columns: 36% 64%; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 22px; color: var(--silver); background: linear-gradient(145deg, rgba(19,22,15,.98), rgba(10,11,9,.98)); text-decoration: none; box-shadow: 0 18px 50px rgba(0,0,0,.25); transition: transform .18s ease, border-color .18s ease; }
.game-card:hover, .game-card:focus-visible { transform: translateY(-4px); border-color: var(--line); }
.game-card-art { position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, color-mix(in srgb, var(--theme) 10%, #090a08), #090a08 58%); border-right: 1px solid color-mix(in srgb, var(--theme) 18%, transparent); }
.game-card-art::before { content: ""; position: absolute; inset: -20%; background: repeating-linear-gradient(135deg, transparent 0 18px, color-mix(in srgb, var(--theme) 18%, transparent) 18px 19px); transform: rotate(-8deg); }
.game-card-art img { position: relative; z-index: 1; width: 84%; height: 78%; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(0,0,0,.55)); transition: transform .18s ease; }
.game-card:hover .game-card-art img, .game-card:focus-visible .game-card-art img { transform: scale(1.035); }
.theme-sevendtd .game-card-art img { width: 95%; height: 88%; }
.theme-minecraft .game-card-art img { width: 86%; height: 86%; }
.theme-ark .game-card-art img { width: 94%; height: 72%; }
.theme-terraria .game-card-art img { width: 68%; height: 88%; }
.theme-scp .game-card-art img { width: 84%; height: 84%; }
.game-card-copy { padding: 28px; }
.card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-kicker small { color: #747c70; font-size: .7rem; }
.status { display: inline-flex; align-items: center; width: fit-content; padding: 6px 9px; border-radius: 999px; font-size: .66rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.status.is-live { color: #dfffa0; border: 1px solid rgba(182,255,0,.3); background: rgba(182,255,0,.09); }
.status.is-live::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--lime); }
.status.is-dev { color: #ffd884; border: 1px solid rgba(255,200,90,.28); background: rgba(255,200,90,.08); }
.game-card h3 { margin: 44px 0 10px; font-size: clamp(1.65rem, 2.6vw, 2.45rem); }
.game-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.card-action { position: absolute; right: 28px; bottom: 24px; color: var(--theme); font-size: .78rem; font-weight: 900; }
.theme-minecraft { --theme: var(--lime); }
.theme-sevendtd { --theme: #ff7f43; }
.theme-rust { --theme: #ef5b42; }
.theme-ark { --theme: var(--cyan); }
.theme-terraria { --theme: var(--blue); }
.theme-scp { --theme: #d9d9d9; }
.roadmap { padding-top: 76px; padding-bottom: 82px; border-top: 1px solid var(--line-soft); }
.roadmap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--line-soft); }
.roadmap-grid article { min-height: 170px; padding: 24px 26px; background: var(--panel-solid); }
.roadmap-grid span { color: var(--lime); font-size: .75rem; font-weight: 1000; }
.roadmap-grid h3 { margin: 24px 0 8px; font-size: 1.3rem; }
.roadmap-grid p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }

.game-hero { min-height: 610px; display: grid; grid-template-columns: 42% 58%; align-items: center; gap: 55px; padding-block: 70px; }
.game-hero-art { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; border: 1px solid color-mix(in srgb, var(--theme) 30%, transparent); border-radius: 28px; background: linear-gradient(145deg, color-mix(in srgb, var(--theme) 9%, #090a08), #090a08 62%); box-shadow: inset 0 0 70px rgba(0,0,0,.45), 0 22px 55px rgba(0,0,0,.3); }
.game-hero-art::before { content: ""; position: absolute; inset: -18%; background: repeating-linear-gradient(135deg, transparent 0 24px, color-mix(in srgb, var(--theme) 14%, transparent) 24px 25px); transform: rotate(-7deg); }
.game-hero-art img { position: relative; z-index: 1; width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 18px 32px rgba(0,0,0,.58)); }
.theme-sevendtd .game-hero-art img { width: 94%; height: 90%; }
.theme-minecraft .game-hero-art img { width: 84%; height: 84%; }
.theme-ark .game-hero-art img { width: 92%; height: 78%; }
.theme-terraria .game-hero-art img { width: 62%; height: 90%; }
.theme-scp .game-hero-art img { width: 84%; height: 84%; }
.game-hero-copy h1 { margin: 18px 0 22px; font-size: clamp(3.2rem, 6.3vw, 6.5rem); }
.game-hero-copy > p:last-of-type { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.game-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 90px; }
.detail-panel { padding: 32px; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--panel); }
.detail-panel dl { margin: 0; }
.detail-panel dl div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.detail-panel dt { color: var(--muted); font-size: .78rem; }
.detail-panel dd { margin: 0; text-align: right; font-weight: 850; overflow-wrap: anywhere; }
.detail-panel code { color: var(--theme, var(--lime)); }
.detail-note { margin: 22px 0 0; color: #7f877b; font-size: .78rem; }
.feature-stack { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.feature-stack li { padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 12px; color: var(--muted); background: rgba(255,255,255,.018); }
.feature-stack li::before { content: "✓"; margin-right: 10px; color: var(--theme, var(--lime)); font-weight: 1000; }
.next-step { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-bottom: 100px; padding: 44px; border: 1px solid var(--line); border-radius: 22px; background: rgba(182,255,0,.055); }
.next-step p:last-child { margin: 0; color: var(--muted); }

.site-footer { margin-left: var(--left-rail); margin-right: var(--right-dock); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 30px 34px; border-top: 1px solid var(--line-soft); color: #72796e; font-size: .72rem; }
.site-footer > div { display: flex; align-items: center; gap: 10px; color: var(--silver); }
.site-footer img { width: 42px; height: 42px; aspect-ratio: 1 / 1; object-fit: contain; }
.site-footer p { margin: 0; text-align: center; }
.site-footer p:last-child { text-align: right; }
.not-found { min-height: calc(100vh - var(--header)); display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding-block: 80px; }
.not-found img { width: 240px; margin-bottom: 30px; }
.not-found h1 { font-size: clamp(3rem, 7vw, 6rem); }
.not-found > p:not(.eyebrow) { max-width: 540px; margin: 0 0 28px; color: var(--muted); }

:focus-visible { outline: 3px solid rgba(182,255,0,.72); outline-offset: 4px; }

@media (max-width: 1450px) {
  :root { --right-dock: 330px; }
  .discord-dock { width: 330px; }
  .discord-live-card { width: 298px; }
  .hero { grid-template-columns: 1fr; }
  .hero-mark { min-height: 480px; }
}
@media (max-width: 1180px) {
  :root { --right-dock: 0px; }
  .site-header { right: 0; }
  body.discord-collapsed { --right-dock: 0px; }
  .discord-dock, body.discord-collapsed .discord-dock { position: relative; width: auto; height: auto; margin-left: var(--left-rail); transform: none; border-top: 1px solid var(--line); border-left: 0; }
  .dock-content { padding: 42px max(24px, calc((100vw - var(--left-rail) - 800px)/2)); }
  .dock-toggle { display: none; }
  .discord-live-card { width: 100%; height: 500px; }
  .site-footer { margin-right: 0; }
}
@media (max-width: 900px) {
  :root { --left-rail: 0px; }
  .game-rail { display: none; }
  .site-header { left: 0; padding-inline: 18px; }
  .top-nav { display: none; }
  .mobile-menu { width: 46px; height: 46px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 10px; background: rgba(182,255,0,.05); }
  .mobile-menu span { width: 22px; height: 2px; background: var(--lime); }
  .mobile-nav { position: fixed; z-index: 75; top: var(--header); left: 12px; right: 12px; max-height: calc(100vh - var(--header) - 24px); overflow: auto; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(9,10,8,.985); box-shadow: var(--shadow); }
  .mobile-nav.is-open { display: grid; }
  .mobile-nav a { padding: 13px; border-bottom: 1px solid var(--line-soft); color: var(--muted); text-decoration: none; font-weight: 800; }
  .site-main, .site-footer, .discord-dock { margin-left: 0; }
  .hero, .game-hero { grid-template-columns: 1fr; }
  .hero-mark { order: -1; min-height: 390px; }
  .hero-stat { display: none; }
  .game-hero-art { width: min(430px, 85vw); margin-inline: auto; }
  .game-grid, .game-details, .next-step { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr 1fr; }
  .section-title { align-items: start; flex-direction: column; }
  .game-card { grid-template-columns: 32% 68%; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; }
  .site-footer p:last-child { text-align: center; }
}
@media (max-width: 620px) {
  .section-shell, .content-section, .game-hero, .game-details, .next-step, .not-found { width: min(calc(100% - 30px), var(--content)); }
  .brand span { display: none; }
  .hero { padding-block: 45px 75px; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5.2rem); }
  .hero-mark { min-height: 330px; }
  .hero-mark img { width: min(390px, 82%); height: auto; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 360px; grid-template-columns: 1fr; }
  .game-card-art { min-height: 135px; }
  .game-card h3 { margin-top: 26px; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .next-step { padding: 28px; }
  .game-hero { padding-block: 48px; }
  .game-hero-copy h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .detail-panel { padding: 24px; }
  .dock-content { padding: 30px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* V7 live server status */
.live-count-card { margin-top: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(255,255,255,.025); color: var(--muted); font-size: .76rem; }
.live-count-card strong { color: var(--silver); font-size: .75rem; }
.live-count-card [data-player-count] { color: var(--theme, var(--lime)); font-weight: 950; white-space: nowrap; }
.live-count-dot { width: 8px; height: 8px; border-radius: 50%; background: #747c70; box-shadow: 0 0 0 4px rgba(116,124,112,.1); }
[data-game-status][data-state="online"] .live-count-dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(182,255,0,.1), 0 0 16px rgba(182,255,0,.45); }
[data-game-status][data-state="offline"] .live-count-dot { background: #ff675f; box-shadow: 0 0 0 4px rgba(255,103,95,.1); }
[data-game-status][data-state="stale"] .live-count-dot, [data-game-status][data-state="error"] .live-count-dot { background: #ffc85a; box-shadow: 0 0 0 4px rgba(255,200,90,.1); }
.live-player-panel { width: min(520px, 100%); margin: 16px 0 4px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--theme) 26%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--theme) 6%, #0b0d0a); }
.live-player-panel div { display: grid; gap: 3px; }
.live-player-panel strong { font-size: .78rem; }
.live-player-panel small { color: var(--muted); font-size: .68rem; }
.live-player-panel b { color: var(--theme); font-size: .9rem; white-space: nowrap; }

/* V7 footer and legal pages */
.site-footer { grid-template-columns: auto 1fr auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.footer-links a { color: #8c9487; text-decoration: none; font-weight: 800; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--lime); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--silver); }
.legal-hero { padding-top: 110px; padding-bottom: 34px; }
.legal-hero h1 { margin: 12px 0 16px; font-size: clamp(3rem, 7vw, 6rem); }
.legal-hero > p:last-child { max-width: 820px; margin: 0; color: var(--muted); }
.legal-content { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding-bottom: 100px; }
.legal-content article { padding: 26px; border: 1px solid var(--line-soft); border-radius: 18px; background: var(--panel); }
.legal-content h2 { margin: 0 0 12px; font-size: 1.25rem; }
.legal-content p { margin: 0; color: var(--muted); line-height: 1.65; }
.legal-content a { color: var(--lime); }
@media (max-width: 900px) { .legal-content { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .live-count-card { grid-template-columns: auto 1fr; } .live-count-card [data-player-count] { grid-column: 2; } .live-player-panel { grid-template-columns: auto 1fr; } .live-player-panel b { grid-column: 2; } }
