@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/cinzel-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/cinzel-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/cinzel-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --bg-deep: #08080a;
  --surface: #15151a;
  --surface-2: #1b1b21;
  --border: #2a2a30;
  --border-soft: #1d1d22;
  --text: #e8e6e3;
  --text-strong: #f2efea;
  --text-muted: #9a9aa0;
  --text-soft: #b5b3b8;
  --red: #b3121f;
  --red-hover: #d01726;
  --red-glow: #ff2a3d;
  --red-text: #ff4d5c;
  --red-deep: #5a0a10;
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: clamp(20px, 6vw, 96px);
  --max: 1440px;
  --header-h: 82px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
  html, body { background-color: #0b0b0d; }
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

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

body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  background-image: url("../assets/img/noise.svg");
  background-size: 220px 220px;
  opacity: .07;
  animation: grain 1s steps(4) infinite;
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

button { font: inherit; }

::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red-glow); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .12em;
  transition: top .2s;
}

.skip-link:focus { top: 16px; }

.kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--red-text);
  text-transform: uppercase;
}

.muted { color: var(--text-muted); }

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: .06em;
  line-height: 1.2;
  color: var(--text-strong);
}

.dot {
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--red-glow);
  box-shadow: 0 0 10px var(--red-glow);
  animation: pulse 2.4s ease-in-out infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .6s var(--ease);
}

.btn:hover::before { transform: translateX(120%); }

.btn-lg { min-height: 50px; padding: 15px 30px; font-size: 14px; letter-spacing: .2em; }
.btn-sm { padding: 10px 18px; }

.btn-primary { background: var(--red); color: #fff; font-weight: 700; }
.btn-primary:hover { background: var(--red-hover); box-shadow: 0 0 28px rgba(255, 42, 61, .45); }

.btn-outline { background: rgba(11, 11, 13, .35); border-color: rgba(232, 230, 227, .45); color: var(--text); }
.btn-outline:hover { border-color: var(--red-glow); color: #fff; box-shadow: 0 0 22px rgba(255, 42, 61, .3); }

.btn-ghost { background: rgba(11, 11, 13, .45); border-color: #3a3a42; color: var(--text); }
.btn-ghost:hover { border-color: var(--red-glow); color: #fff; box-shadow: 0 0 22px rgba(255, 42, 61, .3); }

.btn.is-disabled { background: rgba(11, 11, 13, .45); color: var(--text-muted); border-color: #3a3a42; cursor: not-allowed; box-shadow: none; }
.btn.is-disabled::before { display: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #c9c6c2;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .16em;
  transition: color .2s;
}

.link-arrow svg { transition: transform .2s; }
.link-arrow:hover { color: #fff; }
.link-arrow:hover svg:last-child { transform: translateX(4px); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(5, 5, 6, .75) 0%, rgba(5, 5, 6, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}

.site-header.is-solid {
  background: rgba(11, 11, 13, .94);
  border-bottom-color: var(--border);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  padding: 0 clamp(20px, 4vw, 56px);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 38px; object-fit: contain; transition: filter .3s; }
.brand:hover img { filter: drop-shadow(0 0 10px rgba(255, 42, 61, .6)); }

.brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .22em;
  color: var(--text-strong);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .18em;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: #c9c6c2;
  text-decoration: none;
  transition: color .2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--red-glow);
  box-shadow: 0 0 8px var(--red-glow);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #5c5c63;
}

.lang-switch button {
  min-width: 32px;
  min-height: 36px;
  padding: 6px 4px;
  background: none;
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s;
}

.lang-switch button:hover { color: var(--red-glow); }
.lang-switch button[aria-pressed="true"] { color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid rgba(232, 230, 227, .3);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span { width: 20px; height: 1.5px; background: var(--text); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 8px 20px 28px;
  border-top: 1px solid var(--border);
  animation: menu-in .3s var(--ease);
}

.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }

.mobile-menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .18em;
  color: var(--text);
  text-decoration: none;
}

.mobile-menu nav a[aria-current="page"] { color: var(--red-text); }
.mobile-menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  background: #050506;
  isolation: isolate;
}

.hero-game { height: 92vh; height: 92svh; max-height: 920px; }

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  transform-origin: 50% 50%;
}

.hero-bg {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  object-position: center 35%;
  transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--sy, 0px)), 0);
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 11, 13, .9) 0%, rgba(11, 11, 13, .55) 38%, rgba(11, 11, 13, .05) 72%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, transparent 40%, rgba(0, 0, 0, .55) 100%);
}

.hero-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 300px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 11, 13, 0) 0%, var(--bg) 100%);
  pointer-events: none;
}

.hero-light {
  position: absolute;
  inset: 0;
  background: #dfe6e8;
  mix-blend-mode: overlay;
  opacity: 0;
  animation: light-flicker 7s infinite;
  pointer-events: none;
}

