/* ============================================================
   rbxcopier.games — take 4: THE PRODUCT IS THE PAGE
   No headlines. No prose. No spec tables. Just the binary.
   ============================================================ */

:root {
  --bg: #050606;
  --bg-2: #0a0c0b;
  --surface: #0f1311;
  --border: #1d231f;
  --border-2: #2a322c;
  --text: #e6ede8;
  --text-2: #8d9892;
  --text-3: #4d5b54;
  --text-4: #2a332e;

  --accent: #c5ff35;
  --accent-2: #d9ff6e;
  --accent-soft: rgba(197, 255, 53, 0.14);
  --accent-faint: rgba(197, 255, 53, 0.05);
  --amber: #ffb020;

  --rain-opacity: 0.35;

  /* Share Tech Mono — tall narrow terminal display.
     Fira Code — readable workhorse mono. */
  --display: 'Share Tech Mono', 'Fira Code', 'Courier New', monospace;
  --mono: 'Fira Code', 'Courier New', monospace;
  --sans: 'Fira Code', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); height: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--bg); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============================================================
   ATMOSPHERE — code rain (full viewport, dimmed) + scanlines
   ============================================================ */
#matrix-rain {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: var(--rain-opacity);
  pointer-events: none;
}

body::after {
  /* faint scanlines */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0,
    rgba(0,0,0,0) 3px,
    rgba(0, 217, 127, 0.012) 3px,
    rgba(0, 217, 127, 0.012) 4px
  );
}

#root { position: relative; z-index: 1; min-height: 100vh; }

/* ============================================================
   BOOT SEQUENCE — initial overlay, dissolves to reveal the product
   ============================================================ */
.boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
  opacity: 1;
}
.boot-fade {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
}
.boot-inner {
  max-width: 560px;
  width: 100%;
  padding: 0 32px;
  font-family: var(--mono);
}
.boot-brand {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  gap: 6px;
}
.boot-brand .b1 { color: var(--accent); }
.boot-brand .b2 { color: var(--text); }
.boot-brand .b3 { color: var(--text-3); }
.boot-brand .b4 { color: var(--text-2); }

.boot-log {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--text-2);
}
.boot-line {
  white-space: pre;
  font-feature-settings: "calt" 0;
}
.boot-cursor {
  color: var(--accent);
  animation: blink 0.8s steps(2) infinite;
  font-weight: 700;
}
@keyframes blink { 50% { opacity: 0; } }

/* ============================================================
   CURSOR TRAIL — falling katakana glyphs at cursor
   ============================================================ */
.cursor-trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 95;
}
html.no-trail .cursor-trail { display: none; }
.cursor-trail-glyph {
  position: fixed;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent);
  opacity: 0.7;
  pointer-events: none;
  animation: trail-fall 0.9s linear forwards;
  user-select: none;
  will-change: transform, opacity;
}
@keyframes trail-fall {
  0%   { opacity: 0.8; transform: translateY(0); }
  100% { opacity: 0;   transform: translateY(28px); }
}

/* ============================================================
   STAGE — the product is the page
   ============================================================ */
.stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 100px;
  position: relative;
}
.stage-app-wrap {
  width: 100%;
  max-width: 1280px;
  position: relative;
}
.stage-app-wrap::before {
  /* glow halo behind the app */
  content: '';
  position: absolute;
  inset: -80px -10%;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, var(--accent-soft), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* TOP LABEL — tiny bracketed strip top-left of stage */
.top-label {
  position: absolute;
  top: 32px;
  left: 40px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  gap: 4px;
  letter-spacing: 0.04em;
  z-index: 10;
}
.top-label .b1 { color: var(--accent); }
.top-label .b2 { color: var(--text); font-weight: 500; }
.top-label .b3 { color: var(--text-3); }
.top-label .b4 { color: var(--text-2); }

/* FLOATING DOWNLOAD CHIP — pinned bottom-right */
.float-dl {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--accent);
  color: #0a1500;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 12px 32px -10px var(--accent-soft);
}
.float-dl:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0 18px 40px -10px var(--accent-soft);
  background: var(--accent-2);
}
.float-dl-icon { display: flex; }
.float-dl-icon svg { width: 14px; height: 14px; }
.float-dl-text { display: flex; flex-direction: column; line-height: 1.1; }
.float-dl-label { font-weight: 600; }
.float-dl-meta { font-size: 10.5px; color: rgba(10, 21, 0, 0.55); margin-top: 2px; }

@media (max-width: 700px) {
  .top-label { top: 16px; left: 16px; font-size: 10.5px; }
  .stage { padding: 60px 12px 90px; }
  .float-dl { bottom: 16px; right: 16px; padding: 10px 14px; }
}

/* ============================================================
   APP — black-stylish modern dev tool
   ============================================================ */
.app {
  --a-bg: #0b0c0b;
  --a-bg-2: #0e100e;
  --a-bg-3: #131513;
  --a-surface: #181a18;
  --a-surface-hi: #1f221f;
  --a-border: #21241f;
  --a-border-2: #2c302a;
  --a-text: #ebefe8;
  --a-text-2: #9aa39a;
  --a-text-3: #5d655c;
  --a-text-4: #3a4138;
  --a-accent: var(--accent);
  --a-accent-2: var(--accent-2);

  background: var(--a-bg);
  border: 1px solid var(--a-border-2);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 60px 120px -30px rgba(0,0,0,0.8),
    0 0 0 1px rgba(0,0,0,0.4);
  overflow: hidden;
  color: var(--a-text);
  font-family: var(--sans);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 640px;
}

/* TOP BAR — custom chrome, NO traffic lights */
.app-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 36px;
  padding: 0 14px;
  background: var(--a-bg-2);
  border-bottom: 1px solid var(--a-border);
}
.app-bar-brand {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--a-text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.app-bar-brand .b1 { color: var(--a-accent); }
.app-bar-brand .b2 { color: var(--a-text); }
.app-bar-brand .b3 { color: var(--a-text-3); }
.app-bar-brand .b4 { color: var(--a-text-2); }
.app-bar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--a-text-3);
  margin-left: auto;
  margin-right: auto;
  padding-right: 80px;
}
.app-bar-status-dot {
  width: 6px; height: 6px;
  background: var(--a-accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--a-accent);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.app-bar-actions {
  display: flex;
  gap: 2px;
  color: var(--a-text-3);
}
.app-bar-actions span {
  padding: 4px 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.app-bar-actions span:hover { color: var(--a-text); background: var(--a-surface); }
.app-bar-actions svg { width: 13px; height: 13px; }
.app-bar-close { font-size: 17px; line-height: 1; font-weight: 300; }

/* MAIN */
.app-main {
  background: var(--a-bg);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* PAGE HEAD */
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 16px;
}
.page-head-l { display: flex; align-items: center; gap: 12px; }
.page-head-title {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--a-text);
}
.page-head-r {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--a-text-3);
}
.page-head-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.page-head-badge.live { color: var(--a-accent); background: var(--accent-soft); }
.page-head-badge .dot {
  width: 5px; height: 5px;
  background: var(--a-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.page-rule {
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--a-border-2) 0 4px,
    transparent 4px 8px
  );
  margin: 0 28px;
}

