.games-section {
  padding-bottom: 112px;
}
.section-heading {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}
.section-heading .eyebrow {
  margin-bottom: 10px;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.06em;
  line-height: 1;
}
.section-note {
  max-width: 190px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}
.game-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.1fr;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.24);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.game-card:hover,
.game-card:focus-visible {
  border-color: rgba(102, 231, 255, 0.58);
  transform: translateY(-3px);
}
.game-card-art {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: center;
  padding: clamp(28px, 6vw, 70px);
  background: linear-gradient(
    135deg,
    rgba(102, 231, 255, 0.14),
    rgba(181, 154, 255, 0.13)
  );
}
.art-cell {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-right: 1px solid rgba(234, 247, 255, 0.22);
  border-bottom: 1px solid rgba(234, 247, 255, 0.22);
  color: var(--cyan);
  font-size: clamp(28px, 5vw, 55px);
  line-height: 1;
}
.art-cell:nth-child(3n) {
  border-right: 0;
}
.art-cell:nth-child(n + 7) {
  border-bottom: 0;
}
.art-cell-o {
  color: var(--violet);
}
.game-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 5vw, 58px);
}
.game-card-topline {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 70px;
  color: var(--muted);
  font:
    700 11px/1 "SFMono-Regular",
    Consolas,
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.game-status {
  color: var(--lime);
}
.game-card h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.06em;
}
.game-card p {
  max-width: 350px;
  margin-bottom: auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.text-link {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 0 112px;
}
.principles > div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.principle-number {
  display: block;
  margin-bottom: 28px;
  color: var(--muted);
  font:
    700 11px/1 "SFMono-Regular",
    Consolas,
    monospace;
}
.principles strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
}
.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 28px;
  color: var(--muted);
  font:
    700 11px/1.4 "SFMono-Regular",
    Consolas,
    monospace;
}
.footer-separator {
  color: var(--cyan);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(100% - 28px, 1060px);
  }
  .hero {
    padding: 68px 0 94px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .game-card {
    grid-template-columns: 1fr;
  }
  .game-card-art {
    padding: 30px 52px;
  }
  .game-card-topline {
    margin-bottom: 44px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 80px;
  }
  .principle-number {
    margin-bottom: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
