:root {
  color-scheme: dark;
  --ink: #090b0f;
  --panel: #11151b;
  --paper: #e8e1d1;
  --muted: #9a978d;
  --line: rgba(232, 225, 209, 0.17);
  --signal: #e9a23b;
  --hot: #ff6838;
  --acid: #bbd968;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

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

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 6%, rgba(233, 162, 59, 0.09), transparent 25rem),
    linear-gradient(180deg, #0c0f14 0%, var(--ink) 55%);
}

a { color: inherit; }

.frame { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.noise {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.identity {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--paper);
  text-decoration: none;
}

.identity-mark { width: 36px; height: 36px; fill: var(--paper); }
.identity-mark .identity-cut { fill: var(--ink); }
.identity span { display: grid; gap: 1px; }
.identity strong, .identity small, .network-status, .kicker, .release-label, .beta-badge, .feature-list, .play-button small, .incoming, .site-footer, .visual-status, .coordinate, .visual-subtitle, .visual-cta, .dispatch { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.identity strong { font-size: 0.8rem; letter-spacing: 0.18em; }
.identity small { color: var(--muted); font-size: 0.58rem; letter-spacing: 0.2em; }

.network-status {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.15em;
}

.network-status i, .visual-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(187, 217, 104, 0.75);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 80px;
  align-items: end;
  padding-block: clamp(76px, 11vw, 150px) clamp(84px, 10vw, 132px);
}

.kicker {
  margin: 0 0 23px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.kicker span { color: var(--signal); }

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

h1 {
  max-width: 840px;
  margin-bottom: 32px;
  font-size: clamp(3.6rem, 8.8vw, 7.4rem);
  font-weight: 750;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

h1 em { color: var(--signal); font-family: Georgia, serif; font-weight: 400; }

.intro {
  max-width: 660px;
  margin-bottom: 0;
  color: #aaa69c;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.72;
}

.dispatch {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.dispatch::before, .dispatch::after {
  position: absolute;
  width: 12px;
  height: 12px;
  content: "";
}

.dispatch::before { top: -1px; left: -1px; border-top: 1px solid var(--signal); border-left: 1px solid var(--signal); }
.dispatch::after { right: -1px; bottom: -1px; border-right: 1px solid var(--signal); border-bottom: 1px solid var(--signal); }
.dispatch > span { display: block; color: var(--muted); font-size: 0.57rem; letter-spacing: 0.13em; }
.dispatch strong { display: block; margin: 14px 0 0; color: var(--paper); font-family: Georgia, serif; font-size: 4.8rem; font-weight: 400; line-height: 0.9; }
.dispatch p { margin: 6px 0 24px; color: var(--signal); font-size: 0.67rem; letter-spacing: 0.13em; }
.dispatch small { color: #6e6e68; font-size: 0.54rem; letter-spacing: 0.1em; }

.catalog { padding-bottom: 110px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 27px 0;
  border-top: 1px solid var(--line);
}

.section-heading .kicker { margin-bottom: 8px; color: var(--signal); }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.045em; }
.section-heading > p { margin-bottom: 2px; color: var(--muted); font-family: "SFMono-Regular", Consolas, monospace; font-size: 0.64rem; line-height: 1.7; letter-spacing: 0.08em; text-align: right; }

.game-card {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(300px, 0.85fr);
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.game-visual {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  color: var(--paper);
  text-decoration: none;
  isolation: isolate;
  background:
    radial-gradient(circle at 67% 24%, rgba(255, 175, 74, 0.16), transparent 16%),
    linear-gradient(180deg, #19202a 0%, #131921 31%, #392b24 31.2%, #151313 100%);
}

.game-visual::before {
  position: absolute;
  z-index: 7;
  inset: 0;
  border: 0 solid var(--signal);
  content: "";
  transition: border-width 180ms ease;
}

.game-visual::after {
  position: absolute;
  z-index: 6;
  inset: 0;
  content: "";
  opacity: 0.38;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, 0.14) 4px);
  mix-blend-mode: multiply;
}

.game-visual:hover::before, .game-visual:focus-visible::before { border-width: 5px; }
.game-visual:focus-visible { outline: 2px solid var(--paper); outline-offset: -5px; }

.visual-status, .coordinate {
  position: absolute;
  z-index: 9;
  top: 24px;
  font-size: 0.58rem;
  letter-spacing: 0.13em;
}

.visual-status { left: 25px; display: flex; gap: 8px; align-items: center; }
.coordinate { right: 25px; color: rgba(232, 225, 209, 0.55); }

.visual-logo {
  position: absolute;
  z-index: 5;
  top: 80px;
  left: 50%;
  font-size: clamp(4.5rem, 10vw, 8.8rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.105em;
  text-shadow: 10px 10px 0 rgba(0, 0, 0, 0.22);
  transform: translateX(-52%);
}

.visual-logo span { color: var(--signal); }

.visual-subtitle {
  position: absolute;
  z-index: 5;
  top: 176px;
  left: 50%;
  color: rgba(232, 225, 209, 0.75);
  font-size: 0.59rem;
  letter-spacing: 0.28em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.terrain { position: absolute; z-index: 1; left: -4%; width: 108%; }
.terrain-one { top: 31%; height: 31%; background: linear-gradient(176deg, #594333 0 14%, #382a25 15% 100%); clip-path: polygon(0 0, 9% 8%, 17% 2%, 27% 10%, 36% 5%, 44% 13%, 55% 4%, 66% 12%, 77% 3%, 89% 9%, 100% 2%, 100% 100%, 0 100%); }
.terrain-two { top: 53%; height: 30%; background: linear-gradient(176deg, #242323 0 12%, #333033 13% 60%, #211f23 61%); clip-path: polygon(0 4%, 14% 0, 29% 7%, 42% 1%, 58% 8%, 73% 2%, 88% 10%, 100% 4%, 100% 100%, 0 100%); }
.terrain-three { bottom: 0; height: 28%; background: linear-gradient(180deg, #17171a, #0b0b0d 62%, #3c1813); clip-path: polygon(0 4%, 11% 9%, 26% 1%, 43% 7%, 61% 0, 77% 8%, 91% 2%, 100% 7%, 100% 100%, 0 100%); }

.shaft {
  position: absolute;
  z-index: 2;
  top: 31%;
  left: 59%;
  width: 54px;
  height: 70%;
  background: linear-gradient(90deg, #100e0f, #070708 47%, #211714 50%, #0a0909 55%, #110e0e);
  clip-path: polygon(24% 0, 85% 0, 64% 25%, 91% 42%, 52% 61%, 78% 78%, 33% 100%, 0 100%, 24% 78%, 5% 58%, 35% 37%, 10% 18%);
  transform: rotate(3deg);
}

.miner {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 55%;
  width: 18px;
  height: 31px;
  border: 3px solid #151515;
  background: var(--signal);
  box-shadow: -7px 8px 0 -4px #ded7c8, 7px 8px 0 -4px #ded7c8, 0 -9px 0 -3px #ded7c8;
  transform: rotate(8deg);
}

.miner::after { position: absolute; top: 8px; left: 12px; width: 25px; height: 5px; content: ""; background: #d6d0c3; transform: rotate(-20deg); transform-origin: left; }
.miner i { position: absolute; top: -7px; left: 5px; width: 8px; height: 3px; background: #fff1bd; box-shadow: 8px 0 12px #ffd164; }

.blast {
  position: absolute;
  z-index: 3;
  top: 66%;
  left: 30%;
  width: 54px;
  height: 54px;
  border-radius: 49% 42% 52% 35%;
  background: #ffdb7a;
  box-shadow: 0 0 0 13px #f27031, 0 0 0 28px rgba(113, 38, 24, 0.58), 0 0 55px 25px rgba(255, 88, 31, 0.32);
  animation: throb 3.2s ease-in-out infinite;
}

.blast i { position: absolute; width: 7px; height: 7px; background: #cb6431; box-shadow: 0 0 0 2px #1b1615; }
.blast i:nth-child(1) { left: -57px; top: -17px; transform: rotate(20deg); }
.blast i:nth-child(2) { left: 83px; top: -32px; transform: rotate(58deg); }
.blast i:nth-child(3) { left: 103px; top: 38px; transform: rotate(13deg); }
.blast i:nth-child(4) { left: -33px; top: 91px; transform: rotate(70deg); }
.blast i:nth-child(5) { left: 66px; top: 102px; transform: rotate(31deg); }

.visual-cta {
  position: absolute;
  z-index: 9;
  right: 25px;
  bottom: 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--paper);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.visual-cta b { color: var(--signal); font-size: 1rem; transition: transform 180ms ease; }
.game-visual:hover .visual-cta b { transform: translate(3px, -3px); }

.game-details { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 52px); background: #11151a; }
.game-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.release-label { color: var(--muted); font-size: 0.6rem; letter-spacing: 0.14em; }
.game-title-row h3 { margin: 5px 0 0; font-size: clamp(3rem, 5vw, 5rem); line-height: 0.9; letter-spacing: -0.075em; }
.beta-badge { padding: 7px 9px; color: #15130f; background: var(--signal); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; }
.game-pitch { margin: 42px 0 34px; color: #aaa69c; font-size: 0.96rem; line-height: 1.72; }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 36px; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.feature-list li { position: relative; padding: 13px 6px 13px 15px; border-bottom: 1px solid var(--line); color: #c5c0b5; font-size: 0.59rem; letter-spacing: 0.06em; }
.feature-list li::before { position: absolute; top: 17px; left: 1px; width: 5px; height: 5px; content: ""; background: var(--signal); }
.feature-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.feature-list li:nth-child(even) { padding-left: 21px; }
.feature-list li:nth-child(even)::before { left: 7px; }

.play-button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 16px;
  align-items: center;
  margin-top: auto;
  padding: 18px 20px;
  color: #15120d;
  background: var(--signal);
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.play-button span { font-size: 0.79rem; font-weight: 800; letter-spacing: 0.12em; }
.play-button small { grid-column: 1; font-size: 0.52rem; letter-spacing: 0.1em; opacity: 0.65; }
.play-button b { grid-column: 2; grid-row: 1 / span 2; font-size: 1.65rem; font-weight: 400; }
.play-button:hover { background: #ffc05d; transform: translateY(-2px); }
.play-button:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

.incoming {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 20px 24px;
  border: 1px dashed rgba(232, 225, 209, 0.13);
  color: #575953;
}

.incoming > span { font-family: Georgia, serif; font-size: 1.8rem; }
.incoming div { display: grid; gap: 4px; }
.incoming strong { font-size: 0.62rem; letter-spacing: 0.14em; }
.incoming small { font-size: 0.52rem; letter-spacing: 0.11em; }
.incoming i { width: 70px; height: 1px; background: repeating-linear-gradient(90deg, #444 0 5px, transparent 5px 9px); }

.site-footer {
  display: flex;
  justify-content: space-between;
  padding-block: 28px 44px;
  border-top: 1px solid var(--line);
  color: #666761;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

@keyframes pulse { 50% { opacity: 0.4; transform: scale(0.75); } }
@keyframes throb { 50% { filter: brightness(1.18); transform: scale(1.05) rotate(4deg); } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 42px; }
  .dispatch { width: 210px; }
  .game-card { grid-template-columns: 1fr; }
  .game-visual { min-height: 480px; }
  .game-details { min-height: 500px; }
  .visual-subtitle { top: 158px; }
}

@media (max-width: 580px) {
  .frame { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 78px; }
  .network-status span { display: none; }
  .network-status::after { color: var(--muted); content: "BETA"; }
  .hero { padding-block: 64px 76px; }
  h1 { font-size: clamp(3.45rem, 18vw, 5.2rem); }
  .section-heading { display: block; }
  .section-heading > p { margin: 18px 0 0; text-align: left; }
  .game-card, .game-visual { min-height: 440px; }
  .coordinate { display: none; }
  .visual-logo { top: 82px; font-size: clamp(4.6rem, 25vw, 7rem); }
  .visual-subtitle { top: 150px; font-size: 0.51rem; }
  .game-details { min-height: 520px; padding: 30px 24px; }
  .game-pitch { margin-block: 34px 28px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list li:nth-child(odd) { border-right: 0; }
  .feature-list li:nth-child(even) { padding-left: 15px; }
  .feature-list li:nth-child(even)::before { left: 1px; }
  .incoming { grid-template-columns: 46px 1fr; padding-inline: 16px; }
  .incoming i { display: none; }
  .site-footer { display: grid; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
