:root {
  --slate: #0f1413;
  --slate-2: #151b19;
  --slate-3: #1d2521;
  --copper: #b87333;
  --copper-soft: #d59658;
  --sand: #ead8b8;
  --sand-muted: #bda989;
  --forest: #1f3d32;
  --forest-light: #2e5a47;
  --ink: #070a09;
  --line: rgba(184, 115, 51, .28);
  --glass: rgba(21, 27, 25, .78);
  --shadow: 0 22px 70px rgba(0, 0, 0, .46);
  --radius: 28px;
  --heading: 'Cinzel', Georgia, serif;
  --body: 'Inter', system-ui, sans-serif;
  --editorial: 'Crimson Text', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--slate); }
body {
  min-height: 100vh;
  font-family: var(--body);
  color: var(--sand);
  background:
    radial-gradient(circle at 18% 4%, rgba(184,115,51,.18), transparent 30rem),
    radial-gradient(circle at 82% 12%, rgba(31,61,50,.55), transparent 34rem),
    linear-gradient(145deg, var(--ink), var(--slate) 42%, #121912);
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(7, 10, 9, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .04em; }
.brand__sigil, .cookie-banner__mark {
  width: 44px; height: 44px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--copper), #6f3b19);
  color: #0b0e0d;
  font-family: var(--heading);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 12px 30px rgba(0,0,0,.35);
}
.brand__name { font-family: var(--heading); font-size: clamp(1rem, 2vw, 1.25rem); }
.desktop-nav { display: flex; gap: clamp(16px, 2.4vw, 32px); color: var(--sand-muted); font-size: .92rem; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: var(--copper-soft); }
.nav-toggle { display: none; width: 46px; height: 42px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--sand); }
.mobile-nav { display: none; position: fixed; inset: 76px 16px auto 16px; z-index: 29; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(15,20,19,.96); box-shadow: var(--shadow); }
.mobile-nav.is-open { display: grid; gap: 12px; }
.mobile-nav a { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); }

.hero {
  min-height: calc(100vh - 76px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, .55fr);
  align-items: end;
  gap: 28px;
  padding: clamp(56px, 7vw, 96px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}
.hero__grain { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7,10,9,.94), rgba(7,10,9,.52) 48%, rgba(7,10,9,.86)); z-index: 1; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.08); opacity: .62; }
.hero__content, .hero-card { position: relative; z-index: 2; }
.hero__content { max-width: 880px; }
.eyebrow { color: var(--copper-soft); text-transform: uppercase; letter-spacing: .19em; font-weight: 700; font-size: .76rem; margin-bottom: 14px; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.08; }
h1 { font-size: clamp(3rem, 8vw, 7.7rem); max-width: 920px; }
.hero__quote { margin-top: 26px; max-width: 720px; color: var(--sand); font-family: var(--editorial); font-size: clamp(1.3rem, 2.5vw, 2rem); }
.genre-tags, .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.genre-tags span { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--sand-muted); background: rgba(15,20,19,.58); }
.btn, .store-buttons a {
  border-radius: 999px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn:hover, .store-buttons a:hover { transform: translateY(-2px); border-color: rgba(213,150,88,.7); }
.btn--primary { background: linear-gradient(135deg, var(--copper), #e0a66b); color: #111; font-weight: 800; }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--sand); }
.hero-card {
  align-self: center;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(29,37,33,.86), rgba(15,20,19,.64));
  box-shadow: var(--shadow);
}
.hero-card span, .shelf-card span, .article-grid span, .game-card span { color: var(--copper-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.hero-card h2 { margin: 10px 0 14px; font-size: 2rem; }
.hero-card p { color: var(--sand-muted); }
.score-ring { margin-top: 24px; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle, rgba(184,115,51,.24), rgba(31,61,50,.34)); border: 1px solid var(--line); }
.score-ring strong { font-family: var(--heading); font-size: 2.4rem; display: block; }
.score-ring small { color: var(--sand-muted); display: block; font-size: .72rem; }

.section { padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 72px); }
.section__heading { max-width: 960px; margin-bottom: 36px; }
.section__heading h2 { font-size: clamp(2.1rem, 5vw, 4.6rem); }
.section__heading--split { max-width: none; display: grid; grid-template-columns: minmax(0, .9fr) minmax(260px, .45fr); gap: 28px; align-items: end; }
.section__heading--split > p { color: var(--sand-muted); font-size: 1.06rem; }
.ledger-grid, .article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ledger-grid article, .article-grid article, .game-card, .shelf-card, .detail-layout {
  border: 1px solid rgba(184,115,51,.22);
  background: linear-gradient(145deg, rgba(29,37,33,.76), rgba(15,20,19,.72));
  box-shadow: 0 14px 50px rgba(0,0,0,.24);
}
.ledger-grid article { padding: 28px; border-radius: 26px; }
.ledger-grid span { display: block; color: var(--copper); font-family: var(--heading); margin-bottom: 28px; }
.ledger-grid h3, .article-grid h3, .game-card h3, .shelf-card h3 { margin: 10px 0; font-size: 1.35rem; }
.ledger-grid p, .article-grid p, .game-card p, .shelf-card p, .lead, .spec-list dd, .affiliate-note { color: var(--sand-muted); }

.collections { background: linear-gradient(180deg, transparent, rgba(31,61,50,.22), transparent); }
.shelf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.shelf-card { min-height: 360px; position: relative; overflow: hidden; border-radius: 30px; display: flex; align-items: flex-end; }
.shelf-card--large { grid-column: span 2; }
.shelf-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .54; transition: transform .5s ease; }
.shelf-card:hover img { transform: scale(1.05); }
.shelf-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 10%, rgba(7,10,9,.92)); }
.shelf-card div { position: relative; z-index: 1; padding: 26px; }

