:root {
  --paper: #f4f6f3;
  --ink: #12201c;
  --blue: #275efe;
  --blue-dark: #1843c7;
  --mist: #dde6e2;
  --ember: #ff6a3d;
  --white: #ffffff;
  --muted: #60716a;
  --line: rgba(18, 32, 28, 0.18);
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
  --body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --shadow: 0 18px 60px rgba(18, 32, 28, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark__mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.wordmark--light {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--blue);
  color: var(--white);
}

.button--primary:hover {
  background: var(--blue-dark);
}

.button--wide {
  width: 100%;
}

.text-link {
  font-size: 0.88rem;
  text-underline-offset: 0.22em;
}

.text-link--light {
  color: rgba(255, 255, 255, 0.72);
}

.age-page {
  min-height: 100vh;
  background: var(--ink);
}

.age-gate {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.age-gate__art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 32, 28, 0.12), rgba(18, 32, 28, 0.38)),
    url("/images/age-gate.webp") center 55% / cover no-repeat;
}

.age-gate__brand {
  position: absolute;
  z-index: 1;
  top: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.age-gate__banner {
  position: absolute;
  z-index: 1;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  left: clamp(0.75rem, 2vw, 1.5rem);
  display: grid;
  max-height: 25svh;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  overflow-y: auto;
  padding: clamp(0.85rem, 2vw, 1.4rem) clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(18, 32, 28, 0.91);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.age-gate__copy {
  min-width: 0;
}

.age-gate h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-transform: uppercase;
}

.age-gate__copy .eyebrow {
  margin-bottom: 0.35rem;
}

.age-gate__copy > p:last-child {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

.age-gate__actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.age-gate__confirm {
  min-width: min(23rem, 40vw);
  min-height: 3.5rem;
  box-shadow: 0 10px 30px rgba(39, 94, 254, 0.38);
}

.age-gate__deny {
  min-height: 3.5rem;
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.74);
  white-space: nowrap;
}

.age-gate__deny:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.restricted-page {
  min-height: 100vh;
  background: var(--ink);
  color: var(--white);
}

.restricted {
  display: flex;
  width: min(100% - 3rem, 72rem);
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 8vw, 7rem);
}

.restricted section {
  max-width: 55rem;
}

.restricted h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.86;
  text-transform: uppercase;
}

.restricted section > p:not(.eyebrow) {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.68);
}

.site-header {
  display: flex;
  width: min(100% - 3rem, 90rem);
  min-height: 5.8rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  font-size: 0.87rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  display: grid;
  width: min(100% - 3rem, 90rem);
  min-height: 41rem;
  grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 0.55fr);
  align-items: end;
  gap: 4rem;
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 10rem) 0 5rem;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 4rem;
  right: 6%;
  width: clamp(14rem, 30vw, 29rem);
  height: clamp(14rem, 30vw, 29rem);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 3rem var(--paper),
    inset 0 0 0 calc(3rem + 1px) var(--line);
  content: "";
}

.hero__route {
  position: absolute;
  top: 5rem;
  right: 0;
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.hero__route::before {
  width: 4rem;
  height: 1px;
  margin: auto 0;
  background: var(--ember);
  content: "";
}

.hero__copy,
.hero__note {
  min-width: 0;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.4rem, 10vw, 9.6rem);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero__intro {
  max-width: 40rem;
  margin: 2rem 0 2.2rem;
  color: #3e514a;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.hero__note {
  align-self: end;
  border-top: 2px solid var(--ink);
  padding-top: 1.2rem;
}

.hero__note-index {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__note p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: var(--white);
}

.trust-strip span {
  padding: 1.1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--mono);
  font-size: 0.65rem;
  text-align: center;
  text-transform: uppercase;
}

.guide-section,
.method,
.disclosure {
  width: min(100% - 3rem, 90rem);
  margin: 0 auto;
}

.guide-section {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-heading h2,
.method h2,
.disclosure h2,
.legal-page h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.2rem);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: uppercase;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 700 0.75rem var(--mono);
}

.filter:hover,
.filter.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.game-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 0 0 rgba(18, 32, 28, 0);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.game-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.game-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--mist);
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.game-card:hover .game-card__media img {
  transform: scale(1.035);
}