/* ============================================================
   HOME — three module cards
   ============================================================ */
.hm { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.hm-body {
  padding: 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  min-height: 0;
}
.hm-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mc {
  position: relative;
  background: var(--a-bg-2);
  border: 1px solid var(--a-border-2);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  font-family: inherit;
  color: var(--a-text);
  min-height: 380px;
  transition: all 0.18s;
}
.mc.mc-live {
  cursor: pointer;
  background:
    radial-gradient(ellipse 100% 60% at 50% 100%, var(--accent-soft) 0%, transparent 60%),
    var(--a-bg-2);
}
.mc.mc-live:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -10px var(--accent-soft);
}
.mc.mc-locked { opacity: 0.55; cursor: not-allowed; }

.mc-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--a-text-4);
  letter-spacing: 0.15em;
  font-weight: 500;
}

/* icon stacked with ASCII frames */
.mc-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  font-family: var(--mono);
  color: var(--a-text-3);
  line-height: 1.1;
  font-size: 14px;
}
.mc.mc-live .mc-icon { color: var(--accent); }
.mc-icon-frame { letter-spacing: -0.05em; font-weight: 500; }
.mc-icon-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}
.mc-icon-glyph svg { width: 22px; height: 22px; }

.mc-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--a-text);
}
.mc-desc {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--a-text-2);
  line-height: 1.55;
}

.mc-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--a-border);
}
.mc-spec-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--a-text-3);
}
.mc-spec-row .k { color: var(--a-text-4); }
.mc-spec-row .v { color: var(--a-text-2); }
.mc-spec-row .v.live { color: var(--accent); }
.mc-spec-row .v.soon { color: var(--amber); }

.mc-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 16px;
  background: var(--accent);
  color: #0a1500;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  align-self: flex-start;
  transition: all 0.15s;
}
.mc.mc-live:hover .mc-cta { background: var(--accent-2); gap: 14px; }
.mc-cta-arrow { font-size: 10px; }
.mc-cta-key {
  margin-left: 4px;
  padding: 2px 6px;
  font-size: 10px;
  background: rgba(10, 21, 0, 0.18);
}
.mc-cta.locked {
  background: transparent;
  color: var(--a-text-3);
  border: 1px dashed var(--a-border-2);
  font-weight: 500;
  letter-spacing: 0.18em;
  padding: 10px 14px;
}
.mc-cta.locked svg { width: 12px; height: 12px; }

@media (max-width: 900px) {
  .hm-modules { grid-template-columns: 1fr; }
}

/* ============================================================
   GAME COPIER — input + run + console
   ============================================================ */
.gc { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.gc-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  min-height: 0;
}
.gc-back {
  background: none;
  border: 1px solid var(--a-border-2);
  color: var(--a-text-2);
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  margin-right: 4px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.12s;
}
.gc-back:hover { color: var(--a-text); border-color: var(--accent); }

.gc-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}

.input-wrap {
  display: flex;
  align-items: center;
  background: var(--a-bg-2);
  border: 1px solid var(--a-border-2);
  transition: all 0.15s;
}
.input-wrap:focus-within {
  border-color: var(--a-accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--a-bg-3);
}
.input-prefix {
  padding: 0 12px;
  color: var(--a-text-3);
  font-size: 13px;
  border-right: 1px solid var(--a-border-2);
  height: 48px;
  display: flex;
  align-items: center;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 14px;
  color: var(--a-text);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  height: 48px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.input::placeholder { color: var(--a-text-4); }

.run {
  padding: 0 24px;
  height: 48px;
  background: var(--a-accent);
  color: #0a1500;
  border: none;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 160px;
  transition: all 0.15s;
}
.run-glyph { font-size: 10px; }
.run:hover {
  background: var(--a-accent-2);
  box-shadow: 0 0 30px -4px var(--accent-soft);
}
.run.running {
  background: var(--a-surface);
  color: var(--a-text);
  border: 1px solid var(--a-accent);
  cursor: default;
}
.run.disabled, .run:disabled {
  background: var(--a-surface);
  color: var(--a-text-3);
  cursor: not-allowed;
}
.run.disabled:hover { background: var(--a-surface); box-shadow: none; }
.run .key {
  margin-left: auto;
  padding: 2px 7px;
  font-size: 10px;
  background: rgba(10, 21, 0, 0.18);
  font-weight: 700;
}
.run.running .key {
  background: var(--a-bg);
  border: 1px solid var(--a-border);
  color: var(--a-text-3);
}

.run-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--a-text-2);
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
}
.run-progress-bar {
  flex: 1;
  height: 3px;
  background: var(--a-bg-2);
  overflow: hidden;
  border: 1px solid var(--a-border);
}
.run-progress-fill {
  height: 100%;
  background: var(--a-accent);
  transition: width 0.1s linear;
}

/* CONSOLE */
.gc-console {
  border: 1px solid var(--a-border);
  background: var(--a-bg-2);
  flex: 1;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.console-header {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid var(--a-border);
  background: var(--a-bg-3);
  font-size: 12px;
}
.console-tabs { display: flex; gap: 14px; }
.console-tabs span {
  color: var(--a-text-3);
  cursor: pointer;
  padding: 3px 0;
  border-bottom: 1.5px solid transparent;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.console-tabs span.active { color: var(--a-text); border-bottom-color: var(--a-text); }
.console-tabs span:hover { color: var(--a-text-2); }
.console-meta {
  margin-left: auto;
  color: var(--a-text-3);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
}
.console-meta .live {
  color: var(--a-accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.console-meta .live::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--a-accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.console-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
}
.console-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--a-text-3);
  text-align: center;
}
.line {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: baseline;
}
.line-time { color: var(--a-text-4); font-size: 11px; }
.line-text { color: var(--a-text-2); }
.line .tag { font-weight: 600; margin-right: 8px; }
.line.sys .line-text, .line.ok .line-text { color: var(--a-text); }
.line.sys .tag, .line.ok .tag { color: var(--a-accent); }
.line.dl .tag { color: #7eb6ff; }
.line.info .tag { color: #c4a6ff; }
.line.warn .line-text { color: #ffd591; }
.line.warn .tag { color: #ffaa50; }
.line-size { color: var(--a-text-4); margin-left: 8px; font-size: 11px; }
.cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--a-accent);
  vertical-align: middle;
  animation: blink 1s steps(2) infinite;
}

/* ============================================================
   APP STATUS BAR
   ============================================================ */
.app-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--a-bg-2);
  border-top: 1px solid var(--a-border);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--a-text-3);
}
.app-status-item { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.app-status-item.ok::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--a-accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--a-accent);
}
.app-status-sep { color: var(--a-text-4); }
.app-status-spacer { flex: 1; }

@media (max-width: 700px) {
  .gc-input-row { grid-template-columns: 1fr; }
  .run { min-width: 0; }
  .gc-console { min-height: 240px; }
}


/* ============================================================
   HERO — big headline + download button + dropdown menu
   ============================================================ */

