body {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  background: #111;
  color: white;

  display: flex;
  flex-direction: column;
}

main.container {
  flex: 1;
  width: min(68.75rem, 90%);
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-block: 3rem;
}

h1 {
  font-size: clamp(40px, 8vw, 90px);
  margin-bottom: 10px;
}

.subtitle {
  color: #bbb;
  margin-bottom: 40px;
  font-size: 18px;
}

.games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 52rem;
  margin-inline: auto;
}

.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 2rem;
  border-radius: 1.5rem;
  background: #1c1c1c;
  color: white;
  text-decoration: none;
  border: 0.0625rem solid #333;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.game-card:hover {
  transform: translateY(-0.375rem);
  background: #252525;
  border-color: #666;
}

.game-icon {
  margin-bottom: 1.125rem;

  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.625rem;
}

.game-icon img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
}

.game-card h2 {
  margin: 0 0 0.625rem;
  font-size: 1.75rem;
}

.game-card p {
  margin: 0;
  color: #aaa;
  line-height: 1.5;
  max-width: 20rem;
}

.tag {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999rem;
  background: #333;
  font-size: 0.75rem;
  color: #ddd;
}

.site-footer {
  width: 100%;
  padding: 18px 24px;

  text-align: center;
  font-size: 0.85rem;

  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.site-footer a {
  color: #7dd3fc;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 48rem) {
  .games {
    grid-template-columns: 1fr;
    max-width: 26rem;
  }
}
