:root {
  --surface: #131313;
  --surface-dim: #131313;
  --surface-bright: #393939;
  --surface-container-lowest: #0e0e0e;
  --surface-container-low: #1b1b1b;
  --surface-container: #1f1f1f;
  --surface-container-high: #2a2a2a;
  --surface-container-highest: #353535;
  --on-surface: #e2e2e2;
  --on-surface-variant: #c7c9ad;
  --outline: #909379;
  --outline-variant: #464933;
  --primary: #e2fd34;
  --on-primary: #2d3400;
  --primary-container: #c6e000;
  --background: #131313;
  --on-background: #e2e2e2;
  --surface-variant: #353535;
  --coral: #ff5a3d;
  --lime: #c6e000;
  --black: #000;
  --white: #fff;
  --muted-panel: #1a1a1a;
  --font-display: "Avenir Next Condensed", "Arial Narrow", Impact, "Franklin Gothic Medium", sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container-margin: 20px;
  --gutter: 12px;
  --section-gap: 40px;
  --stack-sm: 8px;
  --stack-md: 16px;
  --header-h: 60px;
  --radius-card: 20px;
  --radius-section: 32px;
  --radius-tile: 18px;
  --radius-review: 16px;
  --max: 390px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--black);
  color: var(--white);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  overflow-x: hidden;
  border-left: 1px solid var(--surface-variant);
  border-right: 1px solid var(--surface-variant);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--md {
  width: 18px;
  height: 18px;
}

.icon--20 {
  width: 20px;
  height: 20px;
}

.icon--star {
  color: var(--coral);
}

.icon--lime {
  color: var(--primary);
}

.icon--muted {
  color: var(--surface-variant);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--container-margin);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--background);
  border-bottom: 1px solid var(--surface-variant);
  height: var(--header-h);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.header__logo img {
  height: 32px;
  width: auto;
}

.header__toggle {
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.header__toggle:active {
  transform: scale(0.95);
}

.header__nav {
  display: none;
}

.menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.6);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.menu.is-open {
  display: block;
}

.menu__panel {
  background: var(--surface);
  border-bottom: 1px solid var(--surface-variant);
  padding: 16px var(--container-margin) 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu__link {
  display: block;
  padding: 12px 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  color: var(--on-surface);
  border-bottom: 1px solid var(--surface-variant);
}

.menu__link:last-child {
  border-bottom: 0;
}

.menu__link.is-active,
.menu__link:hover {
  color: var(--primary);
}

body.is-locked {
  overflow: hidden;
}

.main {
  flex-grow: 1;
  padding-top: var(--header-h);
}

.hero {
  padding: var(--section-gap) var(--container-margin);
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 12px;
  background-image: radial-gradient(#333 1px, transparent 1px);
  background-size: 20px 20px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--stack-md);
}

.chip {
  padding: 4px 12px;
  border-radius: 9999px;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  background: var(--surface-container);
}

.chip--outline {
  border: 1px solid var(--primary);
}

.chip--coral {
  background: var(--coral);
}

.h1 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 32px;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.h2 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  color: var(--white);
}

.h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
}

.lead {
  color: var(--on-surface-variant);
}

.lead--white {
  color: var(--white);
}

.section {
  padding: var(--section-gap) var(--container-margin);
}

.section--low {
  background: var(--surface-container-lowest);
}

.section--black {
  background: var(--black);
}

.section--lime {
  background: var(--lime);
  color: var(--black);
  border-radius: var(--radius-section);
  margin: 0 8px var(--section-gap);
  box-shadow: 0 0 40px rgba(198, 224, 0, 0.2);
}

.section--lime .h2 {
  color: var(--black);
}

.section__title {
  margin-bottom: 4px;
}

.section__title + .lead,
.section--lime .h2 {
  margin-bottom: 8px;
}

.section__intro {
  margin-bottom: var(--stack-md);
}

.section--lime .lead {
  color: var(--black);
  opacity: 0.8;
  margin-bottom: var(--stack-md);
}

.game-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-card {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius-card);
  overflow: hidden;
  width: 100%;
}

.game-card__media {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__body {
  padding: 16px;
}

.game-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.game-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  flex-shrink: 0;
}