/* top-corner brand */
.top-brand {
  position: fixed;
  top: 24px;
  left: 32px;
  z-index: 80;
  font-family: var(--display);
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: 0.06em;
  display: flex;
  gap: 4px;
}
.top-brand .b1 { color: var(--accent); }
.top-brand .b2 { color: var(--text); }
.top-brand .b3 { color: var(--text-3); }

.hero {
  padding: 120px 32px 60px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-l {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-family: 'Share Tech Mono', 'Fira Code', monospace !important;
  font-size: clamp(72px, 12vw, 180px) !important;
  font-weight: 400 !important;
  line-height: 0.9 !important;
  letter-spacing: -0.025em !important;
  margin: 0 !important;
  color: var(--text);
  text-transform: lowercase;
}
.hero-title .accent {
  color: var(--accent);
  font-style: italic;
}
.hero-title .punct { color: var(--text-3); font-style: normal; }

.hero-sub {
  margin: 24px 0 0;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* download button + dropdown wrapper */
.hero-dl-wrap { position: relative; }
.hero-dl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--accent);
  color: #0a1500;
  border: none;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}
.hero-dl svg { width: 16px; height: 16px; }
.hero-dl:hover {
  background: var(--accent-2);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 rgba(197, 255, 53, 0.4);
}
.hero-dl-chev {
  font-size: 9px;
  margin-left: 4px;
  opacity: 0.6;
}

/* dropdown menu */
.dl-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 50;
  width: 340px;
  background: #0a0c0b;
  border: 1px solid var(--accent);
  box-shadow:
    0 24px 60px -10px rgba(0,0,0,0.85),
    0 0 60px -10px var(--accent-soft);
  animation: menuPop 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: var(--mono);
}
@keyframes menuPop {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.dl-menu-arrow {
  position: absolute;
  top: -7px;
  left: 28px;
  width: 12px;
  height: 12px;
  background: #0a0c0b;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
  transform: rotate(45deg);
}
.dl-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px dashed var(--border);
}
.dl-menu-title {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.dl-menu-close {
  color: var(--text-3);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
}
.dl-menu-close:hover { color: var(--text); }

.dl-menu-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed var(--border);
  transition: background 0.12s;
}
.dl-menu-row:hover { background: rgba(197, 255, 53, 0.05); }
.dl-menu-row.primary { background: rgba(197, 255, 53, 0.04); }
.dl-menu-glyph { color: var(--text-2); display: flex; align-items: center; justify-content: center; }
.dl-menu-glyph svg { width: 18px; height: 18px; }
.dl-menu-body { display: flex; flex-direction: column; gap: 2px; }
.dl-menu-os {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.dl-menu-os .dim { color: var(--text-3); font-weight: 400; font-size: 12px; }
.dl-menu-meta { font-size: 11px; color: var(--text-3); }
.dl-menu-arr { color: var(--accent); }
.dl-menu-arr svg { width: 14px; height: 14px; }

.dl-menu-foot {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 14px;
  font-size: 10.5px;
  color: var(--text-3);
}
.dl-menu-foot-k { letter-spacing: 0.15em; opacity: 0.6; }
.dl-menu-foot-v {
  font-family: var(--mono);
  word-break: break-all;
  color: var(--text-2);
}

/* see-it-run link */
.hero-see {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  border-bottom: 1px dashed var(--text-3);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.hero-see:hover { color: var(--accent); border-color: var(--accent); }
.hero-see-arr { font-size: 13px; }

.hero-foot {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
  flex-wrap: wrap;
}
.hero-foot-sep { color: var(--text-4); }

/* stage = just the app, no top label, no floating chip */
.stage {
  padding: 60px 32px 120px;
  display: flex;
  justify-content: center;
}
.stage-app-wrap {
  width: 100%;
  max-width: 1280px;
  position: relative;
}
.stage-app-wrap::before {
  content: '';
  position: absolute;
  inset: -80px -10%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--accent-soft), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.float-dl, .top-label { display: none !important; }

/* ============================================================
   HOME — INTERACTIVE asymmetric layout
   ============================================================ */
.hm { display: flex; flex-direction: column; flex: 1; min-height: 0; }


/* main column: featured + 2 locked */
.hm-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 0;
}

/* featured tile spans both rows on the left */
.hm-featured {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  position: relative;
  background:
    radial-gradient(ellipse 100% 60% at 50% 100%, var(--accent-soft) 0%, transparent 70%),
    var(--a-bg-2);
  border: 1px solid var(--a-border-2);
  padding: 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  font-family: inherit;
  color: var(--a-text);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hm-featured:hover, .hm-featured.focus {
  border-color: var(--accent);
  box-shadow: 0 0 40px -10px var(--accent-soft);
}
.hm-featured:hover { transform: translateY(-2px); }
.hm-featured-bg {
  position: absolute;
  inset: 0;
  color: var(--accent);
  opacity: 0.18;
  pointer-events: none;
  transition: opacity 0.3s;
}
.hm-featured:hover .hm-featured-bg, .hm-featured.focus .hm-featured-bg { opacity: 0.32; }
.hm-featured-bg svg { width: 100%; height: 100%; }
.hm-featured > * { position: relative; z-index: 1; }
.hm-featured-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hm-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  font-weight: 600;
  text-transform: uppercase;
}
.hm-featured-tag .dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hm-featured-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--a-text-4);
  letter-spacing: 0.15em;
}
.hm-featured-name {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: 0.005em;
  line-height: 0.95;
  color: var(--a-text);
  margin-top: auto;
  margin-bottom: 4px;
  text-transform: lowercase;
}
.hm-featured-desc {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--a-text-2);
  line-height: 1.55;
  max-width: 380px;
}
.hm-featured-desc .acc { color: var(--accent); font-weight: 600; }
.hm-featured-cta {
  margin-top: 14px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--accent);
  color: #0a1500;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: all 0.15s;
  text-transform: uppercase;
}
.hm-featured:hover .hm-featured-cta { background: var(--accent-2); gap: 16px; }
.hm-featured-cta-arrow { font-size: 10px; }
.hm-featured-cta-key {
  margin-left: 4px;
  padding: 2px 6px;
  font-size: 10px;
  background: rgba(10, 21, 0, 0.18);
}

/* locked tiles (right side, stacked) */
.hm-locked {
  background: var(--a-bg-2);
  border: 1px solid var(--a-border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0.6;
  cursor: not-allowed;
  transition: all 0.2s;
}
.hm-locked.focus, .hm-locked:hover {
  opacity: 0.85;
  border-color: var(--a-border-2);
}
.hm-locked-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hm-locked-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--a-text-4);
  letter-spacing: 0.15em;
}
.hm-locked-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--amber);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 7px;
  background: rgba(255, 176, 32, 0.08);
}
.hm-locked-name {
  font-family: 'Share Tech Mono', monospace;
  font-size: 22px;
  color: var(--a-text);
  letter-spacing: 0.005em;
  text-transform: lowercase;
}
.hm-locked-desc {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--a-text-3);
  line-height: 1.5;
  margin-top: auto;
}
.hm-locked-bar {
  margin-top: 10px;
  position: relative;
}
.hm-locked-bar-fill {
  height: 3px;
  background: var(--amber);
  opacity: 0.6;
}
.hm-locked-bar-label {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--a-text-4);
  letter-spacing: 0.1em;
}

