:root {
  --paper: #efe8d9;
  --paper-2: #f7f2e8;
  --ink: #1c1914;
  --muted: #6a6358;
  --line: rgba(28, 25, 20, 0.22);
  --odyssey: #3a4f63;
  --arctic: #6e8492;
  --max: 740px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Liberation Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, #f8f3ea 0%, transparent 70%),
    var(--paper);
}

a { color: var(--ink); }

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

header.site,
main,
footer.site {
  width: min(var(--max), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

header.site {
  padding: 44px 0 32px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.brand {
  display: inline-block;
  text-decoration: none;
}

.logo {
  width: 188px;
  height: auto;
  margin: 0 auto;
}

.tagline {
  margin: 18px auto 22px;
  max-width: 28em;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  font-style: italic;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}

h1 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

h1::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.42rem;
  font-weight: normal;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.game {
  border: 1px solid var(--line);
  margin-bottom: 22px;
  background: var(--paper-2);
  box-shadow: 0 10px 28px rgba(40, 32, 18, 0.05);
}

.game-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1448 / 1086;
  background: #0d1420;
  border-bottom: 1px solid var(--line);
}

.game-cover:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.game-cover img,
.game-cover video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0d1420;
}

.game-cover img {
  transition: opacity 1.8s ease;
}

.game-cover.is-playing img {
  opacity: 0;
}

.game-cover video {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.8s ease;
}

.game-cover.is-playing video {
  opacity: 1;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.game-body {
  padding: 24px 24px 26px;
}

.game-body p {
  margin: 0 0 16px;
  color: var(--ink);
}

.status {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--odyssey);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 22px;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts li {
  padding: 0 16px 0 0;
  margin: 0 16px 6px 0;
  border-right: 1px solid var(--line);
}

.facts li:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.facts strong {
  color: var(--ink);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-2);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: var(--odyssey);
  border-color: var(--odyssey);
}

.btn.coffee {
  background: transparent;
  color: var(--ink);
}

.btn.coffee:hover,
.btn.ghost:hover {
  background: var(--ink);
  color: var(--paper-2);
  border-color: var(--ink);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.btn img {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
}

.coming-soon {
  background: #e6ebe6;
}

.coming-soon .status {
  color: var(--arctic);
}

.coming-soon p {
  color: var(--muted);
}

.coming-soon .facts {
  margin-bottom: 0;
}

footer.site {
  margin-top: auto;
  padding: 36px 0 48px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--line);
}

footer.site .copyright {
  margin: 18px 0 0;
  letter-spacing: 0.02em;
}

footer.site .copyright a {
  color: var(--muted);
}

.privacy p {
  margin: 0 0 16px;
  color: var(--ink);
}

.privacy code {
  font-size: 0.9em;
}

@media (min-width: 640px) {
  .logo { width: 216px; }

  .game-body { padding: 28px 30px 30px; }

  h2 { font-size: 1.58rem; }
}
