@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  color: #202522;
  background: #e7e3d9;
  font-synthesis: none;
  --ink: #202522;
  --paper: #f5f2ea;
  --line: #cbc7bc;
  --coral: #db6b53;
  --teal: #2f817c;
  --gold: #c59138;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid rgba(47,129,124,.35); outline-offset: 3px; }

.site-header {
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 58px);
  background: var(--ink);
  color: #f8f4ea;
  border-bottom: 1px solid #363d38;
}

.brand { display: flex; align-items: center; gap: 11px; justify-self: start; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 5px; background: var(--coral); color: #fff; font: 500 18px 'DM Mono', monospace; }
.brand strong { display: block; font-size: 15px; }
.brand small { display: block; color: #8f9891; font: 400 8px 'DM Mono', monospace; margin-top: 2px; }
.site-header nav { align-self: stretch; display: flex; gap: 6px; }
.site-header nav a { min-width: 64px; padding: 0 13px; display: grid; place-items: center; color: #969e98; font-size: 11px; border-bottom: 2px solid transparent; }
.site-header nav a.active { color: #fff; border-bottom-color: var(--coral); }
.status { justify-self: end; color: #a7aea9; font: 500 8px 'DM Mono', monospace; display: flex; align-items: center; gap: 7px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #63b77b; }

main { min-height: calc(100vh - 116px); }
.catalog { max-width: 1240px; margin: 0 auto; padding: clamp(44px, 7vw, 94px) clamp(18px, 4vw, 46px) 64px; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.catalog-heading span, .game-index, .next-slot span, footer { font: 500 9px 'DM Mono', monospace; color: var(--teal); }
.catalog-heading h1 { margin: 5px 0 0; font-size: clamp(30px, 5vw, 52px); line-height: 1.15; letter-spacing: 0; }
.catalog-heading p { max-width: 360px; margin: 0 0 5px; color: #6e746e; font-size: 12px; line-height: 1.8; }

.featured-game { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, .72fr); margin-top: 28px; border: 1px solid #bdb9ae; background: var(--paper); }
.game-cover { min-height: 430px; overflow: hidden; background: #d8d4ca; border-right: 1px solid #c8c3b8; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.game-cover:hover img { transform: scale(1.015); }
.game-info { padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.game-info h2 { margin: 9px 0 13px; font-size: clamp(30px, 4vw, 46px); letter-spacing: 0; }
.game-info > p { color: #5e645e; font-size: 13px; line-height: 1.9; margin: 0; }
.game-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 28px; }
.game-tags span { border: 1px solid #c9c5ba; border-radius: 3px; padding: 5px 8px; color: #6d726c; font-size: 9px; }
.launch-button { width: 148px; height: 43px; border-radius: 5px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 11px; font-weight: 700; box-shadow: 0 4px 0 #0d100e; }
.launch-button:hover { background: #303832; }
.launch-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.next-slot { min-height: 88px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 18px; color: #858a84; }
.next-slot strong { font-size: 12px; font-weight: 500; }
.next-slot i { font: 400 8px 'DM Mono', monospace; font-style: normal; }
footer { height: 48px; padding: 0 clamp(18px, 4vw, 58px); background: var(--ink); color: #818a83; display: flex; align-items: center; justify-content: space-between; }

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; height: 60px; }
  .site-header nav { display: none; }
  .catalog { padding-top: 38px; }
  .catalog-heading { align-items: start; flex-direction: column; gap: 12px; }
  .featured-game { grid-template-columns: 1fr; }
  .game-cover { min-height: 250px; border-right: 0; border-bottom: 1px solid #c8c3b8; }
  .game-info { padding: 28px 22px 32px; }
  .next-slot { grid-template-columns: 82px 1fr; }
  .next-slot i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