/* SIDE PANEL */
.hm-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hm-side-block {
  background: var(--a-bg-2);
  border: 1px solid var(--a-border);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hm-side-label {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--a-text-4);
  letter-spacing: 0.04em;
}
.hm-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hm-stat-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 28px;
  color: var(--accent);
  letter-spacing: 0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hm-stat-lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--a-text-3);
  letter-spacing: 0.04em;
}
.hm-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--a-border);
}
.hm-stat-mini { display: flex; flex-direction: column; gap: 2px; }
.hm-stat-mini .v {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--a-text);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.hm-stat-mini .v .u { color: var(--a-text-3); font-weight: 400; font-size: 12px; }
.hm-stat-mini .l {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--a-text-4);
  letter-spacing: 0.04em;
}

.hm-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}
.hm-feed-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.4;
  padding: 4px 0;
  border-bottom: 1px dashed var(--a-border);
}
.hm-feed-row:last-child { border-bottom: none; }
.hm-feed-row .t { color: var(--a-text-4); font-variant-numeric: tabular-nums; }
.hm-feed-row .m { color: var(--a-text-2); }
.hm-feed-row .m b { color: var(--a-text); font-weight: 500; }

.hm-side-hint {
  margin-top: auto;
  flex-direction: row !important;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--a-text-4);
  letter-spacing: 0.06em;
  background: transparent !important;
  border: 1px dashed var(--a-border) !important;
  padding: 8px 12px !important;
}

@media (max-width: 1000px) {
  .hm-grid { grid-template-columns: 1fr; }
  .hm-main { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hm-featured { grid-column: 1; grid-row: auto; min-height: 280px; }
}


/* ============================================================
   INTERACTIVITY POLISH — aceternity/bridgemind playful additions
   ============================================================ */

/* cursor spotlight — soft radial glow following the mouse */
.cursor-spotlight {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 50%),
    var(--accent-soft),
    transparent 60%
  );
  mix-blend-mode: screen;
  opacity: 0.7;
  transition: opacity 0.3s;
}

/* CYCLING WORD — fades + scales between words */
.cycle-word {
  display: inline-block;
  color: var(--accent);
  font-style: italic;
  transform-origin: left center;
  transition: opacity 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
              filter 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.cycle-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.cycle-out {
  opacity: 0;
  transform: translateY(-0.2em) scale(0.96);
  filter: blur(4px);
}

/* MAGNETIC wrapper */
.magnetic {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* TILT CARD wrapper */
.tilt-card {
  display: block;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* shimmer on download button — angled sweep */
.hero-dl { position: relative; overflow: hidden; }
.hero-dl-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  pointer-events: none;
}
.hero-dl:hover .hero-dl-shimmer {
  animation: shimmerSweep 1.2s ease-out;
}
@keyframes shimmerSweep {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* download button — bigger, more confident */
.hero-dl {
  padding: 18px 28px !important;
  font-size: 14px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  border-radius: 2px;
}
.hero-dl span:nth-child(3) { font-weight: 700; }

/* hero spacing tweaks now that metadata is gone */
.hero {
  padding: 140px 32px 80px !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-grid { width: 100%; }
.hero-foot { display: none !important; }
.hero-sub {
  margin-top: 32px !important;
  font-size: 17px !important;
  max-width: 520px;
}
.hero-actions { margin-top: 44px !important; }

/* hero-title can be bigger now that there's no metadata */
.hero-title {
  font-size: clamp(80px, 14vw, 220px) !important;
  white-space: nowrap;
}

/* tilt-card scope — give app proper depth */
.tilt-card .app {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 60px 120px -20px rgba(0,0,0,0.85),
    0 0 0 1px rgba(0,0,0,0.4),
    0 0 100px -20px var(--accent-soft);
}

/* app-bar layout adjust now that status pill is removed */
.app-bar-actions { margin-left: auto; }

/* hide leftover labels in home featured */
.hm-featured-num,
.hm-locked-num,
.hm-side-label,
.hm-side-hint,
.hm-stat-row,
.hm-locked-bar-label {
  display: none !important;
}

/* tighten the home grid now that things are simpler */

.hm-locked-tag {
  text-transform: uppercase;
}

/* simpler app-status — only "connected" + speeds */
.app-status-spacer { flex: 1; }


/* ============================================================
   TAKE 5 — SPLIT HERO (text L + auto-running app R) + TRY IT
   Fits in 100vh on desktop. Bottom is interactive.
   ============================================================ */

/* override and lock hero to viewport */
.hero, .hero-split {
  min-height: 100vh !important;
  padding: 100px 40px 60px !important;
  display: flex !important;
  align-items: center !important;
  position: relative;
  overflow: hidden;
}
.hero-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
  max-width: 1480px;
  margin: 0 auto;
  width: 100%;
}

/* hero LEFT */
.hero-l {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.hero-title {
  font-family: 'Share Tech Mono', 'Fira Code', monospace !important;
  font-size: clamp(48px, 7.4vw, 116px) !important;
  font-weight: 400 !important;
  line-height: 0.92 !important;
  letter-spacing: -0.025em !important;
  margin: 0 !important;
  color: var(--text);
  text-transform: lowercase;
  white-space: normal !important;
}
.hero-title .accent { color: var(--accent); font-style: italic; }
.hero-title .punct { color: var(--text-3); font-style: normal; }
.hero-sub {
  margin-top: 24px !important;
  font-size: 15px !important;
  max-width: 480px;
  line-height: 1.55;
  color: var(--text-2);
}
.hero-actions { margin-top: 32px !important; }
.hero-dl {
  padding: 15px 24px !important;
  font-size: 13px !important;
}

/* hero RIGHT — auto-running app preview */
.hero-r {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.hero-r-stage {
  width: 100%;
  max-width: 620px;
  position: relative;
}
.hero-r-stage::before {
  content: '';
  position: absolute;
  inset: -40px -8% 40px -8%;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, var(--accent-soft), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* AutoCopier — clean compact mock */
.auto {
  transform: none !important;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 24px 48px -12px rgba(0,0,0,0.7),
    0 0 60px -24px rgba(197,255,53,0.18);
}
.auto:hover { transform: none !important; }





/* the main App in the bottom TryIt section — stronger ambient glow */
.tryit-app .app,
.stage-app-wrap .app {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 60px 120px -20px rgba(0,0,0,0.8),
    0 0 0 1px rgba(0,0,0,0.4),
    0 0 100px -16px var(--accent-soft);
}

/* Hero — animated grid background gives it more matrix feel */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(197,255,53,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,255,53,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent 80%);
  animation: gridDrift 60s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 60px 60px, 60px 60px; }
}

/* Title glow — subtle pulsing accent backlight */
.hero-title {
  text-shadow: 0 0 60px rgba(197, 255, 53, 0.15);
}
.hero-title .accent {
  text-shadow: 0 0 30px rgba(197, 255, 53, 0.45);
}

/* console body — subtle scan lines for crt feel */
.auto-console, .console-body {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(197, 255, 53, 0.02) 3px,
    rgba(197, 255, 53, 0.02) 4px
  );
}


/* ============================================================
   TAKE-N POLISH — fix shadow, softer scan, smaller spotlight,
   bigger ⏎ key chip
   ============================================================ */

/* AutoCopier — centered shadow under it, no diagonal offset */
.auto {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 60px -10px rgba(0,0,0,0.7),
    0 6px 20px -4px rgba(0,0,0,0.5),
    0 0 0 1px rgba(0,0,0,0.4),
    0 0 60px -20px var(--accent-soft) !important;
}

/* scan-line sweep — soften the leading edges (the harsh band is gone) */
.auto::after {
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 45%,
    rgba(197, 255, 53, 0.06) 49%,
    rgba(197, 255, 53, 0.12) 50%,
    rgba(197, 255, 53, 0.06) 51%,
    transparent 55%,
    transparent 100%
  ) !important;
  filter: blur(2px);
  opacity: 0.5;
}

/* cursor spotlight — smaller, softer */
.cursor-spotlight {
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 50%),
    rgba(197, 255, 53, 0.08),
    transparent 60%
  ) !important;
  opacity: 0.55;
}

