:root {
  --ink: #06110d;
  --road: #101713;
  --road-2: #18201b;
  --paper: #edf1da;
  --muted: #a9bbb0;
  --yellow: #f2b705;
  --orange: #d74300;
  --orange-dark: #852900;
  --blue: #8aaeb0;
  --purple: #7d69c5;
  --line: rgba(237, 241, 218, 0.14);
  --display: "Arial Black", Impact, Haettenschweiler, sans-serif;
  --body: "Trebuchet MS", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background-color: #304345;
  background-image: linear-gradient(rgba(24, 49, 48, 0.68), rgba(4, 13, 10, 0.8)), url("backgroundmono.png");
  background-size: auto, 320px auto;
  font: 1rem/1.65 var(--body);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(circle at 50% 10%, rgba(242, 183, 5, 0.12), transparent 44%);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-180%);
}

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

.road-shell {
  position: relative;
  width: min(1320px, calc(100% - 72px));
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--ink);
  border-inline: 4px solid var(--yellow);
  box-shadow: 0 0 0 8px rgba(77, 46, 16, 0.92), 0 24px 80px rgba(0, 0, 0, 0.62);
}

.road-shell::before,
.road-shell::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: 4px;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(to bottom, var(--yellow) 0 40px, transparent 40px 72px);
  opacity: 0.32;
}

.road-shell::before { left: 22px; }
.road-shell::after { right: 22px; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px clamp(36px, 6vw, 86px);
  background: rgba(6, 17, 13, 0.96);
  border-bottom: 1px solid var(--line);
}

.mini-logo {
  display: flex;
  align-items: baseline;
  gap: 7px;
  text-decoration: none;
  font: 900 1.02rem/1 var(--display);
  letter-spacing: -0.04em;
}

.mini-logo span:first-child { color: var(--yellow); }
.mini-logo span:last-child { color: var(--orange); }

.top-links {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
}

.top-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.top-links a:hover,
.top-links a:focus-visible {
  color: var(--yellow);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(242, 183, 5, 0.12), transparent 38%),
    var(--ink);
}

.hero-art {
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(242, 183, 5, 0.18);
}

.hero-art img {
  width: 70%;
  height: auto;
  margin-inline: auto;
  image-rendering: pixelated;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: 30px 54px;
  align-items: end;
  padding: 42px clamp(46px, 7vw, 100px) 58px;
}

.hero-copy > .release-chip,
.hero-copy > h1,
.hero-copy > p {
  grid-column: 1;
}

.release-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  padding: 7px 11px;
  color: var(--yellow);
  border: 1px solid rgba(242, 183, 5, 0.34);
  background: rgba(242, 183, 5, 0.07);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.release-chip span {
  width: 8px;
  height: 8px;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(215, 67, 0, 0.17);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--paper);
  font-size: clamp(3rem, 6.2vw, 6rem);
  line-height: 0.9;
  text-shadow: 4px 4px 0 var(--orange-dark);
}

.hero-copy > p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.6;
}

.hero-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  gap: 16px;
  align-self: center;
}

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 72px;
  padding: 13px 24px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

.cta img {
  flex: 0 0 auto;
  border-radius: 50%;
}

.cta small {
  display: block;
  margin-bottom: 4px;
  font: 800 0.66rem/1 var(--body);
  letter-spacing: 0.13em;
  opacity: 0.74;
}

.cta-steam {
  color: #07130f;
  background: var(--yellow);
  box-shadow: 0 7px 0 var(--orange-dark);
}

.cta-discord {
  color: var(--paper);
  background: #383152;
  box-shadow: 0 7px 0 #211c31;
}

.cta:hover,
.cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-3px);
}

.cta:active {
  box-shadow: none;
  transform: translateY(5px);
}

.game-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 3vw, 42px);
  min-height: 70px;
  padding: 16px clamp(36px, 5vw, 72px);
  color: #07130f;
  background: var(--blue);
  border-block: 4px solid #456b70;
  font-family: var(--display);
  font-size: clamp(0.72rem, 1.2vw, 0.96rem);
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.game-strip i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--orange);
  transform: rotate(45deg);
}

.section-pad {
  padding: clamp(72px, 10vw, 132px) clamp(46px, 8vw, 110px);
}

.intro {
  position: relative;
  text-align: center;
  background:
    linear-gradient(rgba(6, 17, 13, 0.95), rgba(6, 17, 13, 0.95)),
    url("backgroundmono.png");
  background-size: auto, 480px auto;
}

.intro::after {
  display: block;
  width: 108px;
  height: 6px;
  margin: 42px auto 0;
  content: "";
  background: linear-gradient(90deg, var(--yellow) 0 48%, transparent 48% 55%, var(--orange) 55%);
}

.kicker {
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro h2,
.section-heading h2,
.final-cta h2 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5.6vw, 5.4rem);
  line-height: 0.96;
}

.lede {
  max-width: 780px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.gallery {
  background: var(--road);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 5px;
  color: var(--muted);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}

.screenshot-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--paper);
  background: #0b120f;
  border: 2px solid rgba(138, 174, 176, 0.28);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.32);
  cursor: zoom-in;
}