.hero-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .035) 0, rgba(255, 255, 255, .035) 1px, transparent 1px, transparent 3px);
  animation: scan-flicker 6s infinite steps(1);
}

.hero-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 18%;
  top: -20%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .045), transparent);
  animation: scan-roll 9s linear infinite;
}

.hero-content {
  position: absolute;
  left: 0;
  bottom: clamp(110px, 17vh, 160px);
  max-width: 920px;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  opacity: var(--fade, 1);
  transform: translateY(var(--lift, 0px));
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .14em;
  color: #c9c6c2;
}

.hero-title { display: flex; flex-direction: column; gap: 4px; }

.hero-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(54px, 9vw, 112px);
  line-height: 1;
  letter-spacing: .06em;
  color: var(--text-strong);
  text-shadow: 0 2px 30px rgba(0, 0, 0, .6);
}

.hero-sub {
  padding-left: 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: clamp(.3em, 1vw, .6em);
  color: var(--red-text);
  text-shadow: 0 0 18px rgba(255, 42, 61, .35);
}

.hero-tagline { margin-top: 6px; max-width: 520px; font-size: 18px; color: #c9c6c2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }

.steam-icon { flex: none; }

.hero-scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  width: max-content;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}

.hero-scroll:hover { color: #fff; }
.hero-scroll span { padding-left: .3em; }
.hero-scroll svg { animation: bob 2.2s ease-in-out infinite; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--text-muted);
}

.breadcrumb a { color: #c9c6c2; text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--red-text); }
.breadcrumb [aria-current] { color: var(--text-muted); }

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid #3a3a42;
  background: rgba(11, 11, 13, .55);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c9c6c2;
}

.badge-live { border-color: rgba(255, 42, 61, .45); color: #fff; }

.glitch { position: relative; display: inline-block; }

.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  text-shadow: none;
}

.glitch::before { color: var(--red-glow); animation: glitch-a 9s infinite steps(1) 4s; }
.glitch::after { color: #59d2ff; mix-blend-mode: screen; animation: glitch-b 9s infinite steps(1) 4s; }

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px var(--gutter) 72px;
}

.divider img { width: 40px; height: 45px; object-fit: contain; animation: emblem-glow 4s ease-in-out infinite; }

.divider-line {
  flex: 1;
  max-width: 420px;
  height: 1px;
  background: linear-gradient(90deg, rgba(179, 18, 31, 0), var(--red));
}

.divider-line-r { background: linear-gradient(90deg, var(--red), rgba(179, 18, 31, 0)); }

.content {
  display: flex;
  flex-direction: column;
  gap: 128px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 128px;
  outline: none;
}

.content-inner { gap: 40px; padding-top: 8px; }

.section { display: flex; flex-direction: column; gap: 32px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section-head > div { display: flex; flex-direction: column; gap: 8px; }
.section-head-center { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.section-head-center > div { align-items: center; }
.section-sub { max-width: 640px; }

.empty { color: var(--text-muted); font-family: var(--font-mono); font-size: 14px; }

.media-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .05) 0, rgba(255, 255, 255, .05) 1px, transparent 1px, transparent 3px);
  opacity: 0;
  transition: opacity .35s;
}

.devlog-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.devlog-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.devlog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: border-color .25s, box-shadow .25s;
}

.devlog-card:hover { border-color: var(--red); box-shadow: 0 18px 50px -20px rgba(255, 42, 61, .35); }
.devlog-card:hover .media-scan { opacity: 1; }

.devlog-featured { flex: 999 1 560px; min-width: 0; }
.devlog-small { flex: 1; }

.devlog-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #050506; }
.devlog-small .devlog-media { aspect-ratio: 16 / 8; }

.devlog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .5s ease;
}

.devlog-card:hover .devlog-media img { transform: scale(1.05); filter: brightness(1.12); }

.devlog-body { display: flex; flex-direction: column; gap: 12px; padding: 28px 32px 32px; }
.devlog-small .devlog-body { gap: 8px; padding: 20px 24px 24px; }
.devlog-small .devlog-body { flex: 1; }

.devlog-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.devlog-flag {
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
}

.devlog-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  color: var(--text-strong);
}

.devlog-small .devlog-title, .devlog-tile .devlog-title { font-size: 20px; line-height: 1.3; }
.devlog-featured .devlog-title, .devlog-wide .devlog-title { font-size: clamp(22px, 2.4vw, 30px); }

.devlog-excerpt { max-width: 640px; color: var(--text-soft); }

.devlog-small .devlog-excerpt, .devlog-tile .devlog-excerpt {
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.devlog-tile .devlog-body { gap: 10px; padding: 22px 24px 26px; flex: 1; }

.devlog-read {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--red-text);
}