/* OPEN / RUN buttons — bigger ⏎ key chip */
.mc-cta, .hm-featured-cta, .run, .mc-cta-key, .hm-featured-cta-key, .run .key {
  /* nothing to do here per-class; key chip below */
}
.hm-featured-cta-key, .mc-cta-key {
  margin-left: 6px !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
  background: rgba(10, 21, 0, 0.22) !important;
  border-radius: 3px !important;
  font-weight: 700 !important;
}
.run .key {
  margin-left: 10px !important;
  padding: 4px 9px !important;
  font-size: 12px !important;
}


/* Enter chip — wider, less squished */
.run .key,
.hm-featured-cta-key,
.mc-cta-key {
  min-width: 28px !important;
  padding: 4px 12px !important;
  font-size: 12px !important;
  text-align: center !important;
  background: rgba(10, 21, 0, 0.25) !important;
  border-radius: 3px !important;
  letter-spacing: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* ============================================================
   EMOJI ICONS — replace abstract SVGs everywhere
   ============================================================ */
.mc-icon-emoji {
  font-size: 26px !important;
  width: 48px !important;
  height: 48px !important;
  line-height: 1 !important;
  filter: drop-shadow(0 0 12px rgba(197,255,53,0.3));
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hm-locked-art-emoji {
  font-size: 110px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  inset: 0 !important;
  opacity: 0.15;
  filter: blur(0.5px);
  pointer-events: none;
}
.hm-locked:hover .hm-locked-art-emoji,
.hm-locked.focus .hm-locked-art-emoji {
  opacity: 0.28;
}

/* emoji prefix for module names */
.hm-featured-emoji, .hm-locked-emoji {
  font-size: 0.85em;
  margin-right: 14px;
  display: inline-block;
  vertical-align: -2px;
  filter: drop-shadow(0 0 8px rgba(197,255,53,0.4));
}

/* ============================================================
   BACK TO TOP — floating button bottom-right
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.85);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 8px 24px -6px rgba(0,0,0,0.6), 0 0 20px -6px var(--accent-soft);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  background: var(--accent);
  color: #0a1500;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 32px -6px rgba(0,0,0,0.7), 0 0 30px -4px var(--accent-soft);
}

/* ============================================================
   PAGE-LOAD DECRYPTION — fade in everything with subtle stagger
   ============================================================ */



/* ============================================================
   RESTORE — autocopier panels + marquee separators
   ============================================================ */

.auto-bar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: #0e100e;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
}
.auto-bar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.auto-bar-brand .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s infinite;
}
.auto-bar-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-4);
}
.auto-bar-close {
  font-size: 16px;
  line-height: 1;
  color: var(--text-3);
  padding: 0 4px;
}
.auto-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 16px 14px 10px;
}
.auto-input-wrap {
  display: flex;
  align-items: center;
  background: #0e100e;
  border: 1px solid var(--border-2);
  padding: 0 12px;
  height: 38px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  min-width: 0;
}
.auto-input-prefix {
  color: var(--text-3);
  font-size: 11px;
  margin-right: 8px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  flex-shrink: 0;
}
.auto-input-val {
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: var(--mono);
  white-space: nowrap;
  overflow: hidden;
  font-size: 11px;
  min-width: 0;
  flex: 1;
  direction: rtl;
  text-align: left;
  unicode-bidi: plaintext;
}
.auto-cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1s steps(2) infinite;
}
.auto-run {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #0a1500;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0 14px;
  height: 38px;
  min-width: 160px;
  white-space: nowrap;
  flex-shrink: 0;
}
.auto-run .g { font-size: 9px; }
.auto-run.running {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--accent);
}
.auto-run.done {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.auto-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 10px;
  font-size: 11px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
}
.auto-progress-bar {
  flex: 1;
  height: 3px;
  background: #0e100e;
  border: 1px solid var(--border);
  overflow: hidden;
}
.auto-progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.1s linear;
}
.auto-progress-num { white-space: nowrap; }
.auto-console-idle {
  color: var(--text-4);
  text-align: center;
  margin-top: 90px;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.auto-console .line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: baseline;
  min-height: 16px;
  line-height: 1.5;
}
.auto-console .line-time { color: var(--text-4); font-size: 10px; }
.auto-console .line .tag { font-weight: 600; margin-right: 6px; }
.auto-console .line-text { color: var(--text-2); }
.auto-console .line.sys .tag,
.auto-console .line.ok .tag { color: var(--accent); }
.auto-console .line.sys .line-text,
.auto-console .line.ok .line-text { color: var(--text); }
.auto-console .line.dl .tag { color: #7eb6ff; }
.auto-console .line.info .tag { color: #c4a6ff; }
.auto-console .line.warn .tag { color: #ffaa50; }
.auto-console .line.warn .line-text { color: #ffd591; }
.auto-console .line-size { color: var(--text-4); margin-left: 6px; font-size: 10px; }

/* Marquee separator dot — restore */
.marquee-item {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--text-2);
}
.marquee-sep {
  display: inline-block !important;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 9px;
  opacity: 0.5;
  animation: dotPulse 2.4s ease-in-out infinite;
}
.marquee-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

/* features section eyebrow + section padding — make sure visible */
.feat-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  padding: 60px 0 20px;
}

/* ============================================================
   BACK TO TOP — CUBIC (square), matches matrix vibe
   ============================================================ */
.back-to-top {
  border-radius: 0 !important;
  width: 48px !important;
  height: 48px !important;
  border: 1px solid var(--accent) !important;
  background: rgba(10, 21, 0, 0.85) !important;
  position: fixed;
  bottom: 28px;
  right: 28px;
}
.back-to-top::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 8px; height: 8px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.back-to-top::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 8px; height: 8px;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}
.back-to-top:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px -6px rgba(0,0,0,0.7), 0 0 24px -4px var(--accent-soft) !important;
}


/* ============================================================
   CRITICAL RESTORE — features grid + marquee scroller
   ============================================================ */

