@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --graphite: #111820;
  --slate: #24313d;
  --paper: #f4f6f3;
  --orange: #ff6a2a;
  --orange-dark: #c94711;
  --blue: #7fa6b8;
  --line: #c7d0d5;
  --muted: #aebac0;
  --ink: #17212a;
  --content: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --utility: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.gate-open { overflow: hidden; }
body {
  margin: 0;
  min-width: 0;
  background: var(--graphite);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  background: var(--paper);
  color: var(--graphite);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.25rem, 15vw, 7.5rem); text-transform: uppercase; }
h2 { font-size: clamp(2.5rem, 10vw, 5rem); text-transform: uppercase; }
h3 { font-size: clamp(1.8rem, 7vw, 2.55rem); }
p { margin: 0 0 1rem; }

.eyebrow, .route-marker, dt, .age-gate__brand, .site-footer__meta {
  font-family: var(--utility);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow { color: var(--blue); }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(199, 208, 213, 0.35);
  background: rgba(17, 24, 32, 0.96);
}
.site-header__inner {
  width: min(100%, var(--content));
  min-height: 72px;
  margin: auto;
  padding: 0.8rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand__signal { width: 0.62rem; height: 0.62rem; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,106,42,.14); }
.primary-nav { display: flex; gap: 0.35rem; overflow-x: auto; }
.primary-nav a {
  min-height: 44px;
  padding: 0.65rem 0.55rem;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}
.primary-nav a:hover { color: var(--paper); }