.catalog-tools { display: grid; grid-template-columns: 1fr 210px 210px; gap: 16px; margin-bottom: 24px; }
.catalog-tools label { display: grid; gap: 8px; color: var(--sand-muted); font-size: .86rem; }
input, select { width: 100%; border: 1px solid var(--line); border-radius: 18px; padding: 14px 15px; background: rgba(7,10,9,.62); color: var(--sand); outline: none; }
input:focus, select:focus { border-color: var(--copper-soft); box-shadow: 0 0 0 4px rgba(184,115,51,.12); }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.game-card { border-radius: 26px; overflow: hidden; }
.game-card img { width: 100%; height: 190px; object-fit: cover; filter: saturate(.85); }
.game-card div { padding: 20px; }
.game-card em { display: block; margin-top: 12px; color: var(--copper-soft); font-style: normal; font-size: .85rem; }
.no-results { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; color: var(--sand-muted); }

.article-grid article { border-radius: 28px; overflow: hidden; }
.article-grid img { width: 100%; height: 250px; object-fit: cover; opacity: .72; }
.article-grid article > *:not(img) { margin-left: 22px; margin-right: 22px; }
.article-grid span { display: block; margin-top: 22px; }
.article-grid p { margin-bottom: 24px; }
.text-link { color: var(--copper-soft); border-bottom: 1px solid var(--line); justify-self: start; }

.detail-layout { border-radius: 36px; padding: clamp(22px, 4vw, 42px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr); gap: 32px; }
.detail-copy h2 { font-size: clamp(2.4rem, 5vw, 5.2rem); }
.lead { font-family: var(--editorial); font-size: 1.38rem; margin: 18px 0 28px; }
.spec-list { display: grid; gap: 14px; margin-bottom: 24px; }
.spec-list div { border-left: 2px solid var(--copper); padding-left: 16px; }
.spec-list dt { color: var(--sand); font-weight: 800; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.store-buttons a { background: rgba(31,61,50,.38); color: var(--sand); }
.trailer-frame { position: relative; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); }
.trailer-frame img { width: 100%; height: 370px; object-fit: cover; opacity: .72; }
.trailer-frame button { position: absolute; inset: auto 22px 22px auto; border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; color: #111; background: var(--copper-soft); font-weight: 800; }
.screenshots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.screenshots img { height: 170px; width: 100%; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); opacity: .78; }

.site-footer { padding: 56px clamp(18px, 5vw, 72px) 26px; border-top: 1px solid var(--line); background: rgba(7,10,9,.7); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .7fr 1fr; gap: 28px; }
.footer-grid h2, .footer-grid h3 { margin-bottom: 12px; }
.footer-grid p, .footer-grid a, .footer-grid button { color: var(--sand-muted); display: block; margin: 8px 0; text-align: left; background: none; border: 0; padding: 0; }
.footer-grid a:hover, .footer-grid button:hover { color: var(--copper-soft); }
.copyright { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(184,115,51,.16); color: var(--sand-muted); font-size: .9rem; }

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  width: min(760px, calc(100% - 28px));
  display: none;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(15,20,19,.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translate(-50%, 22px);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translate(-50%, 0); }
.cookie-banner__copy { flex: 1; }
.cookie-banner__copy p { color: var(--sand-muted); font-size: .92rem; }
.cookie-banner__actions { display: flex; gap: 10px; }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .nav-toggle { display: block; }
  .hero, .section__heading--split, .detail-layout { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; }
  .shelf-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger-grid, .article-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog-tools { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero { min-height: 780px; }
  h1 { font-size: 3.2rem; }
  .shelf-grid, .catalog-grid, .ledger-grid, .article-grid, .footer-grid, .screenshots { grid-template-columns: 1fr; }
  .shelf-card--large { grid-column: span 1; }
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}
