/* ==========================================================================
   GR99 — page under construction
   Single-file stylesheet. No external fonts or CDNs.
   ========================================================================== */

:root {
  --bg: #07070c;
  --bg-soft: #0b0b13;
  --panel: #0e0e17;
  --text: #f5f5fa;
  --muted: #9c9cb2;
  --quiet: #7c7b93;

  --violet: #8b5cff;
  --mint: #2ee6c5;
  --amber: #ffce6a;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);

  --font-sans: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", ui-monospace, monospace;

  --radius: 18px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 0.75, 0.25, 1);
}

/* --- reset ---------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* very subtle film grain so flat dark areas don't band */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: inherit; }

button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  text-wrap: balance;
}

::selection {
  background: rgba(139, 92, 255, 0.38);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  position: relative;
}

.mono { font-family: var(--font-mono); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: #08080d;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible { transform: none; }

/* --- buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s, filter 0.25s;
}

.btn svg { transition: transform 0.25s var(--ease); }

.btn-primary {
  background: linear-gradient(112deg, #a887ff 0%, #8b5cff 42%, #2ee6c5 100%);
  color: #07070c;
  box-shadow: 0 14px 34px -14px rgba(139, 92, 255, 0.9);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: saturate(1.1) brightness(1.04);
  box-shadow: 0 20px 44px -16px rgba(139, 92, 255, 0.95);
}

.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn-small {
  height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
  background: #f5f5fa;
  color: #08080d;
}

.btn-small:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* --- header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 12, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, #b6a1ff, #8b5cff 40%, #2ee6c5);
  color: #07070c;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.06em;
  box-shadow: 0 6px 18px -8px rgba(139, 92, 255, 0.9);
}

.brand-word {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 28px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(46, 230, 197, 0.55);
  animation: pulse 2.6s infinite;
}

.menu-btn {
  display: none;
  place-items: center;
  width: 40px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 2px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* --- hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(44px, 6vw, 84px) 0 clamp(56px, 7vw, 104px);
}

.hero-bg {
  position: absolute;
  inset: -20% -10% -30%;
  z-index: -1;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hero-glow--violet {
  width: 44vw;
  height: 44vw;
  min-width: 320px;
  min-height: 320px;
  left: -12%;
  top: -18%;
  background: radial-gradient(circle, rgba(107, 60, 255, 0.55), transparent 66%);
  opacity: 0.75;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-glow--mint {
  width: 34vw;
  height: 34vw;
  min-width: 260px;
  min-height: 260px;
  right: -6%;
  top: 14%;
  background: radial-gradient(circle, rgba(15, 191, 168, 0.5), transparent 66%);
  opacity: 0.5;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 68%) var(--my, 30%), rgba(139, 92, 255, 0.14), transparent 70%);
  opacity: 0.9;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 58% 32%, #000 12%, transparent 74%);
  mask-image: radial-gradient(ellipse 78% 62% at 58% 32%, #000 12%, transparent 74%);
}

.hero-copy { min-width: 0; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
}

.eyebrow-line {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), rgba(46, 230, 197, 0));
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.02;
}

.grad-text {
  display: block;
  padding-bottom: 0.06em;
  background: linear-gradient(100deg, #c3b1ff 0%, #8b5cff 38%, #2ee6c5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 52ch;
  margin: 26px 0 32px;
  font-size: clamp(15.5px, 1.4vw, 17px);
  line-height: 1.66;
  color: var(--muted);
  text-wrap: pretty;
}

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

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 0;
  font-size: 12.5px;
  color: var(--quiet);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 0 rgba(139, 92, 255, 0.6);
  animation: pulse 2.6s infinite;
}

/* build console card */

.build-card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(24, 23, 40, 0.92), rgba(10, 10, 17, 0.96));
  box-shadow:
    0 40px 90px -46px #000,
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 30px 80px -60px rgba(139, 92, 255, 0.9);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.build-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 255, 0.85), rgba(46, 230, 197, 0.85), transparent);
  opacity: 0.75;
}

.build-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font-size: 11.5px;
}

.dots { display: flex; gap: 5px; }

.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.dots i:first-child { background: rgba(255, 107, 92, 0.55); }
.dots i:nth-child(2) { background: rgba(255, 206, 106, 0.55); }
.dots i:last-child { background: rgba(46, 230, 197, 0.5); }

