@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap");

:root {
  --bg: #070b11;
  --bg-2: #0a1018;
  --bg-3: #0d1420;
  --panel: rgba(14, 21, 33, 0.82);
  --panel-2: rgba(18, 27, 41, 0.95);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f2f5fb;
  --muted: #98a3b6;
  --muted-2: #6f7a90;
  --ember: #ff9a4b;
  --ember-2: #ffb76d;
  --ember-soft: rgba(255, 154, 75, 0.12);
  --cyan: #5ec8ff;
  --cyan-soft: rgba(94, 200, 255, 0.14);
  --good: #64d9a2;
  --warn: #f5d26b;
  --shadow: 0 26px 80px -28px rgba(0, 0, 0, 0.9);
  --r: 8px;
  --maxw: 1180px;
  --display: "Oswald", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 720px at 74% -10%, rgba(69, 116, 173, 0.2), transparent 58%),
    radial-gradient(1000px 640px at 12% 8%, rgba(255, 154, 75, 0.1), transparent 60%),
    linear-gradient(180deg, #090d15 0%, #070b11 42%, #06090f 100%);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%;
  opacity: 0.12;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), black 10%, black 90%, rgba(0, 0, 0, 0.1));
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

#bg,
#embers {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#bg {
  z-index: 0;
  background:
    radial-gradient(900px 500px at 14% 10%, rgba(255, 154, 75, 0.1), transparent 55%),
    radial-gradient(700px 420px at 84% 16%, rgba(94, 200, 255, 0.11), transparent 52%);
}

#embers {
  z-index: 1;
}

.shell {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.topbar.scrolled {
  background: rgba(7, 11, 17, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.brand span {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
}

.brand strong {
  font-size: 23px;
  color: var(--text);
}

.brand em {
  font-style: normal;
  font-size: 23px;
  color: var(--ember);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: 7px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.auto-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(100, 217, 162, 0.22);
  background: rgba(100, 217, 162, 0.08);
  color: #d7f0e4;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.auto-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--good);
  box-shadow: 0 0 0 6px rgba(100, 217, 162, 0.12);
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.lang-btn {
  border: 0;
  min-width: 58px;
  height: 32px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.lang-btn.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.auth-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-user,
.auth-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.auth-user {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.auth-link-strong {
  color: #27150c;
  border-color: rgba(255, 154, 75, 0.26);
  background: linear-gradient(180deg, #ffd37d 0%, #ff9d4a 60%, #ef7f31 100%);
}

.auth-link:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}

.site-panel {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 24px));
  margin: 42px auto 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 22, 34, 0.92), rgba(8, 12, 18, 0.98));
  box-shadow: var(--shadow);
}

.site-panel.narrow {
  width: min(560px, calc(100% - 24px));
}

.site-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.site-head h1,
.site-head h2 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-lang-links {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.site-lang-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.site-lang-links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  padding: 68px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 154, 75, 0.24);
  background: rgba(255, 154, 75, 0.08);
  color: var(--warn);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 18px 0 0;
  max-width: 11.2ch;
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  color: var(--ember);
}

.hero-lead {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #27150c;
  background: linear-gradient(180deg, #ffd37d 0%, #ff9d4a 60%, #ef7f31 100%);
  box-shadow: 0 12px 34px -14px rgba(255, 154, 75, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.stat {
  position: relative;
  overflow: visible;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.electric-border {
  --electric-border-color: #ff9a4b;
  position: relative;
  border-radius: inherit;
  overflow: visible;
  isolation: isolate;
}

.electric-border::before,
.electric-border::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.electric-border::before {
  z-index: -1;
  opacity: 0.32;
  filter: blur(18px);
  transform: scale(1.06);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 208, 128, 0.9), transparent 36%),
    radial-gradient(circle at 86% 100%, rgba(255, 154, 75, 0.75), transparent 42%);
}

.electric-border::after {
  z-index: 1;
  padding: 1px;
  border: 0;
  background: conic-gradient(from var(--electric-angle, 0deg), transparent 0deg, rgba(255, 154, 75, 0.2) 42deg, #ffd080 72deg, rgba(255, 154, 75, 0.18) 106deg, transparent 142deg, transparent 228deg, rgba(255, 154, 75, 0.34) 256deg, #fff0c9 282deg, transparent 314deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  box-shadow:
    inset 0 0 18px rgba(255, 154, 75, 0.12),
    0 0 18px rgba(255, 154, 75, 0.2);
  animation: electricSweep 2.2s linear infinite;
}

.electric-border-layers,
.electric-border-canvas {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.electric-border-layers {
  z-index: 2;
  overflow: visible;
}

.electric-border-canvas {
  display: block;
}

@keyframes electricSweep {
  to {
    --electric-angle: 360deg;
  }
}

.stat strong {
  position: relative;
  z-index: 3;
  display: block;
  color: var(--text);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.stat span {
  position: relative;
  z-index: 3;
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(255, 154, 75, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(16, 23, 36, 0.96), rgba(9, 13, 20, 0.98));
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 26px, 26px 100%;
  opacity: 0.1;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1), black 16%, black 84%, rgba(0, 0, 0, 0.12));
}

.hero-panel-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
  padding: 24px;
}

.panel-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-kicker h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(94, 200, 255, 0.22);
  background: rgba(94, 200, 255, 0.08);
  color: #dff5ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.panel-visual {
  position: relative;
  margin: 18px 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(300px 200px at 50% 38%, rgba(255, 154, 75, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(13, 19, 30, 0.4), rgba(4, 7, 13, 0.75));
  min-height: 280px;
  overflow: hidden;
}

.hero-panel-bg {
  position: absolute;
  inset: -14px;
  z-index: 0;
  background: url("./assets/hero-panel-bg.png") center center / cover no-repeat;
  filter: blur(2px) saturate(1.05) brightness(0.72);
  transform: scale(1.025);
}

.hero-panel-logo {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 51%;
  width: min(42%, 174px);
  aspect-ratio: 307 / 326;
  background: url("./assets/hero-panel-logo.png") center center / contain no-repeat;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 26px rgba(255, 154, 75, 0.22));
  opacity: 0.9;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.panel-visual::before {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
  pointer-events: none;
}

.panel-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(320px 220px at 50% 42%, rgba(255, 154, 75, 0.18), transparent 68%),
    linear-gradient(180deg, rgba(7, 11, 17, 0.18), rgba(7, 11, 17, 0.78));
  pointer-events: none;
}

.arena-ring {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 52%;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 2px solid rgba(255, 154, 75, 0.6);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 22px rgba(255, 154, 75, 0.05), 0 0 80px rgba(255, 154, 75, 0.12);
}

.arena-ring::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px solid rgba(94, 200, 255, 0.28);
}

.panel-card {
  position: absolute;
  overflow: visible;
  z-index: 4;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 11, 17, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 34px -24px rgba(0, 0, 0, 0.75);
}

.panel-card.one {
  left: 18px;
  top: 22px;
  width: 156px;
  padding: 14px;
}

.panel-card.two {
  right: 18px;
  top: 60px;
  width: 168px;
  padding: 14px;
}

.panel-card.three {
  left: 18px;
  bottom: 18px;
  width: 156px;
  padding: 14px;
}

.panel-card .label {
  position: relative;
  z-index: 3;
  color: var(--muted-2);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.panel-card strong {
  position: relative;
  z-index: 3;
  display: block;
  margin-top: 5px;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
}

.panel-card p {
  position: relative;
  z-index: 3;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.panel-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
}

.panel-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--ember);
  box-shadow: 0 0 0 5px rgba(255, 154, 75, 0.12);
}