.screenshot-main {
  grid-row: span 2;
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 350ms ease, opacity 350ms ease;
}

.screenshot-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  content: "";
  background: linear-gradient(transparent, rgba(4, 13, 10, 0.95));
  pointer-events: none;
}

.screenshot-card > span {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  text-align: left;
}

.screenshot-card b,
.screenshot-card em {
  display: block;
}

.screenshot-card b {
  color: var(--yellow);
  font: 900 clamp(1.15rem, 2vw, 1.7rem)/1.1 var(--display);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.screenshot-card em {
  margin-top: 4px;
  color: var(--paper);
  font: normal 0.9rem/1.4 var(--body);
}

.screenshot-card:hover img,
.screenshot-card:focus-visible img {
  opacity: 1;
  transform: scale(1.025);
}

.screenshot-card:focus-visible,
.cta:focus-visible,
.top-links a:focus-visible,
.mini-logo:focus-visible,
footer a:focus-visible,
.lightbox-close:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.more-screenshots {
  margin-top: 28px;
}

.more-screenshots-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.thumbnail-card {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-width: 1px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.28);
}

.thumbnail-card::after {
  display: none;
}

.thumbnail-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.78;
}

.thumbnail-card > span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: auto;
  z-index: 1;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--ink);
  font: 900 1.25rem/1 var(--body);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.thumbnail-card:hover > span,
.thumbnail-card:focus-visible > span {
  opacity: 1;
  transform: none;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  background: linear-gradient(var(--road), var(--road)) padding-box;
}

.pillars article {
  position: relative;
  min-height: 310px;
  padding: 42px 34px;
  background: var(--road-2);
  border-top: 5px solid var(--yellow);
}

.pillars article:nth-child(2) { border-color: var(--orange); }
.pillars article:nth-child(3) { border-color: var(--blue); }

.pillar-number {
  display: block;
  margin-bottom: 42px;
  color: rgba(237, 241, 218, 0.25);
  font: 900 1rem/1 var(--display);
}

.pillars h3 {
  margin-bottom: 14px;
  color: var(--paper);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.05;
}

.pillars p {
  margin-bottom: 0;
  color: var(--muted);
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.5fr);
  gap: 48px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 17, 13, 0.97), rgba(6, 17, 13, 0.78)),
    url("header.png") right center / auto 100% no-repeat,
    #06110d;
  border-block: 1px solid var(--line);
}

.final-cta h2 {
  margin-bottom: 12px;
}

.final-cta p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.final-cta .cta {
  z-index: 1;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 110px;
  padding: 26px clamp(42px, 7vw, 90px);
  color: #819087;
  background: #030906;
  font-size: 0.84rem;
}

footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

footer a {
  color: var(--paper);
  text-underline-offset: 4px;
}

.footer-mark {
  color: var(--yellow);
  font: 900 1.25rem/1 var(--display);
}

.lightbox {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  overflow: visible;
  color: var(--paper);
  background: #050d09;
  border: 3px solid var(--yellow);
  box-shadow: 16px 16px 0 rgba(0, 0, 0, 0.45);
}

.lightbox::backdrop {
  background: rgba(2, 7, 4, 0.86);
  backdrop-filter: blur(5px);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox p {
  margin: 0;
  padding: 15px 20px;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: -17px;
  right: -17px;
  z-index: 1;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  font: 900 1.7rem/1 var(--body);
  cursor: pointer;
}

@media (max-width: 920px) {
  .road-shell {
    width: calc(100% - 32px);
  }

  .hero-copy {
    grid-template-columns: 1fr;
  }

  .hero-copy > .release-chip,
  .hero-copy > h1,
  .hero-copy > p,
  .hero-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-actions {
    grid-template-columns: 1fr 1fr;
    margin-top: 12px;
  }

  .section-heading,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 18px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillars article {
    min-height: 0;
  }

  .pillar-number {
    margin-bottom: 24px;
  }

  .final-cta .cta {
    width: min(420px, 100%);
  }
}

@media (max-width: 680px) {
  .road-shell {
    width: 100%;
    border: 0;
    box-shadow: none;
  }

  .road-shell::before,
  .road-shell::after {
    display: none;
  }

  .site-header {
    min-height: 62px;
    padding-inline: 20px;
  }

  .top-links {
    gap: 16px;
  }

  .top-links a:first-child {
    display: none;
  }

  .hero-copy,
  .section-pad {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero-copy {
    padding-top: 34px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .game-strip {
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding-inline: 24px;
    scrollbar-width: none;
  }

  .game-strip span {
    flex: 0 0 auto;
  }

  .section-heading h2,
  .intro h2,
  .final-cta h2 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-main {
    grid-row: auto;
  }

  .screenshot-card img {
    aspect-ratio: 16 / 10;
  }

  .thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .thumbnail-card:nth-child(7) {
    display: none;
  }

  .thumbnail-card img {
    aspect-ratio: 16 / 9;
  }

  .pillars article {
    padding-inline: 26px;
  }

  .final-cta {
    gap: 30px;
  }

  footer {
    grid-template-columns: 1fr auto;
    padding-inline: 24px;
  }

  .footer-mark {
    display: none;
  }
}

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