:root {
  --ink: #f2ebe0;
  --muted: #a89f90;
  --gold: #d4b06a;
  --panel: #120e18;
  --line: #3a3228;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  background: #0a0810;
}
.bg {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10,8,16,0.55), rgba(10,8,16,0.88)),
    url('/art/title-bg.gif') center / cover;
  z-index: 0;
}
.top, .wrap { position: relative; z-index: 1; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
}
.brand {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  color: var(--gold);
  text-shadow: 2px 2px 0 #000;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-ico {
  width: 40px;
  height: 40px;
  image-rendering: auto;
  border-radius: 8px;
  box-shadow: 2px 2px 0 #000;
}
.lang { display: flex; gap: 8px; }
.lang-btn {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  padding: 8px 10px;
  border: 2px solid var(--gold);
  background: var(--panel);
  color: var(--gold);
  cursor: pointer;
}
.lang-btn.active { background: var(--gold); color: #120e18; }
.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}
.lead {
  text-align: center;
  color: var(--muted);
  margin: 8px 0 28px;
  font-size: 1.05rem;
}
.games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  background: rgba(18, 14, 24, 0.92);
  border: 3px solid var(--gold);
  outline: 2px solid #000;
  box-shadow: 8px 8px 0 #000;
  padding: 22px 20px;
  min-height: 240px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 12px 12px 0 #000;
}
.card .emoji { font-size: 2rem; }
.card h2 {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0;
  color: var(--gold);
}
.card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}
.cta {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  color: #120e18;
  background: var(--gold);
  border: 2px solid #000;
  align-self: flex-start;
  padding: 10px 12px;
}
@media (max-width: 720px) {
  .games { grid-template-columns: 1fr; }
}
