:root {
  --text: #1a1a1a;
  --subtext: #555;
  --border: #e5e5e5;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

header h1 {
  margin-bottom: 4px;
}

.subtitle {
  color: var(--subtext);
  margin-top: 0;
}

.header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lang-switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.lang-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fafafa;
  color: var(--text);
  font-size: 0.85rem;
}

.lang-switcher a[aria-current="page"] {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

.lang-note {
  margin: 8px 0 0;
  color: var(--subtext);
  font-size: 0.9rem;
}

.footer-links {
  margin: 0 0 8px;
}

.footer-sep {
  margin: 0 6px;
  color: var(--subtext);
}

h2 {
  margin-top: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

ul {
  padding-left: 20px;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.footer {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  color: var(--subtext);
  font-size: 0.9rem;
}

.policy p {
  margin: 12px 0;
}

 /* Game List Styles */
.game-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.game-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 16px;

  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafafa;
}

.game-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.game-info h3 {
  margin: 0;
  font-size: 1.1rem;
}

.game-info a {
  color: var(--text);
}

.game-desc {
  margin: 6px 0 0;
  color: var(--subtext);
  font-size: 0.95rem;
}

.game-platforms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--subtext);
}

.game-platforms img {
  width: 28px;
  height: 28px;
}
