/* ==========================================================================
   NikoCraft — liquid glass UI
   Visual language inspired by a premium dark product site:
   deep warm near-black canvas, glass surfaces, thin hairlines, gold glow.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg: #0a0908;
  --bg-2: #0f0d0b;
  --text: #f5f2ec;
  --text-2: rgba(245, 242, 236, 0.72);
  --text-3: rgba(245, 242, 236, 0.5);
  --text-faint: rgba(245, 242, 236, 0.34);

  --brand: #f0c26a;
  --brand-2: #e29a3e;
  --brand-hi: #ffdf9e;
  --blue: #6d8bfb;

  --glass-1: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.035);
  --glass-hover: rgba(255, 255, 255, 0.12);
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.18);

  --blur: 14px;
  --r-card: 22px;
  --r-panel: 16px;
  --r-pill: 100px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/static/fonts/host-grotesk-latin.woff2") format("woff2");
}
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/dm-sans-400.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/static/fonts/dm-sans-500.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/static/fonts/dm-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Fragment Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/dm-sans-400.woff2") format("woff2"); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
h1, h2, h3, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline);
  padding: 0.1em 0.4em;
  border-radius: 6px;
}
.mono { font-family: var(--font-mono); font-size: 0.92em; }
::selection { background: var(--brand); color: #211603; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
/* Contained focus for pill/card elements to avoid clipped outlines */
::-moz-focus-inner { border: 0; }

.container { width: min(100% - 40px, 1120px); margin-inline: auto; }
@media (min-width: 1560px) { .container { width: min(100% - 64px, 1240px); } }

/* ---------- Background layers ---------- */
#shader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: 0;
  transition: opacity 1.4s ease;
}
#shader.loaded { opacity: 1; }

.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}
.bg-veil {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58% 44% at 50% -6%, rgba(240, 194, 106, 0.10), transparent 70%),
    radial-gradient(40% 34% at 88% 108%, rgba(109, 139, 251, 0.08), transparent 72%);
}

/* Fallback when WebGL is unavailable: a static, layered gradient */
body.no-webgl {
  background:
    radial-gradient(45% 42% at 50% 0%, rgba(240, 194, 106, 0.14), transparent 70%),
    radial-gradient(60% 55% at 85% 100%, rgba(109, 139, 251, 0.12), transparent 75%),
    radial-gradient(50% 40% at 8% 30%, rgba(226, 154, 62, 0.08), transparent 70%),
    var(--bg);
}

/* ---------- Cursor ring (desktop) ---------- */
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 0; height: 0;
  border-radius: 50%; pointer-events: none; z-index: 9999;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.3s var(--ease), height 0.3s var(--ease);
  mix-blend-mode: difference;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-ring.visible { opacity: 0.7; }
  .cursor-ring.grow { width: 44px; height: 44px; }
}
@media (hover: none), (pointer: coarse) { .cursor-ring { display: none; } }

/* ---------- Navbar ---------- */
.nav-wrap { position: fixed; top: 12px; left: 0; right: 0; z-index: 100; }
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: rgba(20, 18, 16, 0.55);
  -webkit-backdrop-filter: blur(var(--blur));
  backdrop-filter: blur(var(--blur));
  border: 1px solid var(--hairline);
  opacity: 0; visibility: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  transition: opacity 0.4s ease, visibility 0s 0.4s;
}
.nav.is-scrolled::before { opacity: 1; visibility: visible; transition: opacity 0.4s ease, visibility 0s; }

.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(240,194,106,0.25)); }
.nav-word {
  font-family: var(--font-display);
  font-weight: 700; letter-spacing: 0.01em; font-size: 18px;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover { color: var(--text); background: var(--glass-1); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600;
  line-height: 1.2; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  text-decoration: none; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 160%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  opacity: 0; transform: translate(-50%, -50%) scale(0); z-index: -1;
  transition: transform 0.4s var(--ease), opacity 0.12s ease;
}
.btn:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.btn-primary {
  background: linear-gradient(180deg, var(--brand-hi), var(--brand-2));
  color: #241703;
  box-shadow: 0 2px 10px rgba(240, 194, 106, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(240, 194, 106, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.btn-primary::after { background: rgba(98, 52, 0, 0.18); }

.btn-secondary {
  background: var(--glass-1);
  color: var(--text);
  border: 1px solid var(--hairline-strong);
  -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur));
}
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--hairline-strong); background: var(--glass-hover); }
.btn-secondary:hover svg { transform: translateX(3px); }
.btn-secondary svg { transition: transform 0.3s var(--ease); }

