/* /lwanda - the download page. The picture is the free part's last moments; under it the page is cut to black
   the way the game is: a hard edge, no fade. Everything else is the site's own (site.css). */

.page--chase { background: #000; }

.chase {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(56.25vw, 100svh);
  background: #1d2a45;
  overflow: hidden;
}
.chase__picture, .chase__picture img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.chase__picture img { object-fit: cover; object-position: 50% 100%; }
.chase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(13, 20, 40, 0.8) 0%, rgba(13, 20, 40, 0.45) 45%, rgba(13, 20, 40, 0) 66%),
    linear-gradient(to right, rgba(13, 20, 40, 0.6) 0%, rgba(13, 20, 40, 0) 55%);
}
.chase__words { padding-top: calc(var(--head-h) + clamp(0.75rem, 1.6vw, 1.75rem)); padding-bottom: 26vw; }
.chase__logo { width: min(11rem, 46vw); height: auto; margin-left: -0.3rem; }
.chase h1 {
  margin: 0.9rem 0 0.35em;
  max-width: 15ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 1.5rem + 2.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.chase .lede { margin-bottom: 1.5rem; font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); max-width: 38ch; }
.chase__note { margin-top: 0.9rem; color: var(--bone-soft); font-size: 1.05rem; }

/* the download's size is part of its button: nobody starts 359 MB without seeing it */
.btn--size { padding-right: 0.5em; gap: 0.9em; }
.btn__size { padding: 0.45em 0.7em; border-radius: 3px; background: var(--ink); color: var(--gold-hi); white-space: nowrap; }

/* only where the game cannot run: phones and tablets */
.phone {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: rgba(8, 10, 26, 0.72);
}
.phone p { font-size: 1.05rem; }
.phone p + p { margin-top: 0.5rem; }
.phone .actions { margin-top: 1rem; }
.phone .btn { border: 0; cursor: pointer; }
.phone .btn--line { border: 2px solid var(--bone); background: transparent; color: var(--bone); }
.phone__said:empty { display: none; }
.phone__said { margin-top: 0.75rem; color: var(--gold-hi); font-weight: 600; overflow-wrap: anywhere; }
.phone .phone__how { margin-top: 0.9rem; color: var(--bone-soft); }
.phone__how strong { color: var(--bone); white-space: nowrap; }
.phone .phone__anyway { margin-top: 0.6rem; color: var(--bone-soft); font-size: 0.95rem; }
.phone__anyway a { color: inherit; }
.on-phone { display: none; }
/* phones (and tablets) get the send-to-PC box in place of the 336 MB download: most visitors come from TikTok on a
   phone, and on 4 Dec 2026 only 10 of 110 phone downloads finished */
@media (hover: none) and (pointer: coarse) {
  .phone { display: block; }
  .chase__pc { display: none; }
  .btn.on-phone { display: inline-flex; order: -1; }
  .shop [data-download].btn--gold { border: 2px solid var(--bone); background: transparent; color: var(--bone); }
}

/* ---------- the cut ---------- */