.devlog-read svg { transition: transform .2s; }
.devlog-card:hover .devlog-read svg { transform: translateX(4px); }

.devlog-row, .devlog-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.devlog-wide { flex-direction: row; flex-wrap: wrap; margin-bottom: 24px; }
.devlog-wide .devlog-media { flex: 1 1 520px; aspect-ratio: auto; min-height: 320px; }
.devlog-wide .devlog-body { flex: 1 1 360px; justify-content: center; padding: clamp(28px, 4vw, 48px); }

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

.shot {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #050506;
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: border-color .25s, box-shadow .25s;
}

.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(.2) brightness(.9);
  transition: transform .7s var(--ease), filter .5s ease;
}

.shot:hover, .shot:focus-visible { border-color: var(--red); box-shadow: 0 0 30px rgba(255, 42, 61, .18); }
.shot:hover img, .shot:focus-visible img { transform: scale(1.06); filter: grayscale(0) brightness(1.05); }

.shot-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 11, 13, .8);
  border: 1px solid var(--red);
  color: var(--red-text);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s var(--ease);
}

.shot:hover .shot-zoom, .shot:focus-visible .shot-zoom { opacity: 1; transform: none; }

.about {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(40px, 6vw, 72px);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  background: radial-gradient(circle at 30% 50%, rgba(179, 18, 31, .16), transparent 65%);
  pointer-events: none;
}

.about-emblem { position: relative; flex: 0 0 auto; margin: 0 auto; }

.about-emblem img {
  width: clamp(110px, 14vw, 160px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255, 42, 61, .25));
  animation: float 6s ease-in-out infinite;
}

.about-text { position: relative; flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-text p:not(.kicker) { max-width: 680px; color: var(--text-soft); font-size: 17px; }
.about-more { align-self: flex-start; margin-top: 4px; }

.collab-panel {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
  padding: clamp(32px, 5vw, 56px);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px),
    linear-gradient(115deg, #1a0a0d 0%, var(--surface) 55%);
  border: 1px solid rgba(255, 42, 61, .35);
  overflow: hidden;
}

.collab-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 42, 61, .7);
}

.collab-panel::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  width: 360px;
  height: 360px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(179, 18, 31, .22), transparent 65%);
  pointer-events: none;
}

.collab-text { position: relative; flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.collab-text p:not(.kicker) { max-width: 620px; color: var(--text-soft); font-size: 17px; }
.collab-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; }
@media (max-width: 560px) { .collab-btn { width: 100%; } }
.collab-btn svg { flex: none; transition: transform .2s; }
.collab-btn:hover svg { transform: translateX(4px); }

.about-page { gap: clamp(64px, 9vw, 112px); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.value-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .25s, transform .35s var(--ease);
}

.value-card:hover { border-color: rgba(255, 42, 61, .5); transform: translateY(-3px); }
.value-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; color: var(--red-text); }
.value-card h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; }
.value-card p { color: var(--text-soft); }

.project-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(280px, 36vw, 400px);
  border: 1px solid var(--border);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
}

.project-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.8) brightness(.6);
  transition: transform .8s var(--ease), filter .4s;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 11, 13, .92) 0%, rgba(11, 11, 13, .55) 55%, transparent 100%);
}

.project-card:hover .project-card-bg { transform: scale(1.04); filter: saturate(1) brightness(.7); }
.project-card:hover { border-color: rgba(255, 42, 61, .5); }

.project-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  padding: clamp(28px, 5vw, 48px);
}

.project-card-body > p:not(.kicker) { color: var(--text-soft); }
.project-card-title { display: flex; flex-direction: column; gap: 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.5vw, 52px); line-height: 1; letter-spacing: .06em; }
.project-card-title span { font-weight: 500; font-size: clamp(13px, 1.4vw, 17px); letter-spacing: .5em; color: var(--red-text); }
.project-card:hover .link-arrow { color: #fff; }
.project-card:hover .link-arrow svg:last-child { transform: translateX(4px); }

.social { align-items: center; }

.social-grid {
  width: 100%;
  max-width: 1140px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}

.social-card:hover { border-color: var(--red); background: #16090b; box-shadow: 0 0 24px rgba(255, 42, 61, .18); }

.social-icon { flex: none; color: #c9c6c2; transition: color .25s, transform .35s var(--ease); }
.social-card:hover .social-icon { color: var(--red-glow); transform: scale(1.12); }
.social-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.social-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: .12em; }
.social-handle { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 10vw, 120px)) var(--gutter) clamp(56px, 8vw, 96px);
  isolation: isolate;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 15% 0%, rgba(179, 18, 31, .22), transparent 70%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(90, 10, 16, .25), transparent 70%),
    linear-gradient(180deg, #0d0d10 0%, var(--bg) 100%);
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(179, 18, 31, .7), transparent);
}

