:root {
  --paper: #f3eee4;
  --card: #fffdf8;
  --ink: #1b1814;
  --muted: #5d564c;
  --line: #ddd2bf;
  --red: #e30613;
  --red-dark: #b80510;
  --mast: #161513;
  --mast-2: #24211d;
  --ok: #1f6b45;
  --warn: #8a5a12;
  --gutter: clamp(24px, 5.2vw, 80px);
  --max: 1120px;
  --serif: "Fraunces", "Palatino Linotype", Palatino, serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.15em; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #efe6d6;
  padding: .08em .35em;
  border-radius: 4px;
  font-size: .92em;
}
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; z-index: 40; background: #fff; padding: 8px 12px; }
.wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(22, 21, 19, .45);
  z-index: 20;
}
body.nav-open .overlay { display: block; }

/* masthead — light, one row; burger before wrap */
.header {
  background: rgba(255, 253, 248, .92);
  color: var(--ink);
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header a { color: var(--ink); text-decoration: none; }
.header a:hover { color: var(--red); text-decoration: none; }
.header-inner {
  display: flex; align-items: center; gap: 12px;
  min-height: 64px;
  flex-wrap: nowrap;
}
.logo { flex-shrink: 0; }
.logo img { width: 168px; height: auto; }
.menu-btn {
  display: none;
  background: transparent; border: 0; color: inherit; padding: 8px; cursor: pointer;
}
.nav {
  display: flex; gap: 2px; flex: 1; flex-wrap: nowrap;
  min-width: 0; align-items: center;
}
.nav a {
  padding: 6px 8px; border-radius: 6px; font-weight: 600; font-size: .82rem;
  white-space: nowrap;
}
.nav a.is-on, .nav a:hover { background: #f4ddd8; color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.lang a { padding: 6px 7px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; }
.lang a.is-on { background: var(--red); color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 14px; border-radius: 8px;
  font-weight: 700; font-size: .88rem; text-decoration: none !important;
  border: 0; cursor: pointer; white-space: nowrap;
}
.btn-red { background: var(--red); color: #fff !important; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost {
  background: transparent; color: var(--ink) !important;
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: #efe6d6; }
.btn-lg { min-height: 48px; padding: 0 22px; }
.btn-outline {
  background: #fff; color: var(--ink) !important;
  border: 1px solid var(--line);
}

/* hero — home full-bleed, inner pages like lobby B overlay */
.hero {
  position: relative;
  min-height: min(52vh, 480px);
  display: grid; align-items: center;
  color: #fff;
}
.hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(22,21,19,.92) 0%, rgba(22,21,19,.7) 36%, rgba(22,21,19,.18) 70%, transparent 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 48px; }
.hero h1, .hero .tagline, .hero .kicker, .hero-actions { max-width: 560px; }
.kicker {
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .72rem; font-weight: 700; margin: 0 0 8px; color: #f3c4b8;
}
.hero .tagline { max-width: 38em; color: #efe6d6; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

.page-hero {
  position: relative;
  margin: 18px 0 0;
  aspect-ratio: 2.35 / 1;
  min-height: 240px;
  max-height: 380px;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  background: #161513;
}
.page-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #161513f2 0%, #161513b8 34%, #16151322 68%, transparent 100%);
  pointer-events: none;
}
.page-hero-copy {
  position: relative; z-index: 1;
  padding: 36px 32px;
  max-width: min(540px, 58%);
}
.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.12;
  color: #fff;
}
.page-hero .tagline {
  margin: 0 0 16px;
  color: #efe6d6;
  font-size: .95rem;
  font-weight: 600;
  max-width: 36em;
}

.section {
  padding-top: 40px;
  padding-bottom: 40px;
}
.lede { font-size: 1.12rem; max-width: 46em; color: var(--muted); }

/* byline */
.byline {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0 0;
}
.byline img {
  width: 48px; height: 48px; object-fit: cover; border-radius: 50%;
  border: 2px solid #fff;
}
.byline small { display: block; color: #d7cfc2; font-size: .8rem; }
.byline a { color: #fff; font-weight: 700; }
.byline.ink small { color: var(--muted); }
.byline.ink a { color: var(--ink); }
.byline-foot {
  padding-bottom: 40px;
}
.byline-foot .byline {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* score / verdict */
.score-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 8px 0 28px;
}
.score {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.score b { display: block; font-family: var(--serif); font-size: 1.55rem; }
.score span { color: var(--muted); font-size: .86rem; }
.score .src { display: block; margin-top: 6px; font-size: .75rem; }
.verdict {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.verdict article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
}
.verdict h2 { font-size: 1.15rem; }
.plus li::marker { color: var(--ok); }
.minus li::marker { color: var(--warn); }

.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  text-decoration: none !important;
}
.card img { width: 100%; height: 150px; object-fit: cover; }
.card div { padding: 14px 16px 18px; }
.card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 1.2em;
  font-size: .95rem;
}
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #efe6d6; font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.article.section { padding-top: 28px; }
.crumbs { font-size: .82rem; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); }

.author-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.author-card img {
  width: 160px; height: 210px; object-fit: cover; border-radius: 12px;
}

.games {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.game {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  text-decoration: none !important;
}
.game img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.game-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 8px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff; font-size: .78rem;
}
.game-name { display: block; font-weight: 700; }
.game-prov { opacity: .8; }
.tag {
  position: absolute; top: 8px; left: 8px;
  background: var(--red); color: #fff;
  font-size: .68rem; font-weight: 800;
  padding: 3px 6px; border-radius: 4px;
}

.pays {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pays span {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .82rem; font-weight: 600;
}

.cta-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  background: var(--mast);
  color: #f6f1e8;
  border-radius: 14px;
  padding: 18px 22px;
  margin: 8px 0 0;
}
.cta-bar p { margin: 0; flex: 1; }
.cta-bar a { color: #fff !important; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 8px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: .6em 0 0; color: var(--muted); }

.seo h2 { margin-top: 1.2em; }
.seo h2:first-child { margin-top: 0; }

.footer {
  background: #efe8dc;
  color: var(--muted);
  padding: 36px 0 22px;
  margin-top: 20px;
  font-size: .9rem;
  border-top: 1px solid var(--line);
}
.footer a { color: var(--ink); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 22px;
}
.footer h3 { color: var(--ink); font-size: .95rem; font-family: var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0 0 6px; }
.age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%;
  font-weight: 800; margin-top: 10px;
}
.legal { border-top: 1px solid var(--line); padding-top: 14px; font-size: .8rem; }

@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(82vw, 320px);
    background: var(--card);
    color: var(--ink);
    flex-direction: column;
    padding: 72px 18px 24px;
    z-index: 25;
    gap: 2px;
    border-right: 1px solid var(--line);
    box-shadow: 8px 0 24px rgba(27, 24, 20, .08);
  }
  .nav a { font-size: 1rem; padding: 10px 12px; }
  body.nav-open .nav { display: flex; }
  .header-tools .btn-ghost { display: none; }
}
@media (max-width: 980px) {
  .score-grid, .card-row, .games { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .author-card { grid-template-columns: 120px 1fr; }
}
@media (max-width: 780px) {
  .verdict, .hero-actions { grid-template-columns: 1fr; display: grid; }
  .games { grid-template-columns: repeat(3, 1fr); }
  .page-hero {
    aspect-ratio: 1.45 / 1;
    min-height: 260px;
    max-height: none;
  }
  .page-hero-copy { max-width: 90%; padding: 24px 18px; }
  .page-hero h1 { font-size: 1.32rem; }
  .hero { min-height: 320px; }
  .hero::after {
    background: linear-gradient(180deg, rgba(22,21,19,.2) 10%, rgba(22,21,19,.88) 100%);
  }
}
@media (max-width: 520px) {
  .score-grid { grid-template-columns: 1fr 1fr; }
  .games { grid-template-columns: repeat(2, 1fr); }
  .author-card { grid-template-columns: 1fr; }
  .author-card img { width: 120px; height: 160px; }
}
