:root {
  --bg: #111111;
  --bg2: #15130f;
  --button: #ffffff;
  --button-ink: #111111;
  color-scheme: dark;
  --ink: #f9f7ef;
  --muted: #c9c2b4;
  --panel: #191919;
  --panel-strong: #101010;
  --line: rgba(255, 255, 255, 0.14);
  --accent-paw: #f3a5d7;
  --accent-box: #5f8df7;
  --accent-capital: #35b06f;
  --accent-dark: #d6b36a;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 54%, var(--bg) 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 46px) clamp(16px, 4vw, 32px) 42px;
}

.intro {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: clamp(18px, 4vw, 34px);
}

.eyebrow,
.tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
.lede {
  margin: 0;
}

h1 {
  font-size: 8rem;
  line-height: 0.88;
  letter-spacing: 0;
}

.lede {
  max-width: 520px;
  color: #eee7db;
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.35;
}

.games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.game-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent);
}

.media-wrap {
  aspect-ratio: 9 / 16;
  min-height: 0;
  background: var(--panel-strong);
}

.media-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 16px;
}

h2 {
  overflow-wrap: anywhere;
  font-size: 2rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.store-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--button);
  color: var(--button-ink);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  touch-action: manipulation;
}

.store-button::after {
  content: " ->";
  white-space: pre;
}

.store-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}





@media (max-width: 920px) {
  h1 {
    font-size: 5.5rem;
  }

  .lede {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

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

@media (max-width: 560px) {
  h1 {
    font-size: 2.55rem;
  }

  .lede {
    max-width: 17rem;
    font-size: 0.98rem;
  }

  .shell {
    padding-inline: 14px;
  }

  .intro {
    margin-bottom: 16px;
  }

  .games {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .game-card {
    grid-template-columns: clamp(104px, 34vw, 132px) minmax(0, 1fr);
    min-height: 188px;
  }

  .game-card::before {
    width: 5px;
    height: 100%;
  }

  .media-wrap {
    aspect-ratio: auto;
    height: 100%;
  }

  .card-copy {
    align-content: center;
    padding: 12px 14px;
  }

  .store-button {
    min-height: 48px;
    width: fit-content;
    min-width: min(148px, 100%);
    padding-inline: 12px;
    justify-self: start;
  }
}

@media (max-width: 340px) {
  h1 {
    font-size: 2rem;
  }

  .lede {
    max-width: 14rem;
  }

  .game-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .tag {
    font-size: 0.68rem;
  }

  h2 {
    font-size: 1.28rem;
  }

  .store-button {
    min-width: min(136px, 100%);
    font-size: 0.92rem;
  }
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.follow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.foot a {
  color: var(--muted);
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}

.by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.siblings {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.siblings a[aria-current] {
  color: var(--ink);
  font-weight: 700;
}

.intro .mascot {
  width: 56px;
  height: 56px;
}

.games.cols-1 {
  grid-template-columns: minmax(0, 360px);
}

.games.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 360px));
}

@media (max-width: 560px) {
  .games.cols-1,
  .games.cols-2 {
    grid-template-columns: 1fr;
  }
}