.game-card__tag,
.game-card__score {
  position: absolute;
  top: 1rem;
  background: var(--white);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.game-card__tag {
  left: 1rem;
  padding: 0.4rem 0.6rem;
}

.game-card__score {
  right: 1rem;
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border-radius: 50%;
}

.game-card__body {
  display: grid;
  min-height: 23rem;
  grid-template-rows: auto auto auto 1fr auto auto;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.game-card__genre {
  margin: 0 0 0.5rem;
  color: var(--blue);
  font: 700 0.67rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-stretch: condensed;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.game-card__summary {
  margin: 1rem 0 0.5rem;
  font-size: 1.04rem;
  font-weight: 650;
}

.game-card__detail {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.89rem;
}

.button--card {
  background: var(--ink);
  color: var(--white);
}

.button--card:hover {
  background: var(--blue);
}

.game-card small {
  margin-top: 0.8rem;
  color: var(--muted);
  font: 0.61rem var(--mono);
  text-align: center;
}

.game-error {
  padding: 4rem;
  border: 1px dashed var(--line);
  text-align: center;
}

.method {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(5rem, 9vw, 9rem) 0;
  border-top: 1px solid var(--line);
}

.method__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method__list li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.method__list li:first-child {
  border-top: 2px solid var(--ink);
}

.method__list span {
  color: var(--blue);
  font: 700 0.65rem var(--mono);
  text-transform: uppercase;
}

.method__list h3,
.method__list p {
  grid-column: 2;
}

.method__list h3 {
  margin: 0;
  font-size: 1.1rem;
}

.method__list p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.disclosure {
  margin-bottom: clamp(5rem, 9vw, 9rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--mist);
}

.disclosure h2 {
  max-width: 14ch;
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.disclosure > p:not(.eyebrow) {
  max-width: 57rem;
  margin: 1.5rem 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  padding: clamp(3rem, 6vw, 6rem) max(1.5rem, calc((100vw - 90rem) / 2));
  background: var(--ink);
  color: var(--white);
}

.site-footer__brand p {
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.6rem 2rem;
  align-content: start;
  font-size: 0.83rem;
}

.site-footer__small {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.48);
  font: 0.67rem var(--mono);
}

.legal-page {
  width: min(100% - 3rem, 52rem);
  min-height: 70vh;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.legal-page__lead {
  max-width: 42rem;
  margin: 2rem 0 4rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.legal-page h2 {
  margin: 3.5rem 0 0.7rem;
  font-family: var(--display);
  font-size: 1.65rem;
  font-stretch: condensed;
  text-transform: uppercase;
}

.legal-page p:not(.eyebrow) {
  color: #40524b;
}

.legal-page a {
  color: var(--blue);
  text-underline-offset: 0.2em;
}

.contact-card {
  margin: 3rem 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--mist);
}

.contact-card > a {
  font-family: var(--display);
  font-size: clamp(1.45rem, 4vw, 2.6rem);
  font-weight: 800;
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem max(1.5rem, calc((100vw - 52rem) / 2));
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
}

.not-found {
  display: flex;
  width: min(100% - 3rem, 90rem);
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  padding: 2rem 0 clamp(4rem, 10vw, 9rem);
}

.not-found > div {
  max-width: 60rem;
}

.not-found h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.84;
  text-transform: uppercase;
}

.not-found p:not(.eyebrow) {
  max-width: 36rem;
  margin: 2rem 0;
  color: var(--muted);
}

@media (max-width: 780px) {
  .age-gate__banner {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.75rem;
  }

  .age-gate h1 {
    font-size: clamp(1.55rem, 7vw, 2.35rem);
  }

  .age-gate__copy > p:last-child {
    display: none;
  }

  .age-gate__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .age-gate__confirm {
    min-width: 0;
    min-height: 2.85rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.78rem;
  }

  .age-gate__deny {
    min-height: 2.85rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.72rem;
    white-space: normal;
  }

  .site-header {
    width: min(100% - 2rem, 90rem);
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  .hero,
  .guide-section,
  .method,
  .disclosure {
    width: min(100% - 2rem, 90rem);
  }

  .hero {
    min-height: 38rem;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 7rem;
  }

  .hero__route {
    top: 2.5rem;
    left: 0;
    right: auto;
  }

  .hero::before {
    top: 5rem;
    right: 0;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 17vw, 6rem);
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading,
  .method {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .method__list li {
    grid-template-columns: 6rem 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .legal-page {
    width: min(100% - 2rem, 52rem);
  }

  .legal-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
