:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #6b6b6b;
  --line: #ececec;
  --card: #fafafa;
  --accent: #111111;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  padding: 56px 0 40px;
}

.logo {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}

.logo span {
  font-weight: 300;
  color: var(--muted);
  margin-left: 4px;
}

.tagline {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Games grid */
main {
  padding: 48px 0 80px;
}

.games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.game-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #dcdcdc;
}

.game-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.game-card__thumb {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfcfcf;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}

.game-card__body {
  padding: 18px 20px 20px;
}

.game-card__title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.game-card__desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
  min-height: 2.6em;
}

.game-card__cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  display: inline-block;
  transition: transform 0.18s ease;
}

.game-card:hover .game-card__cta {
  transform: translateX(2px);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
  color: var(--muted);
}

.site-footer small {
  font-size: 12px;
}

@media (max-width: 480px) {
  .site-header {
    padding: 40px 0 28px;
  }
  .logo {
    font-size: 26px;
  }
  main {
    padding: 32px 0 56px;
  }
}