.btn-s { font-size: 14px; padding: 9px 16px; }
.btn-l { font-size: 16px; padding: 15px 26px; }
.btn-l svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 96px 20px 84px; gap: 22px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 11vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero-title {
  background: linear-gradient(180deg, #ffffff 20%, #ffe2a4 58%, #e9a94c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 12px 40px rgba(240, 194, 106, 0.25));
}
.hero-sub { max-width: 560px; color: var(--text-2); font-size: clamp(16px, 2.2vw, 19px); font-weight: 400; }
.hero-sub strong { color: var(--brand-hi); font-weight: 700; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* Status pill */
.hero-status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--hairline);
}
.glass-pill {
  background: rgba(24, 21, 18, 0.5);
  -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.status-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--text-3);
  position: relative; flex-shrink: 0;
}
.status-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: inherit; opacity: 0.4; z-index: -1;
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(0.8); opacity: 0.5; } 50% { transform: scale(1.5); opacity: 0; } }
.status-dot.online { background: #57d983; }
.status-dot.offline { background: #ff5f57; }
.status-dot.check { background: var(--brand); }
.status-count { color: var(--text-3); font-weight: 500; }

/* Copy IP */
.copy-ip {
  display: inline-flex; align-items: stretch; gap: 0;
  margin-top: 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(240, 194, 106, 0.22);
  background: rgba(24, 20, 14, 0.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.25s var(--ease), box-shadow 0.3s ease;
}
.copy-ip:hover { transform: translateY(-1px); border-color: rgba(240, 194, 106, 0.5); box-shadow: 0 8px 26px rgba(0,0,0,0.3), 0 0 0 1px rgba(240,194,106,0.06); }
.copy-ip-mono {
  font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.01em;
  padding: 14px 18px; color: var(--text);
}
.copy-ip-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 56px; cursor: pointer; position: relative;
  background: rgba(240, 194, 106, 0.12);
  border-left: 1px solid rgba(240, 194, 106, 0.16);
  color: var(--brand-hi);
  transition: background 0.25s ease;
}
.copy-ip-btn:hover { background: rgba(240, 194, 106, 0.22); }
.copy-ip-btn svg { width: 18px; height: 18px; }
.ic-check {
  position: absolute; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; color: #57d983;
  opacity: 0; transform: translateY(6px); transition: opacity 0.25s ease, transform 0.25s var(--ease);
}
.copy-ip.copied .ic-copy { opacity: 0; }
.copy-ip.copied .ic-check { opacity: 1; transform: translateY(0); }
.copy-ip.copied .copy-ip-btn { color: #57d983; }

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-3); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-scroll svg { width: 18px; height: 18px; animation: bob 2.4s ease infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Entrance animation */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(var(--ey, 22px)); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-enter { animation: hero-enter 0.9s var(--ease) both; opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 18px;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.08;
}
.h2 em { font-style: normal; color: var(--brand-hi); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; }
.split-body { color: var(--text-2); font-size: 17px; }
.split-body p + p { margin-top: 16px; }
.split-body strong { color: var(--text); font-weight: 600; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 18px; margin-top: 52px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.4s var(--ease), border-color 0.35s ease, background 0.35s ease, box-shadow 0.4s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 194, 106, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 44px rgba(0, 0, 0, 0.4);
}
.card-ic {
  width: 34px; height: 34px; color: var(--brand-hi);
  margin-bottom: 18px;
  filter: drop-shadow(0 4px 10px rgba(240, 194, 106, 0.3));
}
.card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--text-2); font-size: 15px; line-height: 1.62; }

.link-card { display: flex; flex-direction: column; }
.link-card .link-more { margin-top: auto; padding-top: 18px; color: var(--text-3); font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; transition: color 0.25s ease; }
.link-card:hover .link-more { color: var(--brand-hi); }
.link-card .link-more span { transition: transform 0.3s var(--ease); }
.link-card:hover .link-more span { transform: translateX(4px); }

/* ---------- Status panel ---------- */
.status-sec .grid { margin-top: 0; }
.status-panel { padding: 34px 36px; border-radius: var(--r-card); }
.status-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 20px; align-items: center; }
.status-big { display: flex; align-items: center; gap: 14px; }
.status-big .status-dot { width: 12px; height: 12px; }
.state {
  font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.01em;
}
.metric-val { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; display: block; }
.metric-sep { color: var(--text-3); font-weight: 500; }
.metric-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-top: 4px; display: block; }