.page-hero-noise {
  position: absolute;
  inset: -50%;
  background-image: url("../assets/img/noise.svg");
  background-size: 180px 180px;
  opacity: .05;
}

.page-hero-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .025) 0, rgba(255, 255, 255, .025) 1px, transparent 1px, transparent 4px);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  letter-spacing: .05em;
  color: var(--text-strong);
}

.page-intro { max-width: 560px; font-size: 18px; color: var(--text-soft); }
.page-hero-link { margin-top: 4px; color: var(--red-text); }
.page-hero-link:hover { color: #fff; }

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

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(380px, 38vw, 520px);
  overflow: hidden;
  background: #050506;
  border: 1px solid var(--border);
  isolation: isolate;
  transition: border-color .3s, box-shadow .3s;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 5, 6, .05) 30%, rgba(5, 5, 6, .92) 100%);
  pointer-events: none;
}

.game-card:not(.game-card-locked):hover { border-color: var(--red); box-shadow: 0 0 0 1px rgba(255, 42, 61, .25), 0 30px 80px -30px rgba(255, 42, 61, .45); }
.game-card:hover .media-scan { opacity: 1; }

.game-card-link { position: absolute; inset: 0; z-index: 2; }
.game-card-link:focus-visible { outline-offset: -4px; }

.game-card-media { position: absolute; inset: 0; z-index: -2; }

.game-card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.25) brightness(.85);
  transition: transform 1.2s var(--ease), filter .6s;
}

.game-card:hover .game-card-media > img { transform: scale(1.06); filter: grayscale(0) brightness(1); }

.game-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 3vw, 36px);
  padding-right: clamp(24px, 3vw, 200px);
  pointer-events: none;
}

.game-card-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c9c6c2;
}

.game-card-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: .06em;
  color: var(--text-strong);
}

.game-card-title span {
  font-weight: 500;
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: .5em;
  color: var(--red-text);
}

.game-card-genre { color: var(--text-soft); font-size: 15px; }

.game-card-steam {
  position: absolute;
  right: clamp(20px, 2.4vw, 32px);
  bottom: clamp(20px, 2.4vw, 32px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s, box-shadow .2s;
}

.game-card:hover .game-card-steam, .game-card:focus-within .game-card-steam { opacity: 1; transform: none; }

.game-card-steam-soon {
  padding: 10px 16px;
  border: 1px solid #3a3a42;
  background: rgba(11, 11, 13, .75);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--text-muted);
  pointer-events: none;
}

.game-card-locked { background: #0a0a0c; }
.game-card-locked .game-card-media { display: flex; align-items: center; justify-content: center; }
.game-card-locked .crt-static { opacity: .14; }
.game-card-locked .game-card-title { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: .1em; }
.game-card-locked .game-card-status { color: var(--red-text); }

.locked-icon {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 18%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(11, 11, 13, .8);
  color: var(--text-muted);
  animation: locked-pulse 3.6s ease-in-out infinite;
}

.overview {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.overview-main { display: flex; flex-direction: column; gap: 12px; }
.overview-text { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.overview-text p { color: var(--text-soft); font-size: 17px; max-width: 700px; }

.fact-sheet {
  position: relative;
  padding: 28px 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.fact-sheet::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.fact-sheet h3 {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-text);
}

.fact-sheet dl { margin: 0; }

.fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
}

.fact:last-child { border-bottom: 0; }
.fact dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); padding-top: 2px; }
.fact dd { margin: 0; text-align: right; color: var(--text-strong); font-weight: 500; }

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

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease);
}

.feature::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--red-glow);
  box-shadow: 0 0 14px var(--red-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

.feature:hover { border-color: #3a3a42; }
.feature:hover::after { transform: scaleX(1); }

.feature-index {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: rgba(255, 255, 255, .05);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 42, 61, .35);
  color: var(--red-text);
  background: rgba(179, 18, 31, .08);
  transition: box-shadow .3s;
}

.feature:hover .feature-icon { box-shadow: 0 0 22px rgba(255, 42, 61, .3); }
.feature-title { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: .04em; color: var(--text-strong); }
.feature-text { color: var(--text-soft); }

.trailer-section { align-items: center; }

.trailer-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  padding: clamp(10px, 1.4vw, 18px);
  background: #121216;
  border: 1px solid var(--border);
  box-shadow: 0 0 80px rgba(255, 42, 61, .08);
}

.trailer-frame iframe, .trailer-play, .trailer-soon {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.trailer-soon {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background: #050506;
}

.trailer-soon-title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 40px);
  letter-spacing: .14em;
  color: var(--text-strong);
  text-shadow: 3px 0 rgba(255, 42, 61, .6), -3px 0 rgba(80, 200, 255, .3);
  animation: glitch 4s infinite steps(1);
}

