:root {
  --void: #05080f;
  --navy: #0a1220;
  --panel: #101a28;
  --line: #1d2d40;
  --cyan: #3ee8ff;
  --cyan-ink: #062026;
  --orange: #f2a12d;
  --tabby: #e0893a;
  --cream: #f4ead6;
  --ink: #071018;
  --muted: #8ea0b5;
  --paper: #efe6d4;
  --font-comic: "Bangers", cursive;
  --font-hud: "Oxanium", sans-serif;
  --font-body: "Nunito", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-body);
  background: var(--void);
  overflow-x: hidden;
}

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

a { color: inherit; }

/* ---------- vanishing-point aisle (background only) ---------- */

.world {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 42% at 50% 108%, rgba(62, 232, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 46% 28% at 50% -8%, rgba(242, 161, 45, 0.1), transparent 52%),
    linear-gradient(#05080f, #0a1422 55%, #071018);
}

.world__aisle {
  position: absolute;
  inset: 0;
  perspective: 900px;
  perspective-origin: 50% 78%;
}

.world__floor {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -18%;
  height: 72%;
  transform: rotateX(64deg);
  transform-origin: center bottom;
  background-image:
    linear-gradient(rgba(62, 232, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 232, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.7), transparent 78%);
}

.world__racks,
.world__racks::before,
.world__racks::after {
  position: absolute;
  top: 0;
  bottom: 0;
}

.world__racks { inset: 0; }

.world__racks::before,
.world__racks::after {
  content: "";
  width: 20%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 26px,
    rgba(62, 232, 255, 0.07) 26px 28px
  );
}

.world__racks::before {
  left: 0;
  mask-image: linear-gradient(to right, #000 10%, transparent);
}

.world__racks::after {
  right: 0;
  mask-image: linear-gradient(to left, #000 10%, transparent);
}

.world__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 3px 3px;
}

.world__vig {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 42%, #02050a 100%);
}

.stage { position: relative; z-index: 1; }

/* ---------- HUD nav ---------- */

.hud {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
  padding: 0.6rem 1.1rem;
  background: rgba(5, 8, 15, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(62, 232, 255, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 3px var(--ink), 0 0 16px rgba(62, 232, 255, 0.35);
}

.brand b {
  display: block;
  font-family: var(--font-comic);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand i {
  display: block;
  font-family: var(--font-hud);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.hud-nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
  margin-left: 1.2rem;
  font-family: var(--font-hud);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hud-nav a {
  text-decoration: none;
  color: var(--muted);
}

.hud-nav a:hover { color: var(--cyan); }

.hud-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(62, 232, 255, 0.35);
  background: #0c1622;
  color: var(--cream);
  text-decoration: none;
  font-size: 1.05rem;
}

.ico:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 42px;
  padding: 0 0.95rem;
  background: var(--cyan);
  color: var(--cyan-ink);
  font-family: var(--font-hud);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-buy:hover { filter: brightness(1.08); }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  font-size: 1.4rem;
}

.drawer {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.2rem 1.2rem;
  background: rgba(5, 8, 15, 0.94);
  border-bottom: 1px solid rgba(62, 232, 255, 0.22);
  font-family: var(--font-hud);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.drawer.is-open { display: flex; }

.drawer a { text-decoration: none; color: var(--cream); }

@media (min-width: 960px) {
  .hud-nav { display: flex; }
  .nav-toggle { display: none; }
  .drawer { display: none !important; }
}

/* ---------- shared labels ---------- */

.unit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  font-family: var(--font-hud);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.unit span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(62, 232, 255, 0.5), transparent);
}

.led {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.led::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dff8a;
  box-shadow: 0 0 10px #3dff8a;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.comic-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-comic);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  letter-spacing: 0.03em;
  line-height: 0.92;
}

.kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-hud);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.body-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* ---------- HERO: identity seal, not a banner ---------- */

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  place-items: center;
  padding: 3.2rem 0 4.5rem;
}

.hero-inner {
  width: min(760px, calc(100% - 2rem));
  text-align: center;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 1.6rem;
  font-family: var(--font-hud);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.seal {
  width: min(320px, 72vw);
  margin: 0 auto 1.5rem;
  padding: 8px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--cyan), var(--orange), #7cf0ff, var(--cyan));
  box-shadow:
    0 0 0 10px var(--void),
    0 0 50px rgba(62, 232, 255, 0.28);
}

.seal img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 7px solid #071018;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-comic);
  font-size: clamp(3.4rem, 10vw, 7rem);
  letter-spacing: 0.02em;
  line-height: 0.88;
}