/* MARQUEE */
.marquee-sec {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.marquee-rail {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 36px;
  animation: marqueeScroll 80s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--text-2);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}
.marquee-label {
  text-align: center;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.15em;
}

/* FEATURES */
.feat {
  padding: 100px 40px 80px;
}
.feat-inner {
  max-width: 1480px;
  margin: 0 auto;
}
.feat-head {
  margin-bottom: 40px;
}
.feat-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feat-card {
  background: linear-gradient(180deg, #0a0c0b, #050706);
  border: 1px solid var(--border-2);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.feat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -10px var(--accent-soft);
}
.feat-card-viz {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, var(--accent-faint), transparent 70%),
    #050706;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.feat-card-viz svg {
  width: 88%;
  height: 88%;
}
.feat-card-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  padding: 22px 24px 4px;
}
.feat-card-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 32px;
  color: var(--text);
  letter-spacing: -0.005em;
  padding: 0 24px 12px;
  text-transform: lowercase;
  line-height: 1.05;
}
.feat-card-desc {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  padding: 0 24px 26px;
}

@media (max-width: 1100px) {
  .feat-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   FULL RESTORE — every missing component style
   ============================================================ */

/* ===== AutoCopier panel (hero right side) ===== */
.auto {
  background: #0a0c0b;
  border: 1px solid var(--border-2);
  font-family: var(--mono);
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 24px 48px -12px rgba(0,0,0,0.7),
    0 0 60px -24px rgba(197,255,53,0.18);
}
.auto-console {
  background: #050706;
  border-top: 1px solid var(--border);
  height: 320px;
  overflow-y: auto;
  padding: 12px 14px;
  font-size: 11px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
}
.auto-console::-webkit-scrollbar { width: 4px; }
.auto-console::-webkit-scrollbar-thumb { background: var(--border-2); }

/* ===== Hero layout ===== */
.hero, .hero-split {
  padding: 100px 56px 60px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  max-width: 1480px;
  margin: 0 auto;
  width: 100%;
}
.hero-l { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hero-title {
  font-family: 'Share Tech Mono', 'Fira Code', monospace;
  font-size: clamp(60px, 8.8vw, 130px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
  text-transform: lowercase;
}
.hero-title-line { display: block; white-space: nowrap; }
.hero-title .accent { color: var(--accent); font-style: italic; }
.hero-title .punct { color: var(--text-3); font-style: normal; }
.cycle-word-wrap { display: inline-block; vertical-align: baseline; }
.cycle-word { display: inline-block; color: var(--accent); font-style: italic; }
.cycle-in { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); transition: all 0.24s; }
.cycle-out { opacity: 0; transform: translateY(-0.2em) scale(0.96); filter: blur(4px); transition: all 0.24s; }
.hero-sub {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 15px;
  max-width: 480px;
  line-height: 1.55;
  color: var(--text-2);
}
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-r { display: flex; align-items: center; justify-content: center; min-width: 0; }
.hero-r-stage { width: 100%; max-width: 620px; position: relative; }
.hero-dl-wrap { position: relative; }
.hero-dl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  background: var(--accent);
  color: #0a1500;
  border: none;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.hero-dl svg { width: 16px; height: 16px; }
.hero-dl:hover { background: var(--accent-2); }
.hero-see {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-2); font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.06em;
  border-bottom: 1px dashed var(--text-3); padding-bottom: 2px;
  text-decoration: none;
}
.hero-see:hover { color: var(--accent); border-color: var(--accent); }

/* ===== App shell ===== */
.app {
  --a-bg: #0b0c0b;
  --a-bg-2: #0e100e;
  --a-bg-3: #131513;
  --a-surface: #181a18;
  --a-surface-hi: #1f221f;
  --a-border: #21241f;
  --a-border-2: #2c302a;
  --a-text: #ebefe8;
  --a-text-2: #9aa39a;
  --a-text-3: #5d655c;
  --a-text-4: #3a4138;
  --a-accent: var(--accent);
  --a-accent-2: var(--accent-2);
  background: var(--a-bg);
  border: 1px solid var(--a-border-2);
  overflow: hidden;
  color: var(--a-text);
  font-family: var(--sans);
  display: flex;
  flex-direction: column;
  min-height: 640px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 60px 120px -20px rgba(0,0,0,0.8),
    0 0 0 1px rgba(0,0,0,0.4),
    0 0 100px -16px var(--accent-soft);
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 36px;
  padding: 0 14px;
  background: var(--a-bg-2);
  border-bottom: 1px solid var(--a-border);
}
.app-bar-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.04em; color: var(--a-text-2);
  text-transform: uppercase;
}
.app-bar-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--a-accent);
  box-shadow: 0 0 8px var(--a-accent);
  animation: pulse 2s infinite;
}
.app-bar-name { color: var(--a-text); font-weight: 500; letter-spacing: 0.06em; }
.app-bar-actions { margin-left: auto; display: flex; gap: 2px; color: var(--a-text-3); }
.app-bar-close { font-size: 17px; line-height: 1; font-weight: 300; padding: 4px 8px; cursor: pointer; }
.app-main { background: var(--a-bg); flex: 1; display: flex; flex-direction: column; min-height: 0; }
.app-status {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--a-bg-2);
  border-top: 1px solid var(--a-border);
  font-family: var(--mono); font-size: 10.5px; color: var(--a-text-3);
}
.app-status-item { display: inline-flex; align-items: center; gap: 5px; }
.app-status-item.ok::before {
  content: ''; width: 6px; height: 6px;
  background: var(--a-accent); border-radius: 50%;
  box-shadow: 0 0 6px var(--a-accent);
}
.app-status-spacer { flex: 1; }
.app-status-item-mute { color: var(--a-text-4); }

/* ===== Page header (Home / Game Copier) ===== */
.page-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px 16px;
}
.page-head-l { display: flex; align-items: center; gap: 12px; }
.page-head-title {
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  letter-spacing: 0.12em; color: var(--a-text);
}
.page-head-r {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 10.5px; color: var(--a-text-3);
}
.page-head-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px; font-size: 10px; letter-spacing: 0.12em; font-weight: 600;
}
.page-head-badge.live { color: var(--a-accent); background: var(--accent-soft); }
.page-head-badge .dot {
  width: 5px; height: 5px;
  background: var(--a-accent); border-radius: 50%;
  animation: pulse 2s infinite;
}
.page-rule {
  height: 1px;
  background: repeating-linear-gradient(to right, var(--a-border-2) 0 4px, transparent 4px 8px);
  margin: 0 28px;
}