.build-path {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.build-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid rgba(46, 230, 197, 0.28);
  border-radius: 999px;
  background: rgba(46, 230, 197, 0.09);
  color: var(--mint);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.build-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

.build-body { padding: 16px 16px 6px; }

.log-line {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0;
  padding: 5px 0;
  color: #cfcedd;
  white-space: nowrap;
  overflow: hidden;
}

.log-prompt { color: var(--violet); }
.log-mark { color: #6a6980; flex: 0 0 auto; }
.log-ok { color: #e9fbf6; }
.log-ok .log-mark { color: var(--mint); }
.log-dim { color: #8d8ca3; }
.log-cursor { color: var(--violet); }

.dots-fill {
  flex: 1 1 auto;
  min-width: 10px;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--mint);
  animation: blink 1.1s steps(1) infinite;
}

.build-progress { padding: 10px 16px 0; }

.build-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  font-size: 11.5px;
  color: var(--quiet);
}

.progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.progress-lg { height: 8px; }

.progress-fill {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cff, #2ee6c5);
  animation: fill 1.9s var(--ease) 0.35s forwards;
}

.progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.6s ease-in-out 1.8s infinite;
}

.build-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 16px 16px 18px;
}

.build-chips span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: #8f8ea6;
  font-size: 11px;
}

/* --- ticker --------------------------------------------------------------- */

.ticker {
  overflow: hidden;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #75748c;
  white-space: nowrap;
}

.ticker .sep { color: var(--violet); opacity: 0.65; }

/* --- sections ------------------------------------------------------------- */

.section { padding: clamp(56px, 7vw, 96px) 0; }

.section-contact { padding-top: clamp(40px, 5vw, 72px); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(32px, 4.5vw, 54px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b8aa1;
}

.kicker-num { color: var(--mint); }

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  font-weight: 760;
  letter-spacing: -0.032em;
  line-height: 1.08;
}

.section-sub {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 16.5px);
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

/* --- cards ---------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s;
}

.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(300px circle at 50% -10%, rgba(139, 92, 255, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 50px -34px rgba(0, 0, 0, 0.9);
}

.card:hover::after { opacity: 1; }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.card-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #64637a;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(139, 92, 255, 0.24), rgba(46, 230, 197, 0.12));
  color: #d5cdff;
}

.card h3 {
  margin: 0 0 9px;
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-tags li {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: #8b8aa1;
}

/* --- status panel --------------------------------------------------------- */

.panel {
  position: relative;
  padding: clamp(24px, 3.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(1100px 380px at 8% -20%, rgba(139, 92, 255, 0.18), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.panel-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
}

.panel-title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-live {
  border: 1px solid rgba(46, 230, 197, 0.28);
  background: rgba(46, 230, 197, 0.08);
  color: var(--mint);
}

.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.roadmap::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 6px;
  right: 6px;
  height: 1px;
  background: linear-gradient(90deg, rgba(46, 230, 197, 0.5), rgba(139, 92, 255, 0.5) 48%, rgba(255, 255, 255, 0.09) 52%, rgba(255, 255, 255, 0.09));
}

.step {
  position: relative;
  padding-top: 32px;
}

.step-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: var(--bg-soft);
}

.step.is-done .step-dot {
  border-color: var(--mint);
  background: var(--mint);
  box-shadow: 0 0 16px rgba(46, 230, 197, 0.55);
}

.step.is-active .step-dot {
  border-color: var(--violet);
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(139, 92, 255, 0.16), 0 0 18px rgba(139, 92, 255, 0.6);
  animation: pulse-ring 2.8s infinite;
}

.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: #5f5e74;
}

.step h3 {
  margin: 7px 0 6px;
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.step p {
  max-width: 26ch;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #8b8aa1;
}

.step-state {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f6e86;
}

.is-done .step-state { color: rgba(46, 230, 197, 0.85); }
.is-active .step-state { color: #b39bff; }

.panel-progress {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* --- games --------------------------------------------------------------- */

.game-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(760px 320px at 100% 0%, rgba(46, 230, 197, 0.1), transparent 62%),
    radial-gradient(600px 340px at 0% 100%, rgba(139, 92, 255, 0.14), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
  overflow: hidden;
}

.game-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    radial-gradient(520px 260px at 50% 18%, rgba(139, 92, 255, 0.38), transparent 70%),
    radial-gradient(420px 240px at 82% 102%, rgba(46, 230, 197, 0.22), transparent 70%),
    linear-gradient(160deg, #17162b, #0a0a12);
  overflow: hidden;
}

.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 78%);
  pointer-events: none;
}

.game-emoji {
  position: relative;
  z-index: 1;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.55));
}

.game-emoji:nth-child(2) { transform: translateY(-10px); }

.game-cover-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.game-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(4px, 1vw, 12px) 0;
}

.game-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.game-platform {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quiet);
}

.game-name {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 740;
  letter-spacing: -0.025em;
}

.game-desc {
  max-width: 52ch;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted);
}

.game-features {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.game-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: #b9b8c8;
}

.game-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--mint));
  opacity: 0.85;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

/* --- downloads ------------------------------------------------------------ */

.section-downloads { padding-top: clamp(24px, 4vw, 56px); }