.ticker-badge {
  display: inline-block;
  margin: 0.85rem 0 1.15rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(242, 161, 45, 0.55);
  color: var(--orange);
  font-family: var(--font-hud);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.caption {
  margin: 0 auto 1.6rem;
  width: min(620px, 100%);
  padding: 0.95rem 1.1rem;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid #111;
  box-shadow: 6px 6px 0 #111;
  font-size: 1.08rem;
  line-height: 1.55;
  text-align: left;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 46px;
  padding: 0 1rem;
  border: 1px solid rgba(62, 232, 255, 0.45);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-hud);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn-ghost:hover { background: rgba(62, 232, 255, 0.08); }

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 46px;
  padding: 0 1.1rem;
  background: var(--orange);
  color: #1a1104;
  text-decoration: none;
  font-family: var(--font-hud);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ca-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: rgba(8, 14, 22, 0.7);
}

.ca-row code {
  flex: 1;
  padding: 0.75rem 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-hud);
  font-size: 0.78rem;
  color: var(--muted);
}

.ca-row button {
  border: 0;
  border-left: 1px solid var(--line);
  background: #121c2a;
  color: var(--cyan);
  padding: 0 0.9rem;
  cursor: pointer;
  font-family: var(--font-hud);
  letter-spacing: 0.08em;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  padding: 0.55rem 0.9rem;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid #111;
  font-family: var(--font-hud);
  letter-spacing: 0.08em;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- ABOUT: letterbox cinema, not a card grid ---------- */

.about {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35) 8%, rgba(0, 0, 0, 0.35) 92%, transparent);
}

.letterbox {
  background: #000;
  border-top: 16px solid #090909;
  border-bottom: 16px solid #090909;
  box-shadow: 0 0 0 1px #1a1a1a;
}

.letterbox img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.about-grid {
  display: grid;
  gap: 1.6rem;
  margin-top: 1.8rem;
}

@media (min-width: 880px) {
  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.cam {
  position: relative;
  background: #070b12;
  border: 2px solid #1a2533;
  padding: 10px 10px 28px;
}

.cam img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.cam b {
  position: absolute;
  left: 16px;
  bottom: 7px;
  font-family: var(--font-hud);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: #3dff8a;
}

/* ---------- HOW TO BUY: rack blades ---------- */

.buy-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

@media (min-width: 880px) {
  .buy-head {
    grid-template-columns: 160px 1fr;
    align-items: center;
  }
}

.operator {
  width: 148px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 3px var(--orange);
}

.operator img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.rack { display: grid; gap: 0.7rem; }

.blade {
  display: grid;
  grid-template-columns: 86px 1fr;
  min-height: 96px;
  background: linear-gradient(180deg, #141e2c, #0d1520);
  border: 1px solid #223246;
  border-left: 6px solid var(--cyan);
}

.blade:nth-child(even) { border-left-color: var(--orange); }

.blade-no {
  display: grid;
  place-items: center;
  border-right: 1px solid #223246;
  font-family: var(--font-comic);
  font-size: 2rem;
  color: var(--cyan);
  background: rgba(62, 232, 255, 0.04);
}

.blade:nth-child(even) .blade-no { color: var(--orange); }

.blade-copy {
  padding: 0.95rem 1.05rem;
}

.blade-copy h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-hud);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blade-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- COMMUNITY: split workstation ---------- */

.community { padding-bottom: 6rem; }

.workstation {
  display: grid;
  border: 2px solid #223246;
  background: #0b121c;
}

@media (min-width: 900px) {
  .workstation { grid-template-columns: 1.05fr 0.95fr; }
}

.monitor {
  position: relative;
  min-height: 320px;
}

.monitor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.monitor i {
  position: absolute;
  top: 12px;
  left: 12px;
  font-style: normal;
  font-family: var(--font-hud);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  padding: 0.2rem 0.45rem;
  background: rgba(7, 16, 24, 0.72);
  color: var(--cyan);
}

.console {
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.console-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.3rem;
}

.key {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0 0.95rem;
  background: #162233;
  border: 1px solid #2a3d52;
  text-decoration: none;
  font-family: var(--font-hud);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.key:hover { border-color: var(--cyan); color: var(--cyan); }

.key--x { background: #111; }
.key--buy { background: var(--cyan); color: var(--cyan-ink); border-color: var(--cyan); }
.key--dex { background: #14281c; }

/* ---------- foot ---------- */

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.1rem 1.2rem 1.4rem;
  border-top: 1px solid rgba(62, 232, 255, 0.18);
  color: var(--muted);
  font-family: var(--font-hud);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
}