.trailer-soon-text { position: relative; color: var(--text-soft); font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; }

.trailer-play { position: relative; padding: 0; background: #000; cursor: pointer; overflow: hidden; }
.trailer-play img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s, transform .8s var(--ease); }
.trailer-play:hover img { opacity: 1; transform: scale(1.03); }

.trailer-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 40px rgba(255, 42, 61, .55);
  transition: transform .3s var(--ease);
}

.trailer-play:hover .trailer-play-icon { transform: translate(-50%, -50%) scale(1.08); }

.compare-list { display: flex; flex-direction: column; gap: 24px; }
.compare { margin: 0; display: flex; flex-direction: column; gap: 12px; }

.compare-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #050506;
  user-select: none;
}

.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-after { clip-path: inset(0 0 0 var(--pos, 50%)); }

.compare-label {
  position: absolute;
  top: 16px;
  padding: 6px 12px;
  background: rgba(11, 11, 13, .8);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: #c9c6c2;
  pointer-events: none;
}

.compare-label-before { left: 16px; }
.compare-label-after { right: 16px; border-color: rgba(255, 42, 61, .5); color: #fff; }

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  margin-left: -1px;
  background: var(--red-glow);
  box-shadow: 0 0 14px var(--red-glow);
  pointer-events: none;
}

.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 42, 61, .6);
  transition: transform .2s var(--ease);
}

.compare-stage:hover .compare-knob { transform: translate(-50%, -50%) scale(1.08); }
.compare-stage:focus-within .compare-knob { outline: 2px solid #fff; outline-offset: 3px; }

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  touch-action: pan-y;
}

.compare figcaption { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }

.phase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.phase-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  background: none;
  border: 0;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .12em;
  cursor: pointer;
  transition: color .2s;
}

.phase-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--red-glow);
  box-shadow: 0 0 10px var(--red-glow);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}