.players-block { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.players-toggle {
  display: flex; align-items: center; gap: 10px; width: 100%;
  font-size: 15px; font-weight: 600; color: var(--text-2);
  padding: 10px 4px; border-radius: 8px;
}
.players-toggle:hover { color: var(--text); }
.players-count {
  font-family: var(--font-mono); font-size: 13px;
  padding: 2px 10px; border-radius: var(--r-pill);
  background: var(--glass-1); border: 1px solid var(--hairline); color: var(--brand-hi);
}
.players-toggle svg { width: 18px; height: 18px; margin-left: auto; transition: transform 0.3s var(--ease); color: var(--text-3); }
.players-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.player-list { display: none; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.player-list.open { display: flex; }
.player {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--glass-1); border: 1px solid var(--hairline);
  font-size: 14px; font-weight: 500;
  animation: pop 0.35s var(--ease) backwards;
}
.player::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #57d983; box-shadow: 0 0 8px rgba(87, 217, 131, 0.7); }
@keyframes pop { from { opacity: 0; transform: scale(0.85) translateY(6px); } to { opacity: 1; transform: none; } }
.player-empty { color: var(--text-3); font-size: 14px; padding: 8px 2px; }
.state.offline, .state.online { transition: color 0.4s ease, text-shadow 0.4s ease; }
.state.online { color: #57d983; text-shadow: 0 0 26px rgba(87, 217, 131, 0.4); }
.state.offline { color: #ff5f57; text-shadow: 0 0 26px rgba(255, 95, 87, 0.35); }

/* ---------- CTA block (rotating hairline) ---------- */
@property --border-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.cta-block {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: 54px 56px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(240, 194, 106, 0.06), rgba(240, 194, 106, 0.018));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow: hidden;
}
.cta-block::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--border-angle), rgba(240, 194, 106, 0), rgba(240, 194, 106, 0.5) 20%, rgba(240, 194, 106, 0) 40%, rgba(240, 194, 106, 0.35) 62%, rgba(240, 194, 106, 0) 82%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-border 7s linear infinite;
  pointer-events: none;
}
@keyframes spin-border { to { --border-angle: 360deg; } }
.cta-txt { max-width: 520px; }
.cta-txt p:not(.eyebrow) { color: var(--text-2); margin-top: 16px; font-size: 16px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-note { color: var(--text-3); font-size: 13px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hairline); padding: 54px 0 30px; margin-top: 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-word { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.footer-tag { color: var(--text-3); font-size: 13px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color 0.25s ease; }
.footer-links a:hover { color: var(--text); }
.footer-addr { color: var(--text-2); padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--hairline); background: var(--glass-2); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--hairline);
  color: var(--text-faint); font-size: 13px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.in .card, .reveal.in.self { }

/* Staggered card reveals */
.grid.reveal.in .card { }

/* ---------- Reduced motion ---------- */
@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; }
  .reveal { opacity: 1; transform: none; }
  .hero-enter { animation: none; opacity: 1; }
  .cta-block::before { animation: none; }
  .status-dot::after { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .status-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-block { padding: 40px 30px; }
}
@media (max-width: 700px) {
  .nav-links {
    position: fixed; inset: 74px 14px auto; z-index: 90;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 16px; border-radius: 18px;
    background: rgba(18, 16, 14, 0.96);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border: 1px solid var(--hairline);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px; font-size: 16px; border-radius: 12px; }
  .nav-burger { display: flex; }
  .nav .btn-s { display: none; } /* hide Play now on tiny screens */
  .nav-actions { margin-left: auto; }
  .status-row { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr !important; }
  .hero { padding-top: 120px; padding-bottom: 100px; }
  .footer-links { gap: 16px; flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .hero-actions, .copy-ip { width: 100%; }
  .hero-actions .btn { flex: 1; }
  .copy-ip-mono { flex: 1; text-align: center; }
  .status-panel { padding: 26px 22px; }
}