.cut { background: #000; padding-block: clamp(4rem, 9vw, 7.5rem); }
.cut__row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.cut h2 { color: #DE9740; margin-bottom: 0.35em; }          /* the game's own orange, its end screen's title */
.cut p { max-width: 48ch; }
.cut p + p { margin-top: 1rem; }
.cut .actions { margin-top: 1.8rem; }
.cut .steps { margin-top: 1.8rem; }
.cut__save { border-left: 1px solid var(--rule); padding-left: clamp(1.25rem, 3vw, 2.5rem); color: var(--bone-soft); }
.cut__save h3 { color: var(--bone); margin-bottom: 0.6rem; font-size: 1.5rem; }

/* ---------- to play it ---------- */

.ready { background: var(--night); }
.ready__row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.steps { padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 0 0 1.6rem 3.4rem; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.12em;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--gold);
}
.steps strong { display: block; font-family: var(--display); font-size: 1.3rem; line-height: 1.25; }
.steps span { color: var(--bone-soft); }
.ready .facts h3 { margin-bottom: 1rem; }
.ready .facts dd { font-size: 1.2rem; line-height: 1.35; }
.check { margin-top: 1.5rem; color: var(--bone-soft); font-size: 1rem; }
.check code { display: block; margin-top: 0.4rem; overflow-wrap: anywhere; font-size: 0.85rem; }
.check summary { cursor: pointer; }

.seen { background: var(--night-floor); }
.seen__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.seen img { border-radius: 6px; width: 100%; }
.seen p { color: var(--bone-soft); max-width: 46ch; margin-bottom: 1.5rem; }

@media (max-width: 860px) {
  .cut__row, .ready__row, .seen__row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  .chase { display: block; min-height: 0; background: #1c2946; }
  .chase__words { padding-bottom: 0; }
  .chase__picture { position: relative; z-index: -1; display: block; margin-top: -2rem; }
  .chase__picture img {
    position: static;
    height: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 26%);
  }
  .chase::after { background: none; }
}

/* ---------- what players say ---------- */

.reviews { background: #000; border-top: 1px solid var(--rule); }
.reviews[hidden] { display: none; }
.reviews__row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.reviews h2 { margin-bottom: 0.35em; }
.reviews__sum { color: var(--bone-soft); margin-bottom: 1.8rem; }
.reviews__list li { padding-block: 1.5rem; border-top: 1px solid var(--rule); }
.reviews__list li:first-child { border-top: 0; padding-top: 0; }
.reviews__list blockquote { margin: 0.45rem 0 0.6rem; max-width: 58ch; font-family: var(--display); font-size: 1.3rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.reviews__by { color: var(--bone-soft); font-size: 1rem; overflow-wrap: anywhere; }
.reviews__more { margin-top: 1rem; background: transparent; cursor: pointer; }
.reviews__more[hidden] { display: none; }
.rated { color: var(--gold); letter-spacing: 0.12em; line-height: 1; }
.rated i { font-style: normal; color: rgba(244, 238, 226, 0.28); }

.review { padding: clamp(1.25rem, 2.6vw, 2rem); border-radius: 6px; background: #141a30; position: relative; }
.review h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.review__how { color: var(--bone-soft); font-size: 1rem; line-height: 1.5; margin-bottom: 1.3rem; }
.review__field { display: block; margin-bottom: 1.1rem; font-size: 1.05rem; }
.review textarea, .review input[type="text"] {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(244, 238, 226, 0.5);
  border-radius: 4px;
  background: #0a0e1f;
  color: var(--bone);
  font: inherit;
  resize: vertical;
}
.review [aria-invalid="true"] { border-color: #ff9c7a; }
.stars { border: 0; margin: 0 0 1rem; padding: 0; min-width: 0; }
.stars legend { padding: 0; font-size: 1.05rem; }
/* written five to one and laid out backwards, so a chosen star lights the ones before it without a script */
.stars__row { display: inline-flex; flex-direction: row-reverse; position: relative; margin-left: -0.2rem; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { padding: 0.1rem 0.2rem; font-size: 2.2rem; line-height: 1.15; min-width: 2.75rem; text-align: center; color: rgba(244, 238, 226, 0.34); cursor: pointer; }
.stars label::before { content: "★"; }
.stars input:checked ~ label { color: var(--gold); }
@media (hover: hover) { .stars__row:hover label:hover, .stars__row:hover label:hover ~ label { color: var(--gold-hi); } }
.stars input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 1px; border-radius: 4px; }
.review__private { margin-bottom: 1.2rem; }
.review__private summary { cursor: pointer; color: var(--bone-soft); margin-bottom: 0.8rem; }
.review__trap { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.review__said:empty { display: none; }
.review__said { margin-bottom: 1rem; color: #ffb59a; }
.review__said.is-good { color: var(--gold-hi); }
.review .btn { border: 0; cursor: pointer; }
.review .btn[disabled] { opacity: 0.6; cursor: default; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 860px) { .reviews__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- buying the full game (3 Dec 2026, Paystack) ---------- */
/* hidden until /api/lwanda/shop says the sale is open; until then the "not on sale yet" words stay */

.shop[hidden], .shop [hidden], [data-soon][hidden] { display: none; }
.shop { scroll-margin-top: calc(var(--head-h) + 1rem); }
.shop__price { margin: 1.6rem 0 0.4rem; color: var(--bone-soft); }
.shop__price [data-price] { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 1.8rem + 1.8vw, 3.2rem); line-height: 1; color: var(--gold); }
/* 4 Dec 2026: site buyers get a free Steam key at launch (DRIM: "Yes, promise keys") */
.shop__steam { margin-top: 0.6rem; padding-left: 0.8rem; border-left: 3px solid var(--gold); color: var(--bone); font-size: 1rem; line-height: 1.5; }
.shop__test { margin-top: 0.6rem; padding: 0.5rem 0.8rem; border-left: 3px solid #ff9c7a; background: #1c1410; color: #ffcbb7; font-size: 1rem; }
.shop__form, .shop__wait, .shop__got { margin-top: 1.6rem; max-width: 30rem; }
.shop input[type="text"], .shop input[type="email"], .shop textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(244, 238, 226, 0.5);
  border-radius: 4px;
  background: #0a0e1f;
  color: var(--bone);
  font: inherit;
}
.shop [aria-invalid="true"] { border-color: #ff9c7a; }
.shop .btn { border: 0; cursor: pointer; }
.shop .btn--line { border: 2px solid var(--bone); background: transparent; color: var(--bone); }
.shop .btn[disabled] { opacity: 0.6; cursor: default; }
.shop .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }
.shop__how { margin-top: 1rem; color: var(--bone-soft); font-size: 1rem; line-height: 1.5; }
.shop__said { color: var(--gold-hi); }
.shop__got { padding: clamp(1.25rem, 2.6vw, 2rem); border-radius: 6px; background: #141a30; }
.shop__got h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.shop__got p { color: var(--bone-soft); }
/* the code is read aloud and typed from a phone: big, spaced, never broken across lines */
.shop__code { margin: 0.2rem 0 0.9rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); letter-spacing: 0.06em; white-space: nowrap; color: var(--gold) !important; user-select: all; }
.shop__till { margin-top: 1.6rem; max-width: 30rem; }
.shop__steps { margin-top: 0.4rem; }
.shop__steps li { padding-bottom: 1.2rem; }
.shop__till-no { font-size: 1.5rem; letter-spacing: 0.06em; color: var(--gold); user-select: all; }
.shop__copy { margin-left: 0.3rem; padding: 0.1rem 0.5rem; border: 1px solid var(--bone-soft); border-radius: 4px; background: transparent; color: var(--bone); font: inherit; font-size: 0.95rem; cursor: pointer; }
.shop__copy:hover { background: rgba(244, 238, 226, 0.14); }
.shop__or { margin-top: 2.2rem; color: var(--bone-soft); }
.shop__or + .shop__form { margin-top: 0.8rem; }
.shop__find { margin-top: 2rem; max-width: 30rem; color: var(--bone-soft); }
.shop__find summary { cursor: pointer; margin-bottom: 0.9rem; }
@media (max-width: 420px) { .shop__code { font-size: 1.45rem; letter-spacing: 0.03em; } }
.shop__help form > p:first-child { margin-bottom: 1rem; line-height: 1.5; }
.shop textarea { resize: vertical; }