.phase-tab:hover { color: #fff; }
.phase-tab[aria-selected="true"] { color: #fff; }
.phase-tab[aria-selected="true"]::after { transform: scaleX(1); }
.phase-tab[aria-disabled="true"] { cursor: not-allowed; color: #5c5c63; }

.phase-tab-count {
  padding: 2px 8px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-muted);
}

.phase-tab[aria-selected="true"] .phase-tab-count { border-color: rgba(255, 42, 61, .5); color: var(--red-text); }

.follow-band {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(ellipse 50% 120% at 0% 50%, rgba(179, 18, 31, .18), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
}

.follow-text { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.follow-icons { display: flex; flex-wrap: wrap; gap: 12px; }

.follow-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--bg);
  color: #c9c6c2;
  transition: color .25s, border-color .25s, box-shadow .25s, transform .3s var(--ease);
}

.follow-icon:hover { color: var(--red-glow); border-color: var(--red); box-shadow: 0 0 22px rgba(255, 42, 61, .25); transform: translateY(-3px); }

.devlog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, box-shadow .2s;
}

.chip:hover { border-color: #4a4a52; color: #fff; }
.chip[aria-pressed="true"] { border-color: var(--red); background: rgba(179, 18, 31, .14); color: #fff; box-shadow: 0 0 18px rgba(255, 42, 61, .15); }
.chip-count { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.chip[aria-pressed="true"] .chip-count { color: var(--red-text); }

.devlog-count { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; color: var(--text-muted); text-transform: uppercase; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.devlog-tools { display: flex; flex-wrap: nowrap; align-items: center; gap: 16px 24px; margin-left: auto; }
.devlog-tools .devlog-count { white-space: nowrap; }

.devlog-search { position: relative; display: flex; align-items: center; width: min(300px, 100%); }
.devlog-search[hidden] { display: none; }

.devlog-search-icon { position: absolute; left: 14px; color: var(--text-muted); pointer-events: none; }

.devlog-search input {
  width: 100%;
  min-height: 42px;
  padding: 8px 40px 8px 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}

.devlog-search input::placeholder { color: #6e6e76; }
.devlog-search input::-webkit-search-cancel-button { appearance: none; }
.devlog-search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 18px rgba(255, 42, 61, .2); }
.devlog-search:focus-within .devlog-search-icon { color: var(--red-text); }

.devlog-search-clear {
  position: absolute;
  right: 4px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
}

.devlog-search-clear[hidden] { display: none; }
.devlog-search-clear:hover { color: var(--red-glow); }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.pagination[hidden] { display: none; }

.page-list { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }

.page-num, .page-btn {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, box-shadow .2s;
}

.page-btn { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .12em; padding: 0 16px; }

.page-num:hover, .page-btn:hover:not(:disabled) { border-color: #4a4a52; color: #fff; }

.page-num[aria-current="page"] {
  border-color: var(--red);
  background: rgba(179, 18, 31, .16);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 42, 61, .2);
  cursor: default;
}

.page-btn:disabled { opacity: .35; cursor: not-allowed; }
.page-gap { min-width: 24px; text-align: center; color: var(--text-muted); font-family: var(--font-mono); }

.article { padding-bottom: 120px; }

.article-hero {
  position: relative;
  min-height: clamp(460px, 70vh, 680px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 60px) var(--gutter) clamp(40px, 6vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.article-cover { position: absolute; inset: 0; z-index: -1; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) brightness(.7); }

.article-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 13, .55) 0%, rgba(11, 11, 13, .4) 40%, var(--bg) 100%);
}

.article-head {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.back-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  color: #c9c6c2;
  text-decoration: none;
  transition: color .2s;
}

.back-link svg { transition: transform .2s; }
.back-link:hover { color: #fff; }
.back-link:hover svg { transform: translateX(-4px); }

.article-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: .03em;
  color: var(--text-strong);
}

.article-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-soft); max-width: 680px; }

.article-body { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: content-box; }

.prose { font-size: 17.5px; line-height: 1.8; color: #d6d4d1; }
.prose > * + * { margin-top: 1.25em; }

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 14px;
}

.prose h2::before {
  content: "";
  flex: none;
  width: 18px;
  height: 2px;
  background: var(--red-glow);
  box-shadow: 0 0 10px var(--red-glow);
}

.prose h3 { margin-top: 1.8em; font-family: var(--font-display); font-size: 21px; color: var(--text-strong); }
.prose strong { color: var(--text-strong); font-weight: 600; }
.prose em { color: #fff; }
.prose a { color: var(--red-text); text-underline-offset: 3px; }
.prose a:hover { color: #fff; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--red-text); }

.prose blockquote {
  margin: 1.8em 0;
  padding: 18px 24px;
  border-left: 2px solid var(--red-glow);
  background: rgba(179, 18, 31, .08);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.5;
  color: var(--text-strong);
}

.prose blockquote p { margin: 0; }

.prose code {
  padding: 2px 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: .85em;
  color: #f0c4c8;
}

.prose pre {
  overflow-x: auto;
  padding: 20px 22px;
  background: #0e0e12;
  border: 1px solid var(--border);
  border-left: 2px solid var(--red);
  font-size: 14px;
  line-height: 1.7;
}

.prose pre code { padding: 0; border: 0; background: none; color: #e1dfdc; font-size: inherit; }

.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; border: 1px solid var(--border); }
.prose figcaption { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--text-muted); }
.prose hr { border: 0; height: 1px; background: var(--border); margin: 2.5em 0; }

.share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.share-label { margin-right: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--text-muted); }

.share-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: #c9c6c2;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.share-btn:hover { color: var(--red-glow); border-color: var(--red); }
.share-status { font-family: var(--font-mono); font-size: 12px; color: #7fd1a2; opacity: 0; transition: opacity .3s; }
.share-status.is-visible { opacity: 1; }

.article-nav {
  max-width: 820px;
  margin: 72px auto 0;
  padding: 0 var(--gutter);
  box-sizing: content-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-nav-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color .25s, box-shadow .25s;
}

.article-nav-item.is-empty { visibility: hidden; }
.article-nav-item:hover { border-color: var(--red); box-shadow: 0 0 24px rgba(255, 42, 61, .15); }
.article-nav-older { text-align: right; }
.article-nav-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--red-text); }
.article-nav-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--text-strong); }

.site-footer { position: relative; background: var(--bg-deep); border-top: 1px solid var(--border); overflow: hidden; }

.footer-glow {
  position: absolute;
  left: 50%;
  top: -1px;
  width: min(700px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--red-glow), transparent);
  box-shadow: 0 0 24px 2px rgba(255, 42, 61, .45);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.footer-logo img { width: 120px; height: 120px; object-fit: contain; transition: filter .4s; }
.footer-logo:hover img { filter: drop-shadow(0 0 20px rgba(255, 42, 61, .4)); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 32px; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .18em; }
.footer-nav a { color: #c9c6c2; text-decoration: none; transition: color .2s; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: #fff; }

.footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.footer-actions .btn { margin-left: 12px; }

.icon-link { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: color .2s; }
.icon-link:hover { color: var(--red-glow); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8a8a92;
}

dialog { color: var(--text); }
dialog::backdrop { background: rgba(5, 5, 6, .88); backdrop-filter: blur(4px); }

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.lightbox[open] { display: flex; align-items: center; justify-content: center; }

.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(1400px, calc(100vw - 160px)); }
.lb-figure img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border: 1px solid var(--border); animation: lb-in .3s var(--ease); }
.lb-figure figcaption { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--text-muted); }