.game-card__text {
  font-size: 14px;
  line-height: 20px;
  color: var(--surface-variant);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card__text--full {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 8px 16px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
}

.btn:active {
  transform: scale(0.95);
}

.btn--coral {
  background: var(--coral);
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
}

.why-tile {
  background: var(--black);
  color: var(--white);
  padding: 16px;
  border-radius: var(--radius-tile);
}

.why-tile .icon {
  color: var(--primary);
  margin-bottom: 8px;
}

.why-tile h3 {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.why-tile p {
  font-size: 12px;
  line-height: 16px;
  color: var(--on-surface-variant);
}

.char-row {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 16px;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: none;
}

.char-row::-webkit-scrollbar {
  display: none;
}

.char-card {
  flex-shrink: 0;
  width: 280px;
  background: var(--surface-container-low);
  padding: 16px;
  border-radius: var(--radius-card);
  scroll-snap-align: center;
  color: inherit;
}

.char-card__media {
  aspect-ratio: 3 / 4;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 12px;
}

.char-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.char-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  color: var(--primary);
  margin-bottom: 4px;
}

.char-card p {
  font-size: 14px;
  line-height: 20px;
  color: var(--on-surface-variant);
}

.criteria {
  background: var(--surface-container-low);
  border: 1px solid var(--primary);
  padding: 20px;
  border-radius: var(--radius-card);
}

.criteria li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.criteria li + li {
  margin-top: 12px;
}

.pill-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pill {
  padding: 12px 16px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
}

.pill--lime {
  background: var(--primary);
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.pill--dark {
  background: var(--black);
  color: var(--white);
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review {
  background: var(--surface-container);
  padding: 16px;
  border-radius: var(--radius-review);
}

.review__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.review__name {
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  color: var(--white);
}

.review__date {
  font-size: 12px;
  line-height: 16px;
  color: var(--on-surface-variant);
}

.review__stars {
  display: flex;
  color: var(--primary);
  margin-bottom: 8px;
}

.review p {
  font-size: 14px;
  line-height: 20px;
  color: var(--on-surface-variant);
}

.detail {
  padding: var(--section-gap) var(--container-margin);
}

.detail__media {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: var(--stack-md);
}

.detail__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.detail__media--portrait {
  max-width: 280px;
}

.detail__media--portrait img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail__kicker {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 8px;
}

.detail__kicker a {
  color: var(--primary);
}

.detail__rating {
  margin: 12px 0 16px;
}


.contact-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--on-surface-variant);
}

.contact-block a {
  color: var(--primary);
  margin-top: 4px;
}

.disclaimer {
  background: var(--muted-panel);
  padding: 16px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 16px;
  color: var(--on-surface-variant);
}

.policy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  counter-reset: policy;
}

.policy__item {
  background: var(--surface-container-low);
  padding: 16px;
  border-radius: 16px;
}

.policy__item h2 {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.policy__item h2::before {
  counter-increment: policy;
  content: counter(policy) ". ";
  color: var(--primary);
}

.policy__item p {
  color: var(--on-surface-variant);
  font-size: 14px;
  line-height: 20px;
}

.footer {
  background: var(--black);
  padding: var(--section-gap) var(--container-margin) 32px;
  border-top: 1px solid var(--surface-variant);
}

.footer__stack {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.footer__blurb {
  font-size: 14px;
  line-height: 20px;
  color: var(--on-surface-variant);
}

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer h4 {
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__cols a,
.footer address {
  font-size: 14px;
  line-height: 20px;
  color: var(--on-surface-variant);
}

.footer__cols li + li {
  margin-top: 8px;
}

.footer__cols a:hover,
.nav__link:hover,
.nav__link.is-active {
  color: var(--primary);
}

.footer address {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer address a {
  color: var(--primary);
  margin-top: 4px;
}

.footer__copy {
  text-align: center;
  border-top: 1px solid var(--surface-variant);
  padding-top: 32px;
  font-size: 12px;
  line-height: 16px;
  color: var(--on-surface-variant);
}

@media (min-width: 768px) {
  :root {
    --max: 720px;
    --container-margin: 28px;
  }

  .header__toggle {
    display: none;
  }

  .header__nav {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .nav__link {
    font-weight: 700;
    font-size: 13px;
    line-height: 16px;
    color: var(--on-surface);
  }

  .hero {
    min-height: 280px;
  }

  .game-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .char-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
    scroll-snap-type: none;
  }

  .char-card {
    width: auto;
  }

  .review-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .pill-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .section--lime {
    margin-left: var(--container-margin);
    margin-right: var(--container-margin);
  }

  .detail__media--wide {
    height: 280px;
  }

  .detail__media--wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 1024px) {
  :root {
    --max: 1120px;
    --container-margin: 40px;
    --section-gap: 56px;
  }

  body {
    border-left: 0;
    border-right: 0;
  }

  .header__nav {
    gap: 24px;
  }

  .nav__link {
    font-size: 14px;
  }

  .h1 {
    font-size: 48px;
    line-height: 44px;
    letter-spacing: -0.04em;
    max-width: 16ch;
  }

  .hero {
    min-height: 360px;
    padding-bottom: 56px;
  }

  .hero .lead {
    max-width: 52ch;
    font-size: 18px;
    line-height: 26px;
  }

  .game-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .game-card__media {
    height: 200px;
  }

  .char-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .review-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 640px;
  }

  .footer__stack {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px 48px;
  }

  .footer__brand {
    grid-row: 1 / 3;
  }

  .footer__cols {
    gap: 24px;
  }

  .footer .disclaimer,
  .footer__copy {
    grid-column: 1 / -1;
  }

  .detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .detail--portrait {
    grid-template-columns: 320px 1fr;
  }

  .detail__copy {
    padding-top: 8px;
  }
}

.play {
  padding: 20px var(--container-margin) var(--section-gap);
}

.play__copy {
  margin-bottom: 16px;
}

.play__copy .h1 {
  margin-bottom: 8px;
}

.play__stage {
  background: var(--black);
  border: 1px solid var(--surface-variant);
  border-radius: 20px;
  overflow: hidden;
  height: calc(100vh - 220px);
  min-height: 480px;
}

.play__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--black);
}

@media (min-width: 768px) {
  .play__stage {
    min-height: 620px;
    height: calc(100vh - 200px);
  }
}

@media (min-width: 1024px) {
  .play {
    padding-top: 32px;
  }

  .play__stage {
    min-height: 720px;
    height: calc(100vh - 180px);
  }
}

@media (min-width: 1280px) {
  :root {
    --max: 1200px;
  }
}
