:root {
  --bg-page: #faf8f5;
  --surface: #ffffff;
  --surface-warm: #fff7ed;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #ef6c00;
  --accent-hover: #ea580c;
  --border-warm: #fed7aa;
  --radius: 16px;
  --radius-inner: 12px;
  --space-section: clamp(1.5rem, 4vw, 2rem);
  --font: "Open Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  line-height: 1.65;
  background: var(--bg-page);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(1.25rem, 5vw, 2.75rem) clamp(1rem, 4vw, 1.25rem) 3rem;
}

.panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-section);
}

.hero {
  margin: 0;
  padding-left: clamp(0.75rem, 2vw, 1rem);
  border-left: 4px solid var(--accent);
}

.hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.hero .lead {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 62ch;
  line-height: 1.68;
}

.games-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.pill {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.4rem 0.6rem;
  line-height: 1.35;
}

.pill .lang {
  flex-shrink: 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.pill .title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(239, 108, 0, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pill .title:hover {
  color: var(--accent-hover);
  border-bottom-color: rgba(234, 88, 12, 0.62);
}

.pill .title:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.more-games {
  border-top: 1px solid var(--border-warm);
  padding-top: 1.15rem;
  color: var(--muted);
}

.more-games h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--text);
}

.more-games p {
  margin: 0;
}

.more-games a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(239, 108, 0, 0.35);
}

.more-games a:hover {
  color: var(--accent-hover);
  border-bottom-color: rgba(234, 88, 12, 0.62);
}