.lb-close, .lb-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 11, 13, .7);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.lb-close:hover, .lb-nav:hover { border-color: var(--red-glow); color: var(--red-glow); }
.lb-close { top: 20px; right: 20px; width: 48px; height: 48px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 72px; }
.lb-nav[hidden] { display: none; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.modal { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--border); background: var(--surface); overflow: auto; }
.modal[open] { animation: lb-in .3s var(--ease); }
.modal-box { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(28px, 5vw, 44px); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.modal-close:hover { color: var(--red-glow); border-color: var(--border); }

#contact-form { display: flex; flex-direction: column; gap: 18px; margin-top: 12px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #c9c6c2; }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 18px rgba(255, 42, 61, .2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-glow); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; font-size: 14px; color: var(--text-soft); }
.form-note { margin-top: -4px; font-size: 13px; color: var(--text-muted); text-align: center; }
.form-status.is-error { color: var(--red-text); }
.form-status.is-ok { color: #7fd1a2; }
#contact-submit { align-self: flex-start; }
#contact-submit[disabled] { opacity: .6; cursor: wait; }

.data-notice {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 300;
  width: min(720px, calc(100vw - 32px));
  padding: 16px 52px 16px 20px;
  background: var(--surface);
  border: 1px solid var(--red);
  box-shadow: 0 0 30px rgba(255, 42, 61, .25);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.data-notice strong { color: var(--red-text); }

.data-notice-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
}

.data-notice-close:hover { color: var(--red-glow); }

.status-body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 35%, #16090b 0%, var(--bg) 60%);
}

.status-page { width: min(640px, 100%); padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.status-brand { margin-bottom: 24px; }
.status-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 5vw, 44px); line-height: 1.15; letter-spacing: .04em; color: var(--text-strong); }
.status-text { max-width: 480px; color: var(--text-soft); }
.status-page .btn { margin-top: 12px; }

.status-icon {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border: 1px solid var(--red);
  color: var(--red-text);
  box-shadow: 0 0 30px rgba(255, 42, 61, .2);
}

.crt { width: min(360px, 80vw); padding: 14px; margin-bottom: 12px; background: #121216; border: 1px solid var(--border); box-shadow: 0 0 60px rgba(255, 42, 61, .12); }

.crt-screen {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #050506;
  border-radius: 14px / 18px;
}

.crt-static {
  position: absolute;
  inset: -50%;
  background-image: url("../assets/img/noise.svg");
  background-size: 160px 160px;
  opacity: .35;
  animation: grain .4s steps(4) infinite;
}

.crt-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .05) 0, rgba(255, 255, 255, .05) 1px, transparent 1px, transparent 3px);
  animation: scan-flicker 4s infinite steps(1);
}

.crt-code {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  letter-spacing: .08em;
  color: var(--text-strong);
  text-shadow: 3px 0 rgba(255, 42, 61, .7), -3px 0 rgba(80, 200, 255, .35);
  animation: glitch 3s infinite steps(1);
}

.crt-label { position: relative; font-family: var(--font-mono); font-size: 13px; letter-spacing: .3em; color: var(--red-text); }

.intro-item { animation: rise .9s var(--ease) both; animation-delay: calc(.15s + var(--i, 0) * .1s); }

.hero-name { animation: title-in 1.3s var(--ease) both; animation-delay: inherit; }
.page-title.intro-item { animation-name: title-in; animation-duration: 1.2s; }

.type-on { display: inline-block; animation: type-on 1.2s steps(34) both; animation-delay: .3s; }

html.js:not(.no-intro) .hero-home .hero-media { animation: crt-on 1.5s var(--ease) both; }
html.js:not(.no-intro) .hero-home .intro-item { animation-delay: calc(1.25s + var(--i, 0) * .14s); }
html.js:not(.no-intro) .hero-home .type-on { animation-delay: 1.3s; }
html.js:not(.no-intro) [data-page="home"] .site-header { animation: fade-in .9s ease both 1.4s; }
html.js:not(.no-intro) .hero-home .hero-fade { animation: fade-in 1s ease both .9s; }

html.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .25s, box-shadow .25s, background .25s;
  transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s, 0s;
}

