:root {
  --color-bg: #f4f2ed;
  --color-bg-elevated: #ffffff;
  --color-border: rgba(44, 53, 69, 0.12);
  --color-text: #2c3545;
  --color-text-muted: #5a6578;
  --color-accent-games: #a6851a;
  --color-accent-art: #3d9a94;
  --color-accent-about: #7c5fd4;
  --color-link: #2563eb;
  --color-link-hover: #1d4ed8;
  --color-header-bg: rgba(244, 242, 237, 0.92);
  --color-header-bg-solid: rgba(244, 242, 237, 0.97);
  --color-hero-fallback: #e3e0d9;
  --font-sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: Georgia, "Noto Serif SC", "Times New Roman", serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --header-h: 3.75rem;
  --layout-max: 72rem;
  --radius: 6px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
  color: inherit;
  background: none;
  border: none;
}

:focus-visible {
  outline: 2px solid var(--color-accent-art);
  outline-offset: 2px;
}
