:root {
  --bg: #05070c;
  --ink: #e8eef7;
  --muted: #8b97ab;
  --gold: #f0c14a;
  --cyan: #3ee0ff;
  --red: #ff4d6d;
  --panel: rgba(7, 10, 18, 0.72);
  --stroke: rgba(255, 255, 255, 0.12);
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.sz-body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Share Tech Mono", ui-monospace, monospace;
}

/* —— chrome nav —— */
.sz-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--nav-h);
  padding: 8px 20px;
  background: linear-gradient(180deg, rgba(5, 7, 12, 0.92), rgba(5, 7, 12, 0.7));
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
}
.sz-nav .logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  letter-spacing: 0.12em;
  color: #fff;
  text-decoration: none;
  margin-right: 12px;
  text-shadow: 0 0 18px rgba(240, 193, 74, 0.35);
}
.sz-nav .logo span { color: var(--gold); }
.sz-nav a {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 8px 10px;
  border-radius: 999px;
}
.sz-nav a:hover, .sz-nav a[aria-current="page"] {
  color: #05070c;
  background: var(--gold);
}
.sz-nav .spacer { flex: 1; }
.sz-nav .langs {
  display: flex;
  gap: 2px;
  margin-right: 8px;
}
.sz-nav .langs a {
  min-width: 28px;
  text-align: center;
  letter-spacing: 0.08em;
}
.sz-nav .langs a[aria-current="true"] {
  color: #05070c;
  background: var(--cyan);
}
.sz-nav .live {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  border: 1px solid rgba(62, 224, 255, 0.35);
  padding: 6px 10px;
  border-radius: 999px;
}
.sz-nav .live i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 6px;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 720px) {
  .sz-nav { flex-wrap: wrap; }
  .sz-nav .live { display: none; }
  .sz-nav a { font-size: 10px; padding: 6px 8px; }
}

/* —— home hero —— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-stage {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.35) 0%, rgba(5, 7, 12, 0.2) 40%, rgba(5, 7, 12, 0.88) 100%),
    url("/front/img/stage.jpg") center / cover no-repeat;
  transform: scale(1.04);
  z-index: -2;
}
.hero-scan {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0, 0, 0, 0.18) 4px),
    radial-gradient(80% 60% at 50% 40%, transparent, rgba(5, 7, 12, 0.55));
}
.hero-scan::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(62, 224, 255, 0.07), transparent);
  animation: sweep 7s linear infinite;
}
@keyframes sweep {
  from { top: -20%; }
  to { top: 110%; }
}
.hud-frame {
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 1px solid rgba(62, 224, 255, 0.18);
}
.hud-frame::before, .hud-frame::after {
  content: "";
  position: absolute;
  width: 28px; height: 28px;
  border: 2px solid var(--gold);
}
.hud-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hud-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hud-meta {
  position: absolute;
  top: 28px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}
.hero-copy {
  text-align: center;
  padding: 80px 20px 60px;
  max-width: 980px;
}
.hero-copy .kicker {
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
  margin: 0 0 10px;
}
.hero-copy h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(72px, 16vw, 188px);
  line-height: 0.8;
  margin: 0;
  letter-spacing: 0.06em;
  text-shadow: 0 0 40px rgba(240, 193, 74, 0.28);
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
}
.lede {
  margin: 18px auto 0;
  max-width: 28ch;
  font-size: clamp(16px, 2.2vw, 22px);
  color: #d5deea;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}
.pill {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--stroke);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.35);
}

.btn-arcade, .btn-ghost {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 26px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
}
.btn-arcade {
  background: linear-gradient(#ffe08a, var(--gold));
  color: #1a1404;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  box-shadow: 0 6px 0 #8a6a12, 0 12px 28px rgba(240, 193, 74, 0.25);
}
.btn-arcade:active { transform: translateY(3px); box-shadow: 0 3px 0 #8a6a12; }
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--stroke);
  background: rgba(5, 7, 12, 0.45);
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 28px 20px 64px; }

.portals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.portal {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.portal:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(240, 193, 74, 0.12);
}
.portal .shot {
  height: 140px;
  background: #0b0f18 center / cover no-repeat;
  position: relative;
}
.portal .shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 12, 0.85));
}
.portal .body { padding: 16px 18px 20px; }
.portal h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  margin: 0;
  letter-spacing: 0.04em;
}
.portal p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.portal .tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 40px;
  letter-spacing: 0.04em;
  margin: 48px 0 8px;
}
.muted { color: var(--muted); max-width: 62ch; line-height: 1.55; }

.domains {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 8px;
}
.domains a, .domains span {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  background: #10131b;
}
.domains a:hover { border-color: var(--gold); color: var(--gold); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.split article {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 20px;
  background: var(--panel);
}
.split h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.split ul { margin: 0; padding-left: 1.1em; color: var(--muted); line-height: 1.55; }

.sz-foot {
  border-top: 1px solid var(--stroke);
  padding: 28px 20px 40px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.sz-foot .inner { max-width: 1120px; margin: 0 auto; }
.sz-foot a { color: var(--cyan); }

.faq { margin-top: 48px; }
.faq article {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 16px 18px;
  margin-top: 10px;
  background: var(--panel);
}
.faq h3 { margin: 0 0 8px; font-size: 16px; color: #fff; }
.faq p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.prose { max-width: 74ch; }
.prose > .kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}
.prose h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(42px, 8vw, 72px);
  letter-spacing: 0.04em;
  margin: 8px 0 16px;
  line-height: 0.95;
}
.prose h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  margin: 32px 0 8px;
}
.prose p, .prose li { color: var(--muted); line-height: 1.65; }
.prose strong { color: var(--ink); }
.prose code { color: var(--gold); font-size: 13px; }

.sz-nav + #app .topbar {
  margin-top: 8px;
}

@media (max-width: 860px) {
  .portals, .split { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(64px, 22vw, 120px); }
  .hud-meta { font-size: 9px; }
}