.panel-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section {
  padding: 46px 0 0;
}

.section-band {
  padding: 68px 0;
}

.video-section {
  padding-top: 34px;
}

.home-video-frame {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(94, 200, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(720px 280px at 50% 0%, rgba(255, 154, 75, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(16, 23, 36, 0.96), rgba(7, 11, 17, 0.98));
  box-shadow: var(--shadow);
}

.home-feature-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #05080d;
}

.pixel-showcase {
  padding-top: 42px;
}

.pixel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pixel-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(12, 18, 28, 0.78);
  box-shadow: var(--shadow);
}

.pixel-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #05080d;
  transform: scale(1.002);
}

.pixel-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(3, 6, 10, 0.86));
  pointer-events: none;
}

.pixel-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.pixel-card figcaption strong {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  color: #fff8ec;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.pixel-card figcaption span {
  max-width: 440px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 40px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
}

.section-grid {
  display: grid;
  gap: 14px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.system-card,
.guide-card,
.story-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
}

a.feature-card {
  display: block;
}

.recruit-card,
.recruit-choice {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.recruit-card:hover,
.recruit-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 154, 75, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.recruit-band {
  background:
    radial-gradient(800px 320px at 20% 0%, rgba(94, 200, 255, 0.08), transparent 55%),
    radial-gradient(800px 340px at 80% 0%, rgba(255, 154, 75, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.recruit-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(15, 22, 34, 0.92), rgba(8, 12, 18, 0.98));
  box-shadow: var(--shadow);
}

.recruit-message {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.recruit-message-success {
  border-color: rgba(100, 217, 162, 0.22);
  background: rgba(100, 217, 162, 0.1);
}

.recruit-message-error {
  border-color: rgba(245, 91, 91, 0.24);
  background: rgba(245, 91, 91, 0.1);
}

.recruit-message-notice {
  border-color: rgba(94, 200, 255, 0.22);
  background: rgba(94, 200, 255, 0.1);
}

 .invite-register-banner {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 180, 72, 0.32);
  background: rgba(255, 180, 72, 0.08);
  border-radius: 8px;
}

 .invite-register-banner strong {
  color: #fff1d0;
  font-size: 18px;
}

 .invite-register-banner input {
  width: 100%;
  color: #fff1d0;
  background: rgba(4, 8, 14, 0.72);
  border-color: rgba(255, 180, 72, 0.28);
  cursor: not-allowed;
}

 .invite-register-banner small {
  color: #aeb8c9;
}

.recruit-form {
  display: grid;
  gap: 14px;
}

.recruit-inline {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.recruit-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.recruit-form input[type="text"],
.recruit-form input[type="password"],
.recruit-form input[type="email"],
.recruit-form input[type="number"],
.recruit-form select,
.recruit-form input[type="file"],
.recruit-form input:not([type]) {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  padding: 0 14px;
}

.recruit-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.recruit-form input[type="file"] {
  padding: 11px 12px;
}

.recruit-form input:focus,
.recruit-form select:focus {
  outline: none;
  border-color: rgba(255, 154, 75, 0.34);
  box-shadow: 0 0 0 3px rgba(255, 154, 75, 0.08);
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 226px;
  gap: 12px;
  align-items: end;
}

.captcha-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
  align-items: stretch;
}

.captcha-image,
.captcha-refresh {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

.captcha-image {
  display: block;
  width: 100%;
  height: 48px;
  overflow: hidden;
  object-fit: cover;
  cursor: pointer;
}

.captcha-refresh {
  display: inline-grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 20px;
  line-height: 1;
}

.captcha-note {
  margin: -4px 0 0;
  color: var(--muted-2);
  font-size: 12px;
}

.recruit-help {
  color: var(--muted);
  font-size: 13px;
}

.streamer-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.streamer-contact-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.streamer-dashboard-panel {
  width: min(980px, calc(100% - 24px));
}

.streamer-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 14px;
  margin-top: 18px;
}

.streamer-dashboard-block {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.streamer-dashboard-block h3 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.1;
}

.streamer-table {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.streamer-table-row {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 0.8fr 1.1fr;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.streamer-table-row:first-child {
  border-top: 0;
}

.streamer-table-row strong {
  min-width: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.streamer-table-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.streamer-table-head {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 12px;
  text-transform: uppercase;
}

.streamer-empty {
  padding: 18px 12px;
  color: var(--muted-2);
  font-size: 13px;
}

.streamer-balance {
  margin: 18px 0;
  color: var(--ember-2);
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
}

.streamer-balance small {
  color: var(--muted);
  font-family: var(--body);
  font-size: 13px;
}

.upload-label {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.upload-slot {
  position: relative;
  min-height: 190px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
}

.upload-slot input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-slot-index {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  min-width: 46px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(7, 11, 17, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 12px;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.upload-slot-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.upload-slot-placeholder {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.upload-slot-placeholder strong {
  color: var(--text);
  font-size: 14px;
}

.upload-slot.has-file .upload-slot-placeholder {
  opacity: 0;
}

.upload-slot.has-file::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 17, 0.08), rgba(7, 11, 17, 0.35));
  z-index: 1;
}

.upload-slot.is-dragover {
  border-color: rgba(255, 154, 75, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 154, 75, 0.1);
  background: rgba(255, 154, 75, 0.08);
}

.recruit-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.recruit-board div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.recruit-board strong {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
}

.recruit-board span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.streamer-dashboard {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.copy-row input {
  width: 100%;
}

.recruit-table {
  margin-top: 0;
}

.recruit-table .table-row:first-child {
  background: rgba(255, 255, 255, 0.03);
}

.feature-card,
.guide-card {
  padding: 20px;
}

.feature-top,
.system-top,
.story-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.24);
  color: var(--ember);
}

.icon-badge svg {
  width: 20px;
  height: 20px;
}

.feature-card h3,
.system-card h3,
.guide-card h3,
.story-card h3 {
  margin: 16px 0 8px;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0;
}

.feature-card p,
.guide-card p,
.story-card p,
.system-card p {
  margin: 0;
  color: var(--muted);
}

.feature-list,
.guide-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.guide-list li {
  display: flex;
  gap: 9px;
  color: var(--text);
  font-size: 14px;
}

.feature-list li::before,
.guide-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(94, 200, 255, 0.12);
}

.systems-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 14px;
}

.system-card {
  padding: 22px;
}

.system-card .caption {
  color: var(--muted-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.system-card .big {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.metric-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.metric-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.metric-row strong {
  width: 124px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--ember);
  white-space: nowrap;
}

.metric-row span {
  color: var(--text);
}

.metric-row em {
  font-style: normal;
  color: var(--muted-2);
  font-size: 12px;
}

.bar {
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.bar i {
  display: block;
  height: 100%;
  width: var(--value);
  background: linear-gradient(90deg, var(--ember), var(--ember-2));
}

.table {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr;
  gap: 12px;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.table-row:first-child {
  border-top: 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-2);
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 12px;
}

.table-row span:last-child {
  text-align: right;
}

.tone-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.visit-map-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
  gap: 14px;
  margin-top: 14px;
}

.visit-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.visit-tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 10px;
  text-align: center;
  color: var(--muted);
  text-decoration: none;
  border-right: 1px solid var(--line);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.visit-tab:last-child {
  border-right: 0;
}

.visit-tab.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, #2f89ff, #1974ff);
  font-weight: 700;
}

.visit-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.visit-map {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.visit-region-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  max-height: 360px;
  overflow: auto;
}

.visit-region-title {
  margin-bottom: 4px;
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.visit-region-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.visit-region-item span {
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visit-region-item strong {
  color: var(--ember-2);
  flex: 0 0 auto;
}

.visit-table {
  margin-top: 16px;
}

.visit-table .table-row {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 0.95fr);
}

.review-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.review-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.review-meta {
  display: grid;
  gap: 4px;
}

.review-meta strong {
  color: var(--text);
  font-size: 15px;
}

.review-meta span {
  color: var(--muted);
  font-size: 12px;
}

.review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-images a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-actions form {
  margin: 0;
}

.review-actions .btn {
  min-height: 38px;
  padding: 0 14px;
}

.proof-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.proof-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.proof-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.proof-card-head strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.proof-card-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.proof-thumb-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.proof-thumb {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  aspect-ratio: 16 / 10;
}

.proof-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card {
  padding: 22px;
}

.story-band {
  background:
    radial-gradient(900px 360px at 50% 0%, rgba(255, 154, 75, 0.15), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.story-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.story-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.story-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 60ch;
}

.guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 154, 75, 0.12);
  border: 1px solid rgba(255, 154, 75, 0.2);
  color: var(--warn);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
}

.guide-card .guide-list li::before {
  background: var(--ember);
}

.footer {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 34px;
  padding: 34px 0 26px;
}

.footer h4 {
  margin: 0 0 12px;
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer p {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 40ch;
}

.footer a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  transition: color 0.18s ease;
}

.footer a:hover {
  color: var(--ember);
}

.footer-brand {
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero-grid,
  .systems-grid,
  .story-copy,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .guide-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recruit-inline,
  .copy-row {
    grid-template-columns: 1fr;
  }

  .streamer-contact-grid {
    grid-template-columns: 1fr;
  }

  .streamer-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .captcha-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 50px;
    max-width: 12ch;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-map-wrap {
    grid-template-columns: 1fr;
  }

  .visit-map,
  .visit-region-list {
    min-height: 300px;
    max-height: none;
  }

  .upload-grid {
    gap: 10px;
  }

  .pixel-grid {
    grid-template-columns: 1fr;
  }

  .recruit-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(var(--maxw), calc(100% - 24px));
  }

  .topbar-inner {
    gap: 12px;
    min-height: 70px;
  }

  .auto-pill {
    display: none;
  }

  .hero h1 {
    font-size: 39px;
    max-width: 11ch;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-panel-inner {
    padding: 16px;
  }

  .panel-visual {
    min-height: 238px;
  }

  .hero-panel-logo {
    width: min(46%, 136px);
  }

  .panel-card.one {
    width: 136px;
  }

  .panel-card.two {
    width: 142px;
    top: 48px;
  }

  .panel-card.three {
    left: 18px;
    bottom: 18px;
    width: 132px;
  }

  .pixel-showcase {
    padding-top: 30px;
  }

  .pixel-card figcaption {
    left: 14px;
    right: 14px;
    bottom: 12px;
  }

  .pixel-card figcaption strong {
    font-size: 20px;
  }

  .guide-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .visit-table .table-row,
  .table-row,
  .streamer-table-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .table-row span:last-child,
  .streamer-table-row span:last-child {
    text-align: left;
  }

  .visit-region-item {
    padding: 9px 10px;
  }

  .review-actions {
    flex-direction: column;
  }

  .review-actions .btn {
    width: 100%;
  }

  .upload-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .upload-slot {
    min-height: 138px;
    padding: 10px;
  }

  .upload-slot-placeholder strong {
    font-size: 13px;
  }

  .upload-slot-placeholder span {
    font-size: 12px;
  }

  .captcha-box {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .recruit-message {
    width: min(var(--maxw), calc(100% - 24px));
  }

  .footer-bottom {
    flex-direction: column;
  }
}
