:root {
  --field: #f0fcf0;
  --ink: #144936;
  --brand: #19c155;
  --brand-deep: #0e7a36;
  --card: #ffffff;
  --line: rgba(20, 73, 54, 0.14);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--field);
  color: var(--ink);
  font-family: Gluten, Georgia, serif;
  font-weight: 400;
  line-height: 1.45;
}

a { color: inherit; }

.mast, main, .game, footer {
  width: min(920px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.mast { padding: 48px 0 12px; }

.mark {
  margin: 0 0 18px;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--brand-deep);
}

h1 {
  margin: 0;
  font-family: Chango, Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lede {
  margin: 22px 0 0;
  max-width: 28rem;
  font-size: 1.25rem;
}

main { padding: 28px 0 48px; }

h2 {
  margin: 0 0 16px;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.shelf {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 16px;
}

.card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 16px;
  align-items: stretch;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(20, 73, 54, 0.06);
}

.card img {
  width: 148px;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  background: #1a120c;
}

.card-wide { grid-column: 1 / -1; }

.card-plain {
  grid-template-columns: 1fr;
  align-content: end;
  min-height: 210px;
  background:
    linear-gradient(180deg, rgba(25, 193, 85, 0.16), rgba(255, 255, 255, 0.4)),
    var(--card);
}

.card-plain.card-wide {
  min-height: 0;
  align-content: start;
}

.card h3 {
  margin: 8px 0 8px;
  font-family: Chango, Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.1;
}

.card p { margin: 0 0 10px; }

.status {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(25, 193, 85, 0.16);
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

.card:hover { border-color: var(--brand); }
.card:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.game { padding: 36px 0 64px; }

.back {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: none;
}

.poster {
  width: min(420px, 100%);
  border-radius: 16px;
  display: block;
  margin: 18px 0 8px;
  box-shadow: 0 16px 40px rgba(20, 73, 54, 0.16);
}

.game p { max-width: 38rem; font-size: 1.15rem; }

footer {
  padding: 8px 0 40px;
  color: var(--brand-deep);
}

footer a { font-weight: 600; }

@media (max-width: 720px) {
  .shelf, .card { grid-template-columns: 1fr; }
  .card img { width: 100%; height: auto; max-height: 420px; }
  .card-plain { min-height: 0; }
}
