:root {
  --bg: #0f1115;
  --surface: #181b22;
  --surface-hover: #222631;
  --border: #2a2f3a;
  --text: #e6e8ec;
  --text-dim: #9aa0aa;
  --accent: #7c5cff;
  --accent-hover: #9479ff;
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.site-header {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

.site-header__logo {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, #ff6bcb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lang-switch {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.lang-link {
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  color: var(--text-dim);
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.lang-link:hover { color: var(--text); }

.lang-link--active {
  color: var(--accent);
  border-color: rgba(124, 92, 255, 0.4);
  background: rgba(124, 92, 255, 0.1);
}

.site-header__tagline {
  color: var(--text-dim);
  margin: 0.5rem 0 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.section { margin-bottom: 3rem; }

.section__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.game-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--surface-hover);
}

.game-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #222;
  display: block;
}

.game-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.game-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.game-card__desc {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-dim);
  flex: 1;
}

.game-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.15);
  color: var(--accent);
  border: 1px solid rgba(124, 92, 255, 0.3);
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-dim);
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
}

.site-footer a { color: var(--accent); }
.site-footer a:hover { color: var(--accent-hover); }

@media (max-width: 600px) {
  .site-header { padding: 3rem 1rem 1.5rem; }
  .site-header__logo { font-size: 2rem; }
}