:root {
  color-scheme: light dark;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Nunito, system-ui, sans-serif;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: var(--card);
}
h1,
h2 {
  margin: 0;
}
main {
  padding: 32px;
}
#games {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
#games a {
  display: block;
  width: 320px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s;
}
#games a:hover {
  transform: scale(1.05);
}
#games a:focus-visible {
  outline: 4px solid var(--ring);
  outline-offset: 2px;
}
#games img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
#games span {
  display: block;
  padding: 12px 16px;
  font-weight: 700;
}
#account {
  display: flex;
  align-items: center;
}
