:root {
  --bg: #0d1018;
  --surface: #141925;
  --surface-2: #1b2130;
  --text: #f0eee8;
  --muted: #a5a9b6;
  --red: #ff4e3d;
  --red-dark: #9d2e39;
  --blue: #5c8dff;
  --line: rgba(240, 238, 232, .17);
  --display: Arial, Helvetica, sans-serif;
  --mono: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 16px/1.55 var(--display);
  overflow-x: hidden;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }
.site-header {
  width: min(1180px, calc(100% - 56px));
  margin: auto;
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: flex; align-items: center; gap: 10px; font: 700 13px var(--mono); letter-spacing: .08em; }
.wordmark-mark { display: grid; width: 27px; height: 27px; place-items: center; color: var(--bg); background: var(--red); transform: rotate(-8deg); }
nav { display: flex; gap: 25px; color: var(--muted); font: 12px var(--mono); }
nav a:hover, .contact-link:hover { color: var(--red); }
.hero { min-height: 690px; padding: 92px 0 120px; display: grid; grid-template-columns: 1fr .9fr; gap: 64px; align-items: center; }
.label, .section-label, .status, .panel-caption { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.label { color: var(--red); }
.signal { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -.065em; line-height: .96; }
h1 { max-width: 690px; margin: 24px 0 29px; font-size: clamp(3.7rem, 7vw, 7.1rem); }
h1 span, h2 em { color: var(--red); font-style: normal; }
.intro { max-width: 485px; color: var(--muted); font-size: 18px; }
.button { display: inline-flex; gap: 22px; align-items: center; margin-top: 32px; padding: 15px 19px; color: var(--bg); background: var(--red); font: 12px var(--mono); }
.button:hover { background: #ff7567; }
.hero-panel { position: relative; min-height: 440px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, #25345f 0%, #151b35 52%, #100f16 100%); }
.panel-sky { position: absolute; inset: 0 0 44%; background: linear-gradient(180deg, #375ca8 0%, #1f2d5a 75%); opacity: .8; }
.panel-light { position: absolute; width: 130px; height: 130px; top: 24%; left: 34%; border-radius: 50%; background: var(--red); box-shadow: 0 0 80px rgba(255,78,61,.48); }
.panel-road { position: absolute; right: -20%; bottom: -15%; width: 130%; height: 56%; background: #0c0e16; transform: rotate(-13deg); }
.panel-road::after { position: absolute; top: 45%; left: 12%; width: 80%; height: 1px; background: rgba(255,255,255,.3); content: ""; }
.panel-sign { position: absolute; top: 32%; left: 13%; padding: 9px 12px; color: var(--text); border: 2px solid var(--red); background: rgba(13,16,24,.8); font: 700 28px/1 var(--display); letter-spacing: .08em; transform: rotate(-4deg); }
.panel-sign small { display: block; margin-top: 4px; color: var(--blue); font: 11px var(--mono); letter-spacing: .13em; text-align: center; }
.panel-caption { position: absolute; right: 18px; bottom: 18px; color: rgba(240,238,232,.65); }
.game, .studio, .contact { padding: 82px 0 110px; border-top: 1px solid var(--line); }
.section-label { margin-bottom: 42px; color: var(--muted); }
.game-content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.blue-label { color: var(--blue); }
h2 { font-size: clamp(3.1rem, 6vw, 6.5rem); }
.game-description { max-width: 400px; color: var(--muted); font-size: 17px; }
.status { display: inline-block; margin-top: 18px; padding: 8px 10px; color: var(--blue); border: 1px solid var(--blue); }
.studio { display: grid; grid-template-columns: .6fr 1.4fr; gap: 10%; }
.studio h2 { max-width: 750px; }
.studio-text { max-width: 560px; margin: 33px 0 0; color: var(--muted); font-size: 18px; }
.contact { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 80px; }
.contact-link { padding-bottom: 8px; color: var(--blue); border-bottom: 1px solid var(--blue); font: 17px var(--mono); }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 30px; color: #737886; font: 10px var(--mono); }

@media (max-width: 800px) {
  .shell, .site-header { width: min(100% - 36px, 600px); }
  .hero { display: block; padding: 78px 0 90px; }
  .hero-panel { min-height: 320px; margin-top: 56px; }
  .game-content, .studio { grid-template-columns: 1fr; gap: 44px; }
  .contact { display: block; }
  .contact-link { display: inline-block; margin-top: 35px; }
}
@media (max-width: 480px) {
  nav { gap: 12px; font-size: 10px; }
  h1 { font-size: 3.6rem; }
  .site-footer { display: block; }
  .site-footer span { display: block; margin-top: 8px; }
}
