/* Built from the homepage's styles by site/tools/build_pages.py. Edit the homepage, then rebuild. */
  :root {
    --bg: #04060a;
    --bg-2: #080d15;
    --bg-3: #0d141f;
    --neon: #39ff7a;
    --neon-dim: #28c95f;
    --neon-deep: #0a3b1d;
    --cyan: #4de8ff;
    --magenta: #ff3dd1;
    --amber: #ffb627;
    --ink: #d4f5dd;
    --ink-dim: #6a8a73;
    --line: rgba(57, 255, 122, 0.15);
    --line-soft: rgba(57, 255, 122, 0.08);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; background: var(--bg); }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
  }

  /* ===== ATMOSPHERIC LAYERS ===== */
  /* Animated starfield (CSS only, multiple layers) */
  .stars, .stars-2, .stars-3 {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }
  .stars {
    background-image:
      radial-gradient(1px 1px at 25% 30%, white, transparent),
      radial-gradient(1px 1px at 60% 70%, white, transparent),
      radial-gradient(1px 1px at 80% 20%, white, transparent),
      radial-gradient(1px 1px at 15% 80%, white, transparent),
      radial-gradient(1px 1px at 45% 45%, white, transparent),
      radial-gradient(1px 1px at 90% 90%, white, transparent),
      radial-gradient(2px 2px at 30% 60%, white, transparent),
      radial-gradient(1px 1px at 70% 15%, white, transparent);
    background-size: 800px 800px;
    opacity: 0.6;
    animation: drift 200s linear infinite;
  }
  .stars-2 {
    background-image:
      radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,0.7), transparent),
      radial-gradient(1px 1px at 88% 33%, rgba(57,255,122,0.7), transparent),
      radial-gradient(2px 2px at 55% 88%, white, transparent),
      radial-gradient(1px 1px at 33% 55%, white, transparent),
      radial-gradient(1px 1px at 77% 77%, rgba(77,232,255,0.7), transparent),
      radial-gradient(1px 1px at 22% 11%, white, transparent);
    background-size: 600px 600px;
    opacity: 0.5;
    animation: drift 120s linear infinite reverse;
  }
  .stars-3 {
    background-image:
      radial-gradient(2px 2px at 40% 40%, var(--neon), transparent),
      radial-gradient(2px 2px at 75% 25%, var(--cyan), transparent),
      radial-gradient(2px 2px at 20% 65%, white, transparent),
      radial-gradient(2px 2px at 85% 80%, var(--neon), transparent);
    background-size: 1000px 1000px;
    opacity: 0.3;
    animation: twinkle 4s ease-in-out infinite;
  }
  @keyframes drift {
    from { transform: translate(0,0); }
    to { transform: translate(-200px, -200px); }
  }
  @keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
  }

  /* Nebula glows */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse at 15% 25%, rgba(57, 255, 122, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse at 85% 60%, rgba(77, 232, 255, 0.06) 0%, transparent 50%),
      radial-gradient(ellipse at 50% 100%, rgba(255, 61, 209, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
  }

  /* Scanline + vignette */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
      repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(57, 255, 122, 0.015) 3px, rgba(57, 255, 122, 0.015) 4px),
      radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
  }

  /* All content lifted above stars */
  nav, section, footer { position: relative; z-index: 2; }

  /* Reusable neon glow */
  .neon-text {
    color: var(--neon);
    text-shadow:
      0 0 4px var(--neon),
      0 0 12px rgba(57, 255, 122, 0.6),
      0 0 24px rgba(57, 255, 122, 0.3);
  }
  .neon-glow-soft {
    text-shadow:
      0 0 2px rgba(57, 255, 122, 0.8),
      0 0 8px rgba(57, 255, 122, 0.4);
  }

  /* ===== NAV ===== */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 18px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 56px;
  }
  .nav-logo img {
    height: 56px;
    width: auto;
    transition: filter 0.3s;
    filter: drop-shadow(0 0 8px rgba(57, 255, 122, 0.4));
  }
  .nav-logo:hover img {
    filter: drop-shadow(0 0 16px rgba(57, 255, 122, 0.8));
  }
  .nav-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 14px;
    padding: 5px 10px 5px 8px;
    border: 1px solid rgba(57, 255, 122, 0.25);
    border-radius: 2px;
    background: rgba(57, 255, 122, 0.05);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--neon);
    white-space: nowrap;
  }
  .nav-status .pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 6px var(--neon);
    animation: nav-pulse 1.6s ease-in-out infinite;
  }
  @keyframes nav-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--neon); }
    50%      { opacity: 0.35; box-shadow: 0 0 2px var(--neon); }
  }
  /* hide the status pill and tighten links on mid-size screens so the nav stays on one line */
  @media (max-width: 1100px) {
    .nav-status { display: none; }
    .nav-links { gap: 24px; }
  }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }
  .nav-links a {
    color: var(--ink);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color 0.2s;
  }
  .nav-links a::before {
    content: '> ';
    color: var(--neon);
    opacity: 0;
    margin-right: 2px;
    transition: opacity 0.2s;
  }
  .nav-links a:hover {
    color: var(--neon);
    text-shadow: 0 0 8px rgba(57, 255, 122, 0.6);
  }
  .nav-links a:hover::before { opacity: 1; }

  .nav-cta {
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--neon);
    background: transparent;
    border: 1.5px solid var(--neon);
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
  }
  .nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--neon);
    opacity: 0;
    transition: opacity 0.2s;
    z-index: -1;
  }
  .nav-cta:hover {
    color: var(--bg);
    box-shadow: 0 0 20px rgba(57, 255, 122, 0.5);
  }
  .nav-cta:hover::before { opacity: 1; z-index: 0; }
  .nav-cta span { position: relative; z-index: 1; }

  /* ===== HERO ===== */
  .hero {
    min-height: 100vh;
    padding: 160px 48px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
  }

  /* Huge centerpiece logo */
  .hero-logo {
    width: min(620px, 80vw);
    height: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 20px rgba(57, 255, 122, 0.5)) drop-shadow(0 0 40px rgba(57, 255, 122, 0.3));
    animation: logo-pulse 4s ease-in-out infinite;
  }
  @keyframes logo-pulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(57, 255, 122, 0.5)) drop-shadow(0 0 40px rgba(57, 255, 122, 0.3)); }
    50% { filter: drop-shadow(0 0 30px rgba(57, 255, 122, 0.8)) drop-shadow(0 0 60px rgba(57, 255, 122, 0.5)); }
  }

  .hero-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--neon);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
  }
  .blink {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon);
    animation: blink 1.5s ease-in-out infinite;
  }
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
  }
  .hero-status .bar {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
  }

  .hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: clamp(36px, 5.5vw, 76px);
    line-height: 1.05;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
    color: var(--ink);
    max-width: 1000px;
    text-transform: uppercase;
  }
  .hero h1 .neon {
    color: var(--neon);
    text-shadow:
      0 0 8px var(--neon),
      0 0 24px rgba(57, 255, 122, 0.6),
      0 0 48px rgba(57, 255, 122, 0.3);
  }

  .hero-sub {
    font-size: 18px;
    max-width: 620px;
    color: var(--ink-dim);
    margin-bottom: 48px;
    line-height: 1.7;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }
  .btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 16px 32px;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: pointer;
    border: none;
  }
  .btn-primary {
    background: var(--neon);
    color: var(--bg);
    border: 1.5px solid var(--neon);
    box-shadow: 0 0 20px rgba(57, 255, 122, 0.4);
    font-weight: 700;
  }
  .btn-primary:hover {
    box-shadow: 0 0 32px rgba(57, 255, 122, 0.8);
    transform: translateY(-2px);
  }
  .btn-secondary {
    background: transparent;
    color: var(--neon);
    border: 1.5px solid var(--neon);
  }
  .btn-secondary:hover {
    background: rgba(57, 255, 122, 0.1);
    box-shadow: 0 0 20px rgba(57, 255, 122, 0.3);
  }

  /* Scrolling indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--neon-dim);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
    animation: scroll-bounce 2s ease-in-out infinite;
  }
  @keyframes scroll-bounce {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
  }

  /* ===== BOOT SEQUENCE ===== */
  #boot {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    color: var(--neon);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    padding: 12vh 10vw;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    transition: opacity 0.6s ease;
  }
  #boot.done { opacity: 0; pointer-events: none; }
  #boot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 2px,
      rgba(57, 255, 122, 0.04) 2px,
      rgba(57, 255, 122, 0.04) 3px
    );
    pointer-events: none;
  }
  #boot .boot-line { white-space: pre; min-height: 1.4em; opacity: 0.92; }
  #boot .boot-line.ok::after { content: '  [ OK ]'; color: var(--neon); font-weight: 700; }
  #boot .boot-line.cursor::after {
    content: '_';
    animation: boot-blink 0.7s steps(1) infinite;
  }
  #boot .boot-skip {
    position: absolute;
    bottom: 24px; right: 32px;
    font-size: 10px;
    letter-spacing: 0.2em;
    opacity: 0.5;
    text-transform: uppercase;
  }
  @keyframes boot-blink { 50% { opacity: 0; } }

  /* ===== CLICK-TO-SPAWN MUGGOS ===== */
  .spawn-muggo {
    position: fixed;
    width: 80px;
    height: 80px;
    pointer-events: none;
    z-index: 50;
    transform: translate(-50%, -50%);
    user-select: none;
    will-change: transform, opacity;
    filter: drop-shadow(0 0 12px rgba(57, 255, 122, 0.5));
  }

  /* ===== GLITCH ON GAME CARDS ===== */
  .game-name {
    position: relative;
  }
  .game-row:hover .game-name {
    animation: glitch-skew 0.5s ease-in-out;
  }
  .game-row:hover .game-name::before,
  .game-row:hover .game-name::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .game-row:hover .game-name::before {
    color: #ff0080;
    animation: glitch-rgb-1 0.6s ease-in-out;
    mix-blend-mode: screen;
  }
  .game-row:hover .game-name::after {
    color: #00ffff;
    animation: glitch-rgb-2 0.6s ease-in-out;
    mix-blend-mode: screen;
  }
  @keyframes glitch-rgb-1 {
    0%   { transform: translate(0, 0); opacity: 0; }
    20%  { transform: translate(-3px, 1px); opacity: 0.8; }
    40%  { transform: translate(2px, -1px); opacity: 0.6; }
    60%  { transform: translate(-2px, 0); opacity: 0.7; }
    100% { transform: translate(0, 0); opacity: 0; }
  }
  @keyframes glitch-rgb-2 {
    0%   { transform: translate(0, 0); opacity: 0; }
    20%  { transform: translate(3px, -1px); opacity: 0.8; }
    40%  { transform: translate(-2px, 1px); opacity: 0.6; }
    60%  { transform: translate(2px, 0); opacity: 0.7; }
    100% { transform: translate(0, 0); opacity: 0; }
  }
  @keyframes glitch-skew {
    0%, 100% { transform: skewX(0); }
    20% { transform: skewX(-2deg); }
    40% { transform: skewX(1.5deg); }
    60% { transform: skewX(-1deg); }
    80% { transform: skewX(0.5deg); }
  }

  /* ===== VISITOR COUNTER ===== */
  .visitor-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--neon-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
  }
  .visitor-counter .vc-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 6px var(--neon);
    animation: nav-pulse 1.6s ease-in-out infinite;
  }
  .visitor-counter .vc-num {
    color: var(--neon);
    font-weight: 700;
  }

  /* ===== STATUS DOT PULSE (Live titles only) ===== */
  .status-live .status-dot {
    animation: status-live-pulse 1.8s ease-in-out infinite;
  }
  @keyframes status-live-pulse {
    0%, 100% {
      box-shadow: 0 0 8px var(--neon), 0 0 0 0 rgba(57, 255, 122, 0.5);
      transform: scale(1);
    }
    50% {
      box-shadow: 0 0 14px var(--neon), 0 0 0 6px rgba(57, 255, 122, 0);
      transform: scale(1.15);
    }
  }

  /* ===== CURSOR TRAIL (hero only) ===== */
  .cursor-trail-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 8px var(--neon), 0 0 16px rgba(57, 255, 122, 0.6);
    pointer-events: none;
    z-index: 40;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
  }
  @media (hover: none), (max-width: 760px) {
    .cursor-trail-dot { display: none; }
  }

  /* ===== SECTION TRANSITION FLASH ===== */
  .reveal { position: relative; }
  .reveal.visible::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
    box-shadow: 0 0 24px var(--neon), 0 0 40px rgba(57, 255, 122, 0.5);
    animation: section-sweep 1.1s ease-out forwards;
    pointer-events: none;
    z-index: 5;
  }
  @keyframes section-sweep {
    0%   { transform: translateY(0);     opacity: 0; }
    15%  { opacity: 1; }
    100% { transform: translateY(60vh);  opacity: 0; }
  }

  /* ===== COMMAND PALETTE ===== */
  #cmd-palette {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 14vh;
    font-family: 'JetBrains Mono', monospace;
  }
  #cmd-palette.open { display: flex; }
  .cmd-window {
    width: min(640px, 92vw);
    background: var(--bg-2);
    border: 1px solid rgba(57, 255, 122, 0.35);
    box-shadow: 0 0 40px rgba(57, 255, 122, 0.2), 0 20px 60px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .cmd-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(57, 255, 122, 0.18);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--neon-dim);
    background: rgba(57, 255, 122, 0.04);
  }
  .cmd-header .cmd-led {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 8px var(--neon);
    animation: nav-pulse 1.6s ease-in-out infinite;
  }
  .cmd-header .cmd-hint { margin-left: auto; opacity: 0.55; font-size: 10px; }
  .cmd-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(57, 255, 122, 0.12);
  }
  .cmd-prompt {
    color: var(--neon);
    font-weight: 700;
    font-size: 14px;
  }
  #cmd-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--ink);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.04em;
  }
  #cmd-input::placeholder { color: var(--ink-dim); opacity: 0.5; }
  .cmd-list {
    max-height: 50vh;
    overflow-y: auto;
    padding: 6px 0;
  }
  .cmd-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    color: var(--ink);
    cursor: pointer;
    border-left: 2px solid transparent;
    transition: background 0.12s, border-color 0.12s;
  }
  .cmd-item:hover,
  .cmd-item.active {
    background: rgba(57, 255, 122, 0.07);
    border-left-color: var(--neon);
  }
  .cmd-item .cmd-key {
    color: var(--neon);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    min-width: 110px;
  }
  .cmd-item .cmd-desc {
    color: var(--ink-dim);
    font-size: 12px;
  }
  .cmd-empty {
    padding: 16px;
    color: var(--ink-dim);
    font-size: 12px;
    text-align: center;
    opacity: 0.7;
  }

  /* ===== TICKER ===== */
  .ticker {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(57, 255, 122, 0.2);
    border-bottom: 1px solid rgba(57, 255, 122, 0.2);
    background: linear-gradient(90deg, rgba(57, 255, 122, 0.04), rgba(57, 255, 122, 0.08), rgba(57, 255, 122, 0.04));
    padding: 14px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--neon);
    white-space: nowrap;
  }
  .ticker::before,
  .ticker::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
  }
  .ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
  .ticker::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
  .ticker-track {
    display: inline-flex;
    gap: 48px;
    padding-left: 48px;
    animation: ticker-scroll 40s linear infinite;
  }
  .ticker-track span { display: inline-flex; align-items: center; gap: 12px; }
  .ticker-track .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 8px var(--neon);
  }
  .ticker-track .dot.dev   { background: #ffb347; box-shadow: 0 0 8px #ffb347; }
  .ticker-track .dot.arc   { background: #5a6677; box-shadow: none; }
  .ticker-track .dot.proto { background: #39d0ff; box-shadow: 0 0 8px #39d0ff; }
  @keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* ===== SECTION TEMPLATE ===== */
  .section {
    padding: 120px 48px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
  }
  .section-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-tag::before {
    content: '[';
    color: var(--neon-dim);
  }
  .section-tag::after {
    content: ']';
    color: var(--neon-dim);
    margin-left: auto;
  }
  .section-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.05;
    letter-spacing: 0.01em;
    color: var(--ink);
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .section-title .neon { color: var(--neon); text-shadow: 0 0 8px var(--neon), 0 0 24px rgba(57, 255, 122, 0.4); }
  .section-sub {
    font-size: 17px;
    color: var(--ink-dim);
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 56px;
  }

  /* ===== GAMES ===== */
  .games-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .game-row {
    display: grid;
    /* minmax(0, …) stops a long game name widening its column and knocking the rows out of line */
    grid-template-columns: 60px minmax(0, 1.4fr) minmax(0, 2fr) 210px 170px 20px;
    gap: 32px;
    align-items: center;
    padding: 24px 28px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
  }
  .game-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--neon);
    opacity: 0;
    transition: opacity 0.2s;
  }
  .game-row:hover {
    border-color: var(--neon);
    background: var(--bg-3);
    transform: translateX(4px);
    box-shadow: 0 0 30px rgba(57, 255, 122, 0.15);
  }
  .game-row:hover::before { opacity: 1; }

  .game-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--neon-dim);
    letter-spacing: 0.1em;
  }
  .game-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    /* shrinks on mid-size screens so long words like ROGUELIKE stay inside their column */
    font-size: clamp(15px, 1.55vw, 22px);
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: 0.02em;
  }
  .game-row:hover .game-name {
    color: var(--neon);
    text-shadow: 0 0 8px rgba(57, 255, 122, 0.5);
  }
  .game-desc {
    font-size: 14px;
    color: var(--ink-dim);
    line-height: 1.5;
  }
  .game-platforms {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .platform {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--neon);
    padding: 3px 8px;
    border: 1px solid var(--line);
  }
  .game-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--neon);
    text-align: right;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
  }
  .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 8px var(--neon);
  }
  .status-dev .status-dot { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
  .status-dev { color: var(--amber); }
  .status-archive { color: var(--ink-dim); }
  .status-archive .status-dot { background: var(--ink-dim); box-shadow: none; }

  .game-arrow {
    color: var(--neon-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    transition: transform 0.2s, color 0.2s;
  }
  .game-row:hover .game-arrow {
    color: var(--neon);
    transform: translateX(4px);
  }

  /* ===== ABOUT / STUDIO ===== */
  .about {
    background:
      linear-gradient(180deg, transparent 0%, rgba(8, 13, 21, 0.6) 30%, rgba(8, 13, 21, 0.6) 70%, transparent 100%);
    padding: 60px 0;
    position: relative;
  }
  .about::before, .about::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
    opacity: 0.5;
  }
  .about::before { top: 0; }
  .about::after { bottom: 0; }

  .studio-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 16px;
  }

  .studio-bio p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink);
    margin-bottom: 18px;
  }
  .studio-bio p strong { color: var(--neon); font-weight: 600; }
  .studio-bio .studio-lede {
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 24px;
  }

  .studio-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .meta-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    padding: 22px 20px;
    transition: all 0.2s;
  }
  .meta-card:hover {
    border-color: var(--neon);
    background: var(--bg-3);
    box-shadow: 0 0 20px rgba(57, 255, 122, 0.1);
  }
  .meta-card-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--neon-dim);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .meta-card-value {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: var(--neon);
    line-height: 1;
    text-shadow: 0 0 8px rgba(57, 255, 122, 0.4);
  }
  .meta-card-value-sm {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--neon);
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(57, 255, 122, 0.4);
    padding-top: 8px;
  }

  /* ===== WHAT-WE-DO ===== */
  .what-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
  .what-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    padding: 32px 28px;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
  }
  .what-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(57, 255, 122, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .what-card:hover {
    border-color: var(--neon);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(57, 255, 122, 0.15);
  }
  .what-card:hover::before { opacity: 1; }
  .what-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--neon-dim);
    letter-spacing: 0.2em;
    margin-bottom: 16px;
  }
  .what-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
    text-shadow: 0 0 4px rgba(57, 255, 122, 0.3);
  }
  .what-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-dim);
  }

  /* ===== CTA ===== */
  .cta {
    text-align: center;
    padding: 120px 48px 140px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
  }
  .cta-frame {
    border: 1px solid var(--neon);
    padding: 70px 50px;
    position: relative;
    background: rgba(8, 13, 21, 0.6);
    box-shadow: 0 0 50px rgba(57, 255, 122, 0.15);
  }
  .cta-frame::before, .cta-frame::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--neon);
  }
  .cta-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
  .cta-frame::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }
  .cta-frame-tr, .cta-frame-bl {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--neon);
  }
  .cta-frame-tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
  .cta-frame-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }

  .cta h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--ink);
  }
  .cta h2 .neon { color: var(--neon); text-shadow: 0 0 12px var(--neon); }
  .cta p {
    font-size: 17px;
    color: var(--ink-dim);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.7;
  }

  /* ===== FOOTER ===== */
  footer {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    padding: 70px 48px 30px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .footer-brand img {
    height: 60px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px rgba(57, 255, 122, 0.3));
  }
  .footer-brand p {
    font-size: 14px;
    color: var(--ink-dim);
    line-height: 1.7;
    max-width: 340px;
  }
  .footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 24px;
  }
  .social-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-dim);
    text-decoration: none;
    transition: all 0.2s;
  }
  .social-btn:hover {
    color: var(--bg);
    background: var(--neon);
    border-color: var(--neon);
    box-shadow: 0 0 16px rgba(57, 255, 122, 0.6);
  }
  footer h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--neon);
    margin-bottom: 18px;
  }
  footer ul { list-style: none; }
  footer li { margin-bottom: 10px; }
  footer a {
    color: var(--ink-dim);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
  }
  footer a:hover { color: var(--neon); text-shadow: 0 0 6px rgba(57, 255, 122, 0.5); }

  .footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 50px;
    padding-top: 24px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ink-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  .footer-bottom-links a {
    /* the long email address must be able to wrap, or it widens the whole page on phones */
    overflow-wrap: anywhere;
    color: var(--ink-dim);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-bottom-links a:hover {
    color: var(--neon);
    text-shadow: 0 0 6px rgba(57, 255, 122, 0.5);
  }
  .footer-sep { color: var(--neon-dim); }

  /* Reveal animations */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Responsive */
  /* in-between widths: tighter columns so long game names still fit before the stacked layout kicks in */
  @media (max-width: 1000px) {
    .game-row { grid-template-columns: 40px minmax(0, 1.4fr) minmax(0, 2fr) 150px 140px 16px; gap: 16px; }
  }
  @media (max-width: 900px) {
    nav { padding: 14px 20px; }
    .nav-logo, .nav-logo img { height: 44px; }
    .nav-links { display: none; }
    .section { padding: 80px 20px; }
    .hero { padding: 130px 20px 80px; }
    .hero-logo { width: 90vw; }
    .game-row {
      grid-template-columns: 1fr;
      gap: 12px;
      padding: 20px;
    }
    .game-num, .game-platforms, .game-status, .game-arrow { display: none; }
    .founder-grid, .studio-grid { grid-template-columns: 1fr; gap: 40px; }
    .what-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .cta-frame { padding: 50px 28px; }
  }

  /* ===== QUOTE + FAQ ===== */
  .studio-quote {
    margin: 8px 0 0;
    padding: 18px 22px;
    border-left: 2px solid var(--neon);
    background: var(--bg-2);
  }
  .studio-bio .studio-quote p { font-size: 17px; font-style: italic; margin-bottom: 8px; }
  .studio-bio .studio-quote .quote-by {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-style: normal;
    color: var(--neon-dim);
    margin: 0;
  }
  .faq-list { margin-top: 40px; display: grid; gap: 14px; }
  .faq-item {
    background: var(--bg-2);
    border: 1px solid var(--line);
    padding: 22px 26px;
  }
  .faq-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.04em;
    color: var(--neon);
    margin-bottom: 10px;
  }
  .faq-item p { color: var(--ink); line-height: 1.7; overflow-wrap: anywhere; }

/* ===== INNER PAGES (games, news, about) ===== */
.page-top { padding-top: 150px; }
.crumbs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  margin-bottom: 28px;
}
.crumbs a { color: var(--neon-dim); text-decoration: none; }
.crumbs a:hover { color: var(--neon); }
.section-sub, .prose, .faq-item p { -webkit-user-select: text; user-select: text; }
.prose { max-width: 780px; }
.prose p, .prose li { font-size: 17px; line-height: 1.75; color: var(--ink); margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 22px; }
.prose a, .faq-item a { color: var(--neon); }
.prose h2, .faq-item h2 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--neon);
  text-shadow: 0 0 2px rgba(57, 255, 122, 0.8), 0 0 8px rgba(57, 255, 122, 0.4);
}
.prose h2 { margin: 44px 0 14px; }
.faq-item h2 { font-size: 16px; margin-bottom: 10px; }
.post-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-dim);
  margin: -8px 0 28px;
}
.post-meta a { color: var(--neon); text-decoration: none; }
.page-facts { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 36px; }
.page-actions { justify-content: flex-start; margin-bottom: 8px; }
a.what-card { display: block; text-decoration: none; color: inherit; }
.page-more { padding-top: 0; }