/* ===== Home grid ===== */
.hm { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.hm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 24px 28px 28px;
  flex: 1;
}
.hm-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.hm-featured {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  position: relative;
  background: var(--a-bg-2);
  border: 1px solid var(--a-border-2);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  font-family: inherit;
  color: var(--a-text);
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hm-featured:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px var(--accent-soft);
}
.hm-featured-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.15em; font-weight: 600; text-transform: uppercase;
  width: max-content;
}
.hm-featured-tag .dot {
  width: 5px; height: 5px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 2s infinite;
}
.hm-featured-name {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.95;
  color: var(--a-text);
  margin-top: auto;
  text-transform: lowercase;
}
.hm-featured-desc {
  font-family: var(--mono); font-size: 13px;
  color: var(--a-text-2); line-height: 1.55; max-width: 380px;
}
.hm-featured-cta {
  margin-top: 14px;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: var(--accent); color: #0a1500;
  font-family: var(--mono); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.hm-locked {
  position: relative;
  background: var(--a-bg-2);
  border: 1px solid var(--a-border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0.6;
  cursor: not-allowed;
  overflow: hidden;
  min-height: 200px;
}
.hm-locked-name {
  font-family: 'Share Tech Mono', monospace;
  font-size: 22px;
  text-transform: lowercase;
  color: var(--a-text);
}
.hm-locked-desc {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--a-text-3); max-width: 200px;
}
.hm-locked-tag {
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 3px 7px; background: rgba(255, 176, 32, 0.08);
  color: var(--amber);
  width: max-content;
}
.hm-locked-bar {
  background: rgba(255, 255, 255, 0.04);
  height: 3px;
  margin-top: 12px;
  position: relative;
}
.hm-locked-bar-fill { height: 100%; opacity: 0.7; }
.hm-ugc .hm-locked-bar-fill { background: #b894ff; }
.hm-cloth .hm-locked-bar-fill { background: #ff8da3; }

/* ===== Game Copier inputs & console ===== */
.gc { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.gc-body {
  padding: 24px 28px 28px;
  display: flex; flex-direction: column;
  gap: 18px; flex: 1; min-height: 0;
}
.gc-back {
  background: none;
  border: 1px solid var(--a-border-2);
  color: var(--a-text-2);
  font-family: var(--mono); font-size: 11px;
  padding: 4px 10px; margin-right: 4px;
  letter-spacing: 0.04em; cursor: pointer;
}
.gc-input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.input-wrap {
  display: flex; align-items: center;
  background: var(--a-bg-2);
  border: 1px solid var(--a-border-2);
}
.input-wrap:focus-within {
  border-color: var(--a-accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.input-prefix {
  padding: 0 12px;
  color: var(--a-text-3); font-size: 12.5px;
  border-right: 1px solid var(--a-border-2);
  height: 48px;
  display: flex; align-items: center;
  font-family: var(--mono); letter-spacing: 0.04em;
}
.input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 0 14px;
  color: var(--a-text);
  font-family: var(--mono); font-size: 16px; font-weight: 500;
  height: 48px;
}
.input::placeholder { color: var(--a-text-4); }
.run {
  padding: 0 24px; height: 48px;
  background: var(--a-accent); color: #0a1500;
  border: none;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em;
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  min-width: 160px;
  cursor: pointer;
}
.run.disabled, .run:disabled {
  background: var(--a-surface);
  color: var(--a-text-3);
  cursor: not-allowed;
}
.run-glyph { font-size: 10px; }
.run-progress {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; color: var(--a-text-2);
  font-family: var(--mono);
}
.run-progress-bar {
  flex: 1; height: 3px;
  background: var(--a-bg-2);
  border: 1px solid var(--a-border);
  overflow: hidden;
}
.run-progress-fill { height: 100%; background: var(--a-accent); }
.gc-console {
  border: 1px solid var(--a-border);
  background: var(--a-bg-2);
  flex: 1;
  min-height: 320px;
  display: flex; flex-direction: column;
}
.console-header {
  display: flex; align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--a-border);
  background: var(--a-bg-3);
  font-size: 12px;
}
.console-tabs { display: flex; gap: 16px; }
.console-tabs span {
  color: var(--a-text-3); cursor: pointer;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.console-tabs span.active { color: var(--a-text); border-bottom-color: var(--a-text); }
.console-meta {
  margin-left: auto;
  color: var(--a-text-3);
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px;
}
.console-meta .live {
  color: var(--a-accent);
  display: inline-flex; align-items: center; gap: 5px;
}
.console-meta .live::before {
  content: ''; width: 6px; height: 6px;
  background: var(--a-accent); border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.console-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.8;
  font-family: var(--mono);
}
.console-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; color: var(--a-text-3); text-align: center;
}
.line { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: baseline; }
.line-time { color: var(--a-text-4); font-size: 11px; }
.line-text { color: var(--a-text-2); }
.line .tag { font-weight: 600; margin-right: 8px; }
.line.sys .line-text, .line.ok .line-text { color: var(--a-text); }
.line.sys .tag, .line.ok .tag { color: var(--a-accent); }
.line.dl .tag { color: #7eb6ff; }
.line.info .tag { color: #c4a6ff; }
.line.warn .line-text { color: #ffd591; }
.line.warn .tag { color: #ffaa50; }
.line-size { color: var(--a-text-4); margin-left: 8px; font-size: 11px; }
.cursor {
  display: inline-block; width: 7px; height: 14px;
  background: var(--a-accent); vertical-align: middle;
  animation: blink 1s steps(2) infinite;
}

/* ===== TryIt section ===== */
.tryit { padding: 80px 40px 100px; }
.tryit-inner { max-width: 1480px; margin: 0 auto; }
.tryit-head {
  display: grid; grid-template-columns: 1fr auto;
  align-items: end; gap: 32px; margin-bottom: 40px;
}
.tryit-eyebrow {
  font-family: var(--mono); font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 10px;
}
.tryit-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(32px, 4.6vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  margin: 0 0 14px;
  text-transform: lowercase;
}
.tryit-sub {
  font-family: var(--mono); font-size: 14px;
  color: var(--text-2); max-width: 480px;
  line-height: 1.55; margin: 0;
}
.tryit-side { text-align: right; }
.tryit-stat-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(36px, 4.4vw, 56px);
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tryit-stat-lbl {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 6px;
}
.tryit-app { position: relative; max-width: 100%; }

/* ===== FAQ ===== */
.faq { padding: 60px 40px 80px; }
.faq-inner { max-width: 1080px; margin: 0 auto; }
.faq-head { margin-bottom: 24px; }
.faq-eyebrow {
  font-family: var(--mono); font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.faq-list { display: flex; flex-direction: column; }
.faq-row {
  border-top: 1px solid var(--border);
  padding: 18px 4px;
  cursor: pointer;
}
.faq-row:last-child { border-bottom: 1px solid var(--border); }
.faq-row:hover { background: rgba(255, 255, 255, 0.02); }
.faq-q {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 17px; color: var(--text);
}
.faq-q-mark { color: var(--accent); font-size: 14px; width: 30px; }
.faq-a {
  font-family: var(--mono); font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  padding: 12px 0 4px 44px;
  max-width: 720px;
}

/* ===== Top brand fixed top-left ===== */
.top-brand {
  position: fixed; top: 24px; left: 32px; z-index: 80;
  font-family: var(--mono); font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.06em;
  display: flex; gap: 4px;
}
.top-brand .b1 { color: var(--accent); }
.top-brand .b2 { color: var(--text); }
.top-brand .b3 { color: var(--text-3); }

/* ===== Cursor spotlight ===== */
.cursor-spotlight {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 50%),
    rgba(197, 255, 53, 0.08),
    transparent 60%
  );
  mix-blend-mode: screen;
  transition: opacity 0.25s ease;
}

/* keyframes used everywhere */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.9; transform: scale(1.15); }
}

@media (max-width: 1100px) {
  .hero-grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .tryit-head { grid-template-columns: 1fr; }
}


/* ============================================================
   SCALE + EMPTY-SPACE FIXES + game copier emoji bg
   ============================================================ */

/* big 🎮 bg in featured tile, matches locked tiles */
.hm-featured-bg-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 160px;
  opacity: 0.10;
  pointer-events: none;
  filter: blur(0.5px);
  transition: opacity 0.3s, transform 0.3s;
}
.hm-featured:hover .hm-featured-bg-emoji {
  opacity: 0.22;
  transform: scale(1.05);
}
.hm-featured > *:not(.hm-featured-bg-emoji) { position: relative; z-index: 1; }

/* App shell shouldn't stretch — give it intrinsic content height */
.app { min-height: 0 !important; }
.app-main { min-height: 540px; }
.tryit-app .app, .stage-app-wrap .app { max-width: 1280px; margin: 0 auto; }

/* ============================================================
   RESPONSIVE — scaling improvements
   ============================================================ */
@media (max-width: 1200px) {
  .hero, .hero-split { padding: 100px 32px 60px; }
  .hero-title { font-size: clamp(48px, 7vw, 96px); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero, .hero-split { padding: 80px 24px 50px; min-height: auto; }
  .hero-grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .hero-title { font-size: clamp(44px, 11vw, 72px); }
  .hero-title-line { white-space: normal; }
  .hero-r-stage { max-width: 100%; }
  .tryit { padding: 60px 24px 80px; }
  .tryit-head { grid-template-columns: 1fr; gap: 18px; }
  .tryit-side { text-align: left; }
  .feat { padding: 60px 24px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-card-viz { height: 200px; }
  .faq { padding: 40px 24px 60px; }
  .marquee-sec { padding: 18px 0; }
  .marquee-item { font-size: 14px; }
  .hm-main {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .hm-featured { grid-column: 1; grid-row: auto; min-height: 280px; }
  .hm-featured-name { font-size: clamp(28px, 6vw, 40px); }
  .gc-input-row { grid-template-columns: 1fr; }
  .run { min-width: 0; width: 100%; }
  .top-brand { top: 16px; left: 20px; font-size: 11px; }
}

@media (max-width: 600px) {
  .hero, .hero-split { padding: 70px 16px 40px; }
  .hero-title { font-size: clamp(38px, 12vw, 56px); }
  .hero-sub { font-size: 14px; }
  .hero-dl { padding: 14px 20px; font-size: 12px; }
  .feat-card-title { font-size: 26px; }
  .hm-grid { padding: 16px; gap: 10px; }
  .hm-featured-name { font-size: 32px; }
  .hm-locked-name { font-size: 18px; }
  .hm-featured-bg-emoji { font-size: 110px; }
  .gc-body { padding: 16px 18px; }
  .input-prefix { font-size: 11px; padding: 0 8px; }
  .input { font-size: 14px; padding: 0 10px; }
  .gc-console { min-height: 240px; }
  .auto-console { height: 180px; }
  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .marquee-track { gap: 24px; }
}


/* ============================================================
   POLISH: fix empty space, recenter shadow, button design
   ============================================================ */

/* Featured tile — stop margin-top auto on name; content starts at top */
.hm-featured {
  justify-content: center !important;
  padding: 32px 28px !important;
}
.hm-featured-name {
  margin-top: 16px !important;
  margin-bottom: 4px !important;
}
.hm-featured-tag {
  position: absolute;
  top: 22px;
  left: 22px;
}
.hm-featured > *:not(.hm-featured-bg-emoji) {
  position: relative;
  z-index: 1;
}

/* Auto-copier shadow — perfectly centered, no leftward bias */
.auto {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 30px 60px -15px rgba(0,0,0,0.7),
    0 0 60px -25px rgba(197,255,53,0.18) !important;
}

/* Button design refinements — more polished, cleaner inner key */
.hero-dl, .hm-featured-cta, .run {
  border-radius: 2px !important;
  font-weight: 700;
}
.hm-featured-cta {
  padding: 13px 22px !important;
  font-size: 12.5px !important;
  letter-spacing: 0.18em !important;
  box-shadow: 0 6px 16px -4px rgba(197,255,53,0.25);
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.hm-featured-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -4px rgba(197,255,53,0.4);
}
.hm-featured-cta-key {
  font-family: var(--mono);
  min-width: 24px !important;
  padding: 3px 8px !important;
  font-size: 11px !important;
  background: rgba(10, 21, 0, 0.25) !important;
  border-radius: 2px !important;
  letter-spacing: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.hero-dl {
  box-shadow: 0 8px 20px -6px rgba(197, 255, 53, 0.3);
}
.hero-dl:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 28px -6px rgba(197, 255, 53, 0.5);
}


/* ============================================================
   FINAL FIXES — kill empty column, center .exe shadow, scale better
   ============================================================ */

/* Home grid — single column, no reserved side panel */
.hm-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px;
  padding: 24px 28px;
}

/* Featured name — never wrap awkwardly on narrow screens */
.hm-featured-name { white-space: nowrap; }

/* At medium widths, keep featured wide enough to read */
@media (max-width: 1000px) {
  .hm-main {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hm-featured {
    grid-column: 1;
    grid-row: auto;
    min-height: 260px;
  }
  .hm-locked { min-height: 160px; }
  .hm-featured-name { font-size: 36px; white-space: nowrap; }
  .hm-featured-bg-emoji { font-size: 140px; }
}
@media (max-width: 600px) {
  .hm-featured-name { font-size: 28px; }
  .hm-featured-bg-emoji { font-size: 100px; }
}


/* ============================================================
   FIX 1: Hero two-column stays TWO COLUMNS until very narrow
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 32px !important;
  }
  .hero-title { font-size: clamp(40px, 6vw, 72px) !important; }
}
@media (max-width: 760px) {
  .hero-grid-2 { grid-template-columns: 1fr !important; gap: 36px !important; }
  .hero-title-line { white-space: normal; }
}

/* ============================================================
   FIX 2: Home — locked tiles side-by-side, not vertical
   "LIVE" tag doesn't clip name
   ============================================================ */
.hm-featured-tag {
  position: static !important;
}
.hm-featured {
  padding: 28px 24px !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-start !important;
}
.hm-featured-name {
  margin-top: 0 !important;
}

/* on medium screens, locked tiles go side-by-side instead of vertical */
@media (max-width: 1000px) and (min-width: 600px) {
  .hm-main {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
  }
  .hm-featured {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }
  .hm-locked:nth-of-type(2) { grid-column: 1; grid-row: 2; }
  .hm-locked:nth-of-type(3) { grid-column: 2; grid-row: 2; }
}

/* ============================================================
   FIX 3: AutoCopier shadow — softer, more even
   ============================================================ */
.auto {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 20px 40px -16px rgba(0,0,0,0.5),
    0 4px 12px -4px rgba(0,0,0,0.4) !important;
}