html.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes crt-on {
  0% { transform: scale(0, .004); filter: brightness(10); opacity: 0; }
  10% { transform: scale(.4, .004); filter: brightness(10); opacity: 1; }
  22% { transform: scale(1, .004); filter: brightness(8); }
  42% { transform: scale(1, 1); filter: brightness(2.4) contrast(1.3); }
  52% { filter: brightness(.5); }
  60% { filter: brightness(1.6); }
  68% { filter: brightness(.8); }
  100% { transform: none; filter: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@keyframes title-in {
  from { opacity: 0; letter-spacing: .32em; filter: blur(12px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes type-on {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@keyframes glitch-a {
  0%, 92%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  92.5% { opacity: .85; transform: translate(-5px, 1px); clip-path: inset(12% 0 58% 0); }
  93.5% { opacity: .85; transform: translate(4px, -2px); clip-path: inset(62% 0 8% 0); }
  94.5% { opacity: .7; transform: translate(-2px, 0); clip-path: inset(38% 0 40% 0); }
  95.5% { opacity: 0; }
}

@keyframes glitch-b {
  0%, 92%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  92.5% { opacity: .6; transform: translate(5px, -1px); clip-path: inset(55% 0 20% 0); }
  93.5% { opacity: .6; transform: translate(-4px, 2px); clip-path: inset(5% 0 70% 0); }
  94.5% { opacity: 0; }
}

@keyframes glitch {
  0%, 100% { transform: none; }
  62% { transform: translateX(-4px) skewX(8deg); }
  63% { transform: translateX(3px); }
  64% { transform: none; }
  88% { transform: translateY(2px) skewX(-6deg); }
  89% { transform: none; }
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-5%, 3%); }
  50% { transform: translate(4%, -4%); }
  75% { transform: translate(-3%, -2%); }
  100% { transform: translate(0, 0); }
}

@keyframes scan-flicker {
  0%, 100% { opacity: 1; }
  42% { opacity: .75; }
  43% { opacity: 1; }
  71% { opacity: .85; }
  72% { opacity: 1; }
}

@keyframes scan-roll { from { top: -20%; } to { top: 110%; } }

@keyframes light-flicker {
  0%, 47%, 49%, 52%, 53%, 100% { opacity: 0; }
  48% { opacity: .35; }
  52.5% { opacity: .25; }
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes emblem-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 42, 61, 0)); } 50% { filter: drop-shadow(0 0 12px rgba(255, 42, 61, .55)); } }
@keyframes locked-pulse { 0%, 100% { box-shadow: 0 0 0 rgba(255, 42, 61, 0); } 50% { box-shadow: 0 0 26px rgba(255, 42, 61, .25); color: var(--red-text); } }
@keyframes lb-in { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 1100px) {
  .devlog-row, .devlog-cards, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games-grid { grid-template-columns: 1fr; }
  .overview { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-links, .nav-contact, .nav-actions > .lang-switch { display: none; }
  .nav-toggle { display: flex; }
  .brand span { font-size: 15px; letter-spacing: .18em; }
}

@media (max-width: 720px) {
  .devlog-row, .devlog-cards, .feature-grid { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-older { text-align: left; }
  .article-nav-item.is-empty { display: none; }
  .game-card-body { padding-right: clamp(24px, 3vw, 36px); padding-bottom: 92px; }
  .game-card-steam { opacity: 1; transform: none; left: 24px; right: auto; bottom: 24px; }
  .game-card-locked .game-card-body { padding-bottom: clamp(24px, 3vw, 36px); }
  .game-card-locked .game-card-media { align-items: flex-start; padding-top: 56px; }
  .locked-icon { margin-bottom: 0; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .hero-content { bottom: 96px; }
  .hero-tagline { font-size: 16px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .content { gap: 96px; padding-bottom: 96px; }
  .content-inner { gap: 32px; }
  .divider { padding-bottom: 48px; }
  .devlog-body { padding: 22px 22px 26px; }
  .shot-grid { grid-template-columns: 1fr; }
  .lb-figure { width: calc(100vw - 24px); }
  .lb-nav { top: auto; bottom: 20px; transform: none; width: 56px; height: 52px; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-actions .btn { margin-left: 0; margin-top: 8px; }
  .compare-label { top: 10px; font-size: 10px; padding: 4px 8px; }
  .compare-label-before { left: 10px; }
  .compare-label-after { right: 10px; }
  .devlog-tools { flex-wrap: wrap; margin-left: 0; width: 100%; justify-content: space-between; }
  .devlog-search { width: 100%; }
  .page-btn-text { display: none; }
  .page-btn { padding: 0 12px; min-width: 40px; height: 40px; }
  .pagination { gap: 6px; }
  .page-list { gap: 4px; }
  .page-num { min-width: 40px; height: 40px; padding: 0 8px; }
  .phase-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .phase-tabs::-webkit-scrollbar { display: none; }
  .phase-tab { flex: none; padding: 12px 14px; font-size: 12px; }
  .fact { flex-direction: column; gap: 2px; }
  .fact dd { text-align: left; }
  .prose { font-size: 16.5px; }
}

@media (hover: none) {
  .game-card-steam { opacity: 1; transform: none; }
  .shot-zoom { opacity: 1; transform: none; }
}

@media (hover: none), (max-width: 900px) {
  body::after { inset: 0; animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
