@font-face {
  font-family: "Lateral";
  src: url("/assets/fonts/Lateral-StandardRegular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Ruder Plakat";
  src: url("/assets/fonts/RuderPlakat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #000;
  color: #fff;
  font-family: "Lateral", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.archive-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 8px 24px;
  padding: 20px 24px 48px;
}

.logo { grid-column: 1 / -1; margin-bottom: 72px; }
.logo img { display: block; }

h1,
.archive-header p,
.game-card p,
.game-card h2 { margin: 0; }

h1 {
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.04em;
}

.archive-header > p {
  max-width: 290px;
  align-self: end;
  color: #a5a5a5;
  font-size: 18px;
  line-height: 1.25;
  text-align: right;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px 0 0;
  background: #000;
  list-style: none;
}

.game-grid > li {
  min-width: 0;
  border-right: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  background: #000;
}

.game-card {
  display: block;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.game-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #161616;
}

.game-card-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, opacity 240ms ease;
}

.game-card:hover .game-card-image > img { transform: scale(1.02); opacity: .82; }

.watch-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .72);
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.watch-label span { font-size: 11px; }

.game-card-copy { padding: 20px 24px 32px; }

.score {
  font-family: "Ruder Plakat", Impact, sans-serif;
  font-size: clamp(80px, 9vw, 132px);
  line-height: .85;
  letter-spacing: .02em;
}

.game-card h2 {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 400;
}

.game-card h2 span {
  padding: 3px 4px 0;
  background: var(--team-bg);
  color: var(--team-ink);
}

.details {
  margin-top: 64px !important;
  color: #b5b5b5;
  font-size: 17px;
  line-height: 1.35;
}

.empty-state { padding: 48px 24px; border-top: 1px solid #2a2a2a; }
.empty-state h2 { margin: 0 0 8px; font-size: 28px; font-weight: 400; }
.empty-state p { margin: 0; color: #a5a5a5; }

@media (max-width: 959px) {
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
  .archive-header { grid-template-columns: 1fr; padding-bottom: 32px; }
  .logo { margin-bottom: 48px; }
  .archive-header > p { text-align: left; }
  .game-grid { grid-template-columns: 1fr; }
  .score { font-size: 112px; }
  .details { margin-top: 48px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .game-card-image > img { transition: none; }
}
