*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid #e5e5e7;
  padding: 32px 0;
  text-align: center;
}

.header h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1d1d1f;
}

.header-sub {
  margin-top: 6px;
  font-size: 14px;
  color: #86868b;
  font-weight: 400;
}

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 24px 0 48px;
}

/* Game Card */
.game-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.game-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.game-card:active {
  transform: translateY(0);
}

.game-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  flex-shrink: 0;
  object-fit: cover;
  background: #f0f0f0;
}

.game-card__body {
  flex: 1;
  min-width: 0;
}

.game-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #1d1d1f;
}

.game-card__genre {
  font-size: 12px;
  color: #86868b;
  margin-top: 2px;
  font-weight: 500;
}

.game-card__desc {
  font-size: 13px;
  color: #515154;
  margin-top: 6px;
  line-height: 1.5;
}

/* Footer */
.footer {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid #e5e5e7;
  background: #fff;
}

.footer p {
  font-size: 12px;
  color: #aeaeb2;
}

/* Responsive */
@media (min-width: 600px) {
  .header {
    padding: 48px 0;
  }

  .header h1 {
    font-size: 28px;
  }

  .game-grid {
    gap: 16px;
    padding: 32px 0 56px;
  }

  .game-card {
    padding: 20px;
    gap: 20px;
  }

  .game-card__icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
  }

  .game-card__title {
    font-size: 18px;
  }

  .game-card__desc {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .game-grid {
    grid-template-columns: 1fr 1fr;
  }

  .game-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .game-card__icon {
    width: 120px;
    height: 120px;
  }
}
