/* Blokam Arcade — dark gamer aesthetic, no external deps */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #0d1117;
  color: #c9d1d9;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
  border-bottom: 1px solid #21262d;
  background: linear-gradient(180deg, #161b22 0%, #0d1117 100%);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.logo svg {
  filter: drop-shadow(0 0 8px rgba(88, 166, 255, 0.4));
}
.logo h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #58a6ff, #7ee787);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tagline {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  opacity: 0.75;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.games-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 720px) {
  .games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
}

.game-card {
  display: flex;
  flex-direction: column;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 220px;
}
.game-card:hover,
.game-card:focus {
  transform: translateY(-3px);
  border-color: var(--accent, #58a6ff);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6), 0 0 0 1px var(--accent, #58a6ff);
  outline: none;
}
.card-art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0;
  background: linear-gradient(135deg, var(--accent, #58a6ff)0d, var(--accent2, #1f6feb)1a);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  min-height: 90px;
}
.card-meta h2 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--accent, #58a6ff);
}
.card-meta p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.8;
}

.info {
  margin-top: 3rem;
  padding: 1.5rem;
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 12px;
}
.info h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: #7ee787;
}
.info ul {
  margin: 0;
  padding-left: 1.25rem;
}
.info li {
  margin: 0.35rem 0;
  font-size: 0.95rem;
}
.info strong {
  color: #c9d1d9;
}

footer {
  text-align: center;
  padding: 1.5rem 1rem;
  border-top: 1px solid #21262d;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Larger touch targets on small screens */
@media (max-width: 480px) {
  .game-card { min-height: 200px; }
}
