/* showcase.wildshard.io, look A "Marquee" (meta showcase plan SC3, Jake 2026-11-29): a dark cinema wall of wide
   frames with each game's name set big across the bottom. One fixed dark look; the frames do the selling. */
@font-face {
  font-family: 'Big Shoulders Display';
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/big-shoulders-display-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter.woff2') format('woff2');
}

:root {
  --bg: #0e1118;
  --fg: #f4efe4;
  --muted: #9ba3b4;
  --line: #262b38;
  --amber: #ffb547;
  --mint: #7fe0b0;
  --ink: #0e1118;
  --display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --body:
    'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial,
    sans-serif;
  --gutter: 20px;
  color-scheme: dark;
}
@media (min-width: 900px) {
  :root {
    --gutter: 48px;
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 15px/1.55 var(--body);
  overflow-x: hidden;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
img {
  max-width: 100%;
  display: block;
}

/* Top bar */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px;
  border-bottom: 1px solid var(--line);
}
.mark {
  font: 800 20px/1 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.mark em {
  font-style: normal;
  color: var(--amber);
}
.top nav {
  display: flex;
  gap: 14px;
}
.top nav a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.top nav a:hover {
  color: var(--fg);
}

/* Home intro */
.intro {
  padding: 28px var(--gutter) 20px;
}
.intro h1 {
  font: 800 44px/0.95 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  overflow-wrap: break-word;
}
.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 46ch;
}
@media (min-width: 900px) {
  .intro {
    padding: 56px var(--gutter) 32px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
  }
  .intro h1 {
    font-size: 88px;
    margin: 0;
  }
  .intro p {
    font-size: 17px;
  }
}

/* Cards */
.grid {
  display: grid;
  gap: 14px;
  padding: 0 14px 40px;
}
@media (min-width: 700px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0 var(--gutter) 56px;
  }
}
.card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-width: 0;
  background:
    var(--frame, none) center / cover,
    linear-gradient(
      180deg,
      var(--sky1) 0%,
      var(--sky2) 56%,
      var(--gr1) 56.5%,
      var(--gr2) 100%
    );
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 15, 0) 30%,
    rgba(8, 10, 15, 0.55) 55%,
    rgba(8, 10, 15, 0.94) 100%
  );
}
.card .ph-label {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 1;
  font: 500 11px var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.card .cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card .txt {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  gap: 6px;
  pointer-events: none;
}
.card .txt a {
  pointer-events: auto;
}
.zone-name {
  font: 600 11px var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.78);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.card .name {
  font: 800 34px/0.95 var(--display);
  text-transform: uppercase;
  text-decoration: none;
  overflow-wrap: break-word;
}
@media (min-width: 900px) {
  .card .name {
    font-size: 38px;
  }
}
.card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}
.badge {
  font: 600 11px var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 4px;
  border: 1px solid currentColor;
}
.badge.checked {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink);
}
.badge.first-build {
  color: var(--amber);
}
.badge.placeholder {
  color: var(--muted);
  border-style: dashed;
}
.play {
  font: 700 14px var(--body);
  background: var(--fg);
  color: var(--ink);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  white-space: nowrap;
}
.play:hover {
  background: #fff;
}
.play.off {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  font-weight: 500;
}
@media (prefers-reduced-motion: no-preference) {
  .card {
    transition: transform 160ms ease;
  }
  .card:hover {
    transform: translateY(-2px);
  }
}

/* Zone page */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-content: end;
  padding: 0 var(--gutter) 28px;
  background:
    var(--frame, none) center / cover,
    linear-gradient(
      180deg,
      var(--sky1) 0%,
      var(--sky2) 56%,
      var(--gr1) 56.5%,
      var(--gr2) 100%
    );
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 15, 0.1) 30%,
    rgba(14, 17, 24, 0.96) 100%
  );
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font: 800 clamp(44px, 15vw, 64px)/0.9 var(--display);
  text-transform: uppercase;
  margin: 6px 0 16px;
  overflow-wrap: break-word;
}
@media (min-width: 900px) {
  .hero h1 {
    font-size: 120px;
  }
}
.hero .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.hero .play {
  font-size: 17px;
  padding: 14px 26px;
  border-radius: 8px;
}
.hero .dev {
  font: 600 13px var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.section {
  padding: 36px var(--gutter) 8px;
  max-width: 1180px;
}
.section > h2 {
  font: 800 30px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.frames {
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .frames {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
.frames img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  background: #1a1e28;
}

.made {
  display: grid;
  gap: 0;
  margin: 0;
  max-width: 72ch;
}
.made div {
  display: grid;
  gap: 2px 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) {
  .made div {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}
.made dt {
  font: 600 12px var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.made dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.made a {
  color: var(--amber);
}

.description {
  max-width: 72ch;
  color: #d9d5cc;
  overflow-wrap: break-word;
}
.description h2,
.description h3 {
  font: 700 15px var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 28px 0 8px;
}
.description p,
.description li {
  margin: 0 0 10px;
}
.description ul,
.description ol {
  padding-left: 22px;
}
.description strong {
  color: var(--fg);
}
.description code {
  font-size: 0.92em;
  background: #1a1e28;
  padding: 1px 5px;
  border-radius: 4px;
}
.description pre {
  overflow-x: auto;
}
.description table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
}
.description th,
.description td {
  border: 1px solid var(--line);
  padding: 4px 8px;
  text-align: left;
}

footer.foot {
  padding: 40px var(--gutter) max(40px, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 13px;
}
footer.foot a {
  color: var(--fg);
}