.downloads {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
  overflow: hidden;
}

.downloads-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 110px 120px;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--quiet);
}

.downloads-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 110px 120px;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  transition: background 0.25s;
}

.download-row + .download-row { border-top: 1px solid var(--line); }

.download-row:hover { background: rgba(255, 255, 255, 0.03); }

.dl-file {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.dl-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(46, 230, 197, 0.28);
  border-radius: 11px;
  background: linear-gradient(150deg, rgba(46, 230, 197, 0.18), rgba(139, 92, 255, 0.16));
  color: #d8fff7;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.dl-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.dl-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.dl-desc {
  font-size: 12.5px;
  color: var(--quiet);
}

.dl-platform,
.dl-size {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #9c9cb2;
}

.dl-btn { justify-self: start; }

.downloads-note {
  margin: 0;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--quiet);
}

.downloads-note code {
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #cfc8ff;
}

/* --- contact -------------------------------------------------------------- */

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(820px 360px at 88% -10%, rgba(46, 230, 197, 0.13), transparent 62%),
    radial-gradient(700px 420px at 0% 110%, rgba(139, 92, 255, 0.18), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
  overflow: hidden;
}

.contact-copy h2 { margin-bottom: 18px; }

.contact-note {
  margin: 26px 0 0;
  font-size: 12.5px;
  color: var(--quiet);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.028);
  transition: border-color 0.25s, background 0.25s;
}

.contact-row:hover {
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.05);
}

.contact-row--muted { opacity: 0.72; }

.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(139, 92, 255, 0.16);
  color: #cfc8ff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--quiet);
}

.contact-value {
  font-size: 14.5px;
  letter-spacing: -0.01em;
  color: #eeeef6;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.contact-value:hover { color: var(--mint); }

.copy-btn {
  margin-left: auto;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  color: #a2a1b8;
  font-family: var(--font-mono);
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.copy-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* --- footer --------------------------------------------------------------- */

.site-footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.012));
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand p {
  max-width: 34ch;
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--quiet);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: #6a6980;
}

.footer-version { font-family: var(--font-mono); font-size: 11.5px; }

/* --- toast ---------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #12121d;
  color: #f0f0f7;
  font-size: 13px;
  box-shadow: 0 24px 60px -24px #000;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --- reveal on scroll ----------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

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

.cards .reveal:nth-child(2) { transition-delay: 0.07s; }
.cards .reveal:nth-child(3) { transition-delay: 0.14s; }
.cards .reveal:nth-child(4) { transition-delay: 0.21s; }

/* --- keyframes ------------------------------------------------------------ */

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 197, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(46, 230, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 197, 0); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 255, 0.45), 0 0 18px rgba(139, 92, 255, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(139, 92, 255, 0), 0 0 18px rgba(139, 92, 255, 0.5); }
  100% { box-shadow: 0 0 0 0 rgba(139, 92, 255, 0), 0 0 18px rgba(139, 92, 255, 0.5); }
}

@keyframes fill {
  to { width: var(--p, 38%); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, 6%, 0) scale(1.08); }
}

/* --- responsive ----------------------------------------------------------- */

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 24px; }
}

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .build-card { max-width: 560px; }
  .contact-panel { grid-template-columns: minmax(0, 1fr); }
  .contact-list { max-width: 560px; }
  .game-card { grid-template-columns: minmax(0, 1fr); }
  .game-cover { min-height: 210px; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 8, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

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

  .nav a {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text);
  }

  .header-actions { margin-left: auto; }
  .menu-btn { display: block; }
  .status-pill { display: none; }
  .header-inner { height: 66px; }
}

@media (max-width: 760px) {
  .roadmap { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .roadmap::before {
    top: 8px;
    bottom: 8px;
    left: 7px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(46, 230, 197, 0.5), rgba(139, 92, 255, 0.45) 55%, rgba(255, 255, 255, 0.09));
  }

  .step { padding-top: 0; padding-left: 34px; }
  .step-dot { top: 3px; }
  .step p { max-width: 44ch; }

  .downloads-head { display: none; }

  .download-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
  }

  .dl-file { flex: 1 1 100%; }
  .dl-platform,
  .dl-size { flex: 0 0 auto; }
  .dl-btn { margin-left: auto; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .btn { height: 44px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .build-card { font-size: 11.5px; }
  .log-line { gap: 7px; }
  .footer-inner { flex-direction: column; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .game-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 400px) {
  h1 { font-size: 2rem; }
  .build-card { font-size: 10.5px; }
  .copy-btn { display: none; }
}

/* --- motion & print ------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .progress-fill,
  .js .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .progress-fill { width: var(--p, 38%); }
  .ticker-track { animation: none; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-header, .ticker, .build-card, .toast, .menu-btn { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