main { overflow: clip; }
.hero, .review, .restricted-page, .legal-layout, .site-footer {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero { padding-top: clamp(4.5rem, 13vw, 9rem); padding-bottom: clamp(4rem, 12vw, 8rem); }
.hero h1 { max-width: 12ch; }
.hero h1 br { display: none; }
.hero__lede { max-width: 43rem; margin-top: 2rem; color: var(--muted); font-size: clamp(1.05rem, 3vw, 1.35rem); }
.category-nav {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(199,208,213,.4);
  border-left: 1px solid rgba(199,208,213,.4);
}
.category-nav a {
  min-height: 64px;
  padding: 0.8rem;
  border-right: 1px solid rgba(199,208,213,.4);
  border-bottom: 1px solid rgba(199,208,213,.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--utility);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-decoration: none;
}
.category-nav span { color: var(--muted); font-family: var(--body); font-size: 0.8rem; letter-spacing: 0; text-transform: none; }
.category-nav a:hover { background: var(--slate); }

.disclosure {
  width: min(calc(100% - (2 * var(--gutter))), var(--content));
  margin: 0 auto 4rem;
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
  border: 1px solid rgba(127,166,184,.55);
  border-left: 4px solid var(--blue);
  background: rgba(127,166,184,.08);
}
.disclosure strong { font-family: var(--utility); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.disclosure p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.route { position: relative; width: min(100%, var(--content)); margin: auto; padding: 0 var(--gutter) 6rem; }
.route::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 7rem;
  left: calc(var(--gutter) + 0.34rem);
  width: 2px;
  background: linear-gradient(var(--orange), var(--blue) 55%, var(--line));
}
.catalog-section { position: relative; padding: 0 0 5rem 2rem; }
.catalog-section::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 0.72rem;
  height: 0.72rem;
  border: 3px solid var(--graphite);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--orange);
}
.section-heading { margin-bottom: 1.6rem; }
.section-heading h2 { margin-block: 0.35rem 0.8rem; }
.section-heading > p:last-child { max-width: 40rem; color: var(--muted); }
.route-marker { margin: 0; color: var(--orange); }
.route-marker span { margin-right: 0.45rem; color: var(--paper); }
.game-grid { display: grid; gap: 1rem; }
.game-card {
  min-width: 0;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  border: 1px solid rgba(199,208,213,.32);
  background: var(--slate);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.game-card__icon { width: 72px; height: 72px; border-radius: 15px; }
.game-card h3 { margin-bottom: 0.8rem; }
.game-card p:not(.eyebrow) { color: var(--muted); font-size: 0.93rem; }
.game-card .best-for { padding-top: 0.8rem; border-top: 1px solid rgba(199,208,213,.22); }
.game-card .best-for strong { color: var(--paper); }
.actions { display: grid; gap: 0.65rem; margin-top: 1.2rem; }
.button {
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #111820;
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.button:hover { background: #ff8754; }
.button--secondary { background: transparent; color: var(--paper); border-color: rgba(199,208,213,.55); }
.button--secondary:hover { background: rgba(244,246,243,.08); }
.text-link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }

.breadcrumbs { padding-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.55rem; color: var(--muted); font-family: var(--utility); font-size: 0.72rem; text-transform: uppercase; }
.review { max-width: 980px; padding-top: 2.5rem; padding-bottom: 6rem; }
.review-hero { padding-block: 2.5rem 3rem; display: grid; gap: 1.5rem; border-bottom: 1px solid rgba(199,208,213,.32); }
.review-hero > img { width: 112px; height: 112px; border-radius: 24px; }
.review-hero h1 { font-size: clamp(3rem, 13vw, 6.6rem); margin-bottom: 1.25rem; }
.verdict { max-width: 48rem; color: var(--muted); font-size: clamp(1.08rem, 3vw, 1.35rem); }
.facts { margin: 0 0 4rem; display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid rgba(199,208,213,.3); }
.facts div { padding: 1rem; border-right: 1px solid rgba(199,208,213,.3); border-bottom: 1px solid rgba(199,208,213,.3); }
.facts dt { color: var(--blue); }
.facts dd { margin: 0.35rem 0 0; font-size: 0.87rem; }
.review > section { max-width: 47rem; margin: 0 0 3.5rem; }
.review > section h2 { margin-bottom: 1.2rem; font-size: clamp(2.2rem, 8vw, 3.7rem); }
.review > section p, .strength-list { color: var(--muted); font-size: 1.02rem; }
.strength-list { padding-left: 1.2rem; }
.strength-list li { padding: 0.45rem 0 0.75rem 0.3rem; border-bottom: 1px solid rgba(199,208,213,.22); }
.consideration { padding: 1.5rem; border-left: 4px solid var(--orange); background: var(--slate); }
.screenshot-strip { width: calc(100vw - var(--gutter)); padding-bottom: 1rem; display: flex; gap: 0.8rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; }
.screenshot-strip figure { flex: 0 0 min(84vw, 660px); margin: 0; scroll-snap-align: start; }
.screenshot-strip img { width: 100%; height: auto; border: 1px solid rgba(199,208,213,.35); }
.review .disclosure { width: 100%; margin-inline: 0; }
.review-cta { padding: 1.4rem; border: 1px solid rgba(199,208,213,.35); background: var(--slate); }
.review-cta .button { width: 100%; }
.review-cta p { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.78rem; }

.restricted-page, .legal-layout { max-width: 850px; padding-top: clamp(4rem, 12vw, 8rem); padding-bottom: 8rem; }
.restricted-page h1, .legal-layout h1 { margin-bottom: 2rem; }
.restricted-page > p:not(.eyebrow), .legal-layout > p { max-width: 46rem; color: var(--muted); font-size: 1.08rem; }
.legal-hero { padding-bottom: clamp(3rem, 9vw, 6rem); border-bottom: 1px solid rgba(199,208,213,.35); }
.legal-hero h1 { max-width: 12ch; font-size: clamp(3.4rem, 13vw, 7rem); }
.legal-intro { max-width: 47rem; color: var(--muted); font-size: clamp(1.05rem, 3vw, 1.3rem); }
.policy-date { margin-top: 1.5rem; color: var(--blue); font-family: var(--utility); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.policy-records { counter-reset: policy-record; }
.policy-section { padding-block: clamp(2.5rem, 8vw, 4.5rem); border-bottom: 1px solid rgba(199,208,213,.26); }
.policy-section h2 { max-width: 18ch; margin-block: .7rem 1.5rem; font-size: clamp(2rem, 7vw, 3.4rem); }
.policy-section > p:not(.route-marker) { max-width: 46rem; color: var(--muted); }
.policy-section > p + p { margin-top: 1rem; }
.contact-card { margin-block: 2rem 0; display: grid; border-top: 1px solid rgba(199,208,213,.35); font-style: normal; }
.contact-card div { min-width: 0; padding: 1rem 0; display: grid; gap: .35rem; border-bottom: 1px solid rgba(199,208,213,.25); }
.contact-card span { color: var(--blue); font-family: var(--utility); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-card strong, .contact-card a { overflow-wrap: anywhere; color: var(--paper); font-weight: 500; }
.source-list { max-width: 46rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.source-list li { border-top: 1px solid rgba(199,208,213,.24); }
.source-list a { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--paper); }

.site-footer { padding-top: 3rem; padding-bottom: 2rem; border-top: 1px solid rgba(199,208,213,.35); }
.site-footer__brand p { margin-top: 0.8rem; color: var(--muted); font-size: 0.85rem; }
.footer-nav { margin-block: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.25rem 1rem; }
.footer-nav a { min-height: 42px; display: inline-flex; align-items: center; color: var(--muted); font-size: 0.82rem; }
.site-footer__meta { color: var(--blue); }

.age-gate {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 16px;
  display: grid;
  place-items: center;
  background: var(--graphite);
}
.age-gate[hidden] { display: none; }
.age-gate__image {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(7,18,29,.22), rgba(7,18,29,.46)), url("/assets/images/gate/chicken-fishing-city.webp");
  background-position: center center;
  background-size: cover;
  filter: saturate(.9) contrast(1.04);
}
.age-gate__panel {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  padding: clamp(1.5rem, 5vw, 2.5rem);
  background: var(--graphite);
  border: 1px solid rgba(244,246,243,.72);
  box-shadow: 0 24px 70px rgba(0,0,0,.48), 8px 8px 0 rgba(255,106,42,.9);
}
.age-gate__panel h2 { margin: 0; font-size: clamp(2.1rem, 8vw, 3.25rem); line-height: .96; text-align: center; }
.age-gate__actions { margin-top: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.age-gate__legal { margin: 1.1rem auto 0; min-height: 44px; display: flex; width: max-content; align-items: center; justify-content: center; color: var(--muted); font-size: 0.76rem; }

@media (min-width: 700px) {
  .primary-nav { gap: 1rem; }
  .primary-nav a { padding-inline: 0.75rem; }
  .hero h1 br { display: initial; }
  .category-nav { grid-template-columns: repeat(4, 1fr); }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-card { grid-template-columns: 88px minmax(0, 1fr); padding: 1.5rem; }
  .game-card__icon { width: 88px; height: 88px; }
  .review-hero { grid-template-columns: 136px 1fr; align-items: start; }
  .review-hero > img { width: 136px; height: 136px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .footer-nav { grid-template-columns: repeat(4, 1fr); }
  .contact-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card div { padding: 1.25rem; border-right: 1px solid rgba(199,208,213,.25); }
}

@media (min-width: 1040px) {
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game-card { grid-template-columns: 72px minmax(0, 1fr); }
  .game-card__icon { width: 72px; height: 72px; }
  .actions { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .site-header__inner { align-items: flex-start; flex-direction: column; }
  .primary-nav { width: 100%; }
  .primary-nav a { flex: 1; justify-content: center; padding-inline: 0.35rem; }
  .game-card { grid-template-columns: 58px minmax(0, 1fr); padding: 1rem; }
  .game-card__icon { width: 58px; height: 58px; border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media (prefers-contrast: more) {
  :root { --muted: #d7dfe2; }
  .game-card, .facts, .review-cta, .disclosure { border-color: var(--paper); }
}
