:root {
  color-scheme: dark;
  --ink: #f7f4ed;
  --muted: #a9adbd;
  --line: rgba(247, 244, 237, 0.17);
  --canvas: #0d1020;
  --hot: #f3b469;
  --violet: #7d85ff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.ambient { position: fixed; z-index: -1; width: 42rem; height: 42rem; border-radius: 50%; filter: blur(4px); opacity: .2; pointer-events: none; }
.ambient-one { top: -23rem; right: -14rem; background: radial-gradient(circle, var(--violet), transparent 67%); }
.ambient-two { top: 39rem; left: -23rem; background: radial-gradient(circle, var(--hot), transparent 68%); }

.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 82px; border-bottom: 1px solid var(--line); }
.wordmark, .quiet-link, .primary-link, .card-footer a { color: inherit; text-decoration: none; }
.wordmark { font-size: .71rem; font-weight: 800; letter-spacing: .19em; }
.quiet-link, .collection-count, .card-kicker, .card-footer, .section-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.quiet-link { color: var(--muted); transition: color .2s ease; }
.quiet-link:hover { color: var(--ink); }

.hero { padding: clamp(6.5rem, 13vw, 10.8rem) 0 8rem; }
.section-label { margin: 0 0 1.4rem; color: var(--hot); font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.055em; }
h1 { max-width: 850px; margin-bottom: 2rem; font-size: clamp(3.55rem, 9.6vw, 8.3rem); line-height: .91; font-weight: 650; }
h1 em { color: var(--hot); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-copy { max-width: 480px; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.primary-link { display: inline-flex; gap: .8rem; align-items: center; margin-top: 1.5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--hot); font-size: .88rem; font-weight: 700; }
.primary-link span { font-size: 1.35rem; transition: transform .2s ease; }
.primary-link:hover span { transform: translate(3px, 3px); }

.collection { padding: 2.5rem 0 8rem; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2rem; }
.section-heading .section-label { margin-bottom: .6rem; }
h2 { margin-bottom: 0; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: .98; font-weight: 600; }
.collection-count { margin: 0 0 .4rem; color: var(--muted); white-space: nowrap; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.game-card { display: flex; min-height: 350px; flex-direction: column; justify-content: space-between; padding: clamp(1.4rem, 3vw, 2.3rem); border: 1px solid var(--line); border-radius: 2px; background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.01)); transition: transform .25s ease, border-color .25s ease; }
.game-card:hover { transform: translateY(-5px); border-color: rgba(247,244,237,.5); }
.game-card-1 { background: radial-gradient(circle at 83% 15%, rgba(243,180,105,.22), transparent 31%), linear-gradient(145deg, #242337, #171925); }
.game-card-2 { background: radial-gradient(circle at 16% 83%, rgba(125,133,255,.30), transparent 26%), linear-gradient(145deg, #151b37, #111423); }
.card-kicker { color: var(--muted); }
.game-card h3 { max-width: 10ch; margin: auto 0 1.25rem; font-size: clamp(2.1rem, 4.5vw, 3.7rem); line-height: .94; font-weight: 570; }
.card-description { max-width: 33ch; color: #d3d4dc; line-height: 1.72; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); letter-spacing: .04em; text-transform: none; }
.card-footer a { color: var(--ink); font-weight: 700; }
.card-footer a::after { margin-left: .45rem; color: var(--hot); content: "↗"; }

.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; padding: 6rem 0; border-top: 1px solid var(--line); }
.about .section-label { grid-column: 1 / -1; margin-bottom: -1rem; }
.about p:last-child { max-width: 420px; align-self: end; color: var(--muted); line-height: 1.85; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem 0 2.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 1120px); }
  .site-header { min-height: 68px; }
  .quiet-link { font-size: .64rem; }
  .hero { padding: 5.5rem 0 5rem; }
  .game-grid, .about { grid-template-columns: 1fr; }
  .game-card { min-height: 300px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .collection-count { margin: 0; }
  .about { gap: 1.8rem; padding: 4.5rem 0; }
  .about .section-label { margin-bottom: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; line-height: 1.5; }
}
