:root {
  --ink: #f6f1ea;
  --bg: #070707;
  --blue: #14324a;
  --paper: #f4fbfe;
  --gold: #e0a100;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Nunito, sans-serif; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
.lang {
  position: fixed;
  z-index: 8;
  top: 10px;
  right: 14px;
  margin: 0;
  display: flex;
  gap: 10px;
  color: rgba(243, 234, 223, .38);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
.lang button,
.lang a {
  appearance: none;
  background: none;
  border: 0;
  padding: 6px 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.lang button.on,
.lang a.on,
.lang button:hover,
.lang a:hover,
.lang button:focus-visible,
.lang a:focus-visible { color: #f3eadf; }
h1, h2, p { margin: 0; }

.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #070707;
  text-align: center;
  padding: 16px 14px 12px;
}
.brand { display: inline-block; }
.brand img { width: 210px; height: 210px; object-fit: contain; margin: 0 auto; }
.splash {
  height: 100dvh;
  height: var(--screen, 100dvh);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #000;
  overflow: hidden;
}
.stage {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}
.block {
  width: min(100%, calc(100dvh - 108px));
  max-width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  container-type: inline-size;
}
.frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}
.splash .logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.splash .motto {
  flex: none;
  width: 100%;
  margin: 4px 0 28px;
  text-align: center;
  font-weight: 700;
  font-size: 4.1cqw;
  line-height: 1.25;
  white-space: nowrap;
  color: #f3ddb0;
}
.splash nav { position: relative; z-index: 3; flex: none; width: 100%; margin: 8px 0 12px; }
nav {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 0;
  margin-top: 12px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
nav a {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 999px;
}
nav a:hover, nav a:focus-visible { background: rgba(255, 255, 255, .16); color: #fff; }
nav a.on { box-shadow: inset 0 -2px 0 #fff; }
nav .sep { color: #6d675f; padding: 0 1px; }

.windows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #070707;
}
.windows a {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: #fff;
}
.windows > a > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #070707;
  transition: transform .45s ease;
}
.windows a:hover > img, .windows a:focus-visible > img { transform: scale(1.04); }
.windows a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(transparent, rgba(0, 0, 0, .62));
  pointer-events: none;
}
.windows .cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 3.5vw, 28px);
  line-height: 1.12;
  text-shadow: 0 8px 18px #000;
}
.windows .cap small,
.sheet h1 small {
  display: block;
  margin-top: .28em;
  font-weight: 500;
  line-height: 1.2;
}
.windows .cap small {
  font-size: .62em;
  color: #f3ddb0;
  text-shadow: 0 6px 14px #000;
}
.windows .soon {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 2;
  margin: 0;
  font-family: Nunito, sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: clamp(11px, 1.5vw, 14px);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f3ddb0;
  text-shadow: 0 6px 14px #000;
}
body[data-page="home"] {
  height: var(--screen, 100dvh);
  overflow: hidden;
}
.reel { height: var(--screen, 100dvh); overflow: hidden; }
.reel-shift { height: calc(var(--screen, 100dvh) * 2); transition: transform .55s cubic-bezier(.2, .7, .2, 1); }
.reel-shift.at-games { transform: translateY(-50%); }
.deck {
  height: var(--screen, 100dvh);
  display: flex;
  flex-direction: column;
  background: #070707;
}
.deck > nav { flex: none; margin: 8px 0 6px; }
.viewport {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
  container-type: size;
}
.track {
  position: relative;
  width: min(100cqw, calc(100cqh * 16 / 9));
  height: min(100cqh, calc(100cqw * 9 / 16));
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}
.pair.windows {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  top: calc(var(--i) * 50%);
}
.pair.windows > a { height: 100%; min-height: 0; }
@media (prefers-reduced-motion: reduce) {
  .reel-shift, .track { transition: none; }
}
.sheet h1 small {
  margin-top: .22em;
  font-size: .74em;
  font-weight: 800;
  color: #2c5870;
}
.name {
  display: flex;
  align-items: center;
  gap: .42em;
  width: max-content;
  max-width: 100%;
}
.mark {
  flex: none;
  width: 2.06em;
  height: 2.06em;
  position: relative;
}
.sheet h1 .mark { width: 2.1em; height: 2.1em; }
.mark .appicon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22%;
}
.lines { min-width: 0; }

.sheet {
  background: linear-gradient(#d7f0fb, #f7fbfe 28%);
  color: var(--blue);
  padding: 22px 18px 72px;
}
.sheet h1 {
  font-weight: 800;
  font-size: clamp(28px, 6vw, 46px);
  line-height: 1.05;
  max-width: 16em;
}
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2c5870;
  font-weight: 800;
  font-size: 15px;
}
.platform svg { width: 18px; height: 18px; fill: currentColor; }
.pitch { margin-top: 10px; font-weight: 800; font-size: 20px; line-height: 1.35; max-width: 28em; }
.detail { margin-top: 10px; font-size: 17px; line-height: 1.5; max-width: 40em; }
.kicker {
  margin: 26px 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #5d7c90;
}
.steps { margin: 0; padding: 0; list-style: none; max-width: 40em; }
.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid rgba(20, 50, 74, .16);
  font-size: 16px;
  line-height: 1.4;
}
.steps b { font-variant-numeric: tabular-nums; color: #5d7c90; }
.film {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 -18px;
  padding: 0 18px 6px;
  scroll-snap-type: x mandatory;
}
.film img,
.trailer img {
  height: 320px;
  width: auto;
  max-width: none;
  border-radius: 18px;
  scroll-snap-align: start;
  background: #070707;
  object-fit: contain;
}
.trailer {
  position: relative;
  display: inline-block;
  margin: 0;
  max-width: 100%;
  line-height: 0;
  vertical-align: top;
  border-radius: 18px;
  overflow: hidden;
  background: #070707;
}
.trailer img { display: block; border-radius: 0; }
.outs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  line-height: 1.1;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
}
.out {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 16px 6px 8px;
  color: #f6f1ea;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.out + .out { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .14); }
.out svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.out span { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.out small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #f3ddb0;
}
.out:hover, .out:focus-visible { background: rgba(255, 255, 255, .08); }
.out.wait { color: rgba(246, 241, 234, .42); }
.out.wait small { color: inherit; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
}
.rates { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.rate { font-weight: 800; }
.stars { color: var(--gold); letter-spacing: 2px; margin-right: 6px; }
.where { margin-top: 8px; font-size: 13px; line-height: 1.4; color: #5d7c90; }
.cover {
  display: block;
  width: min(100%, calc(62vh * 16 / 9));
  max-height: 62vh;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #070707;
}

.page {
  background: #f7f4ee;
  color: #1c1612;
  min-height: 70vh;
  padding: 28px 18px 72px;
}
.page h1 { font-weight: 800; font-size: clamp(32px, 6vw, 48px); }
.page h1 .doc-game {
  display: block;
  margin-top: .32em;
  font-size: .62em;
  font-weight: 800;
  line-height: 1.2;
}
.page h1 .doc-game small {
  display: block;
  margin-top: .14em;
  font-size: .78em;
  font-weight: 800;
  color: #2c5870;
}
.page > h2 { margin: 22px 0 8px; font-size: 20px; font-weight: 800; }
.page > h3 { margin: 22px 0 0; font-size: 20px; font-weight: 800; }
.page p { margin-top: 12px; font-size: 18px; line-height: 1.5; max-width: 38em; }
.page a { box-shadow: inset 0 -1px 0 currentColor; }
.channels { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.channels a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  font-weight: 800;
  box-shadow: none;
}
.channels svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.channels span { box-shadow: inset 0 -1px 0 currentColor; }
.page a.link { font-weight: 800; }
.list { margin-top: 18px; display: grid; gap: 10px; }
.card {
  display: block;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  max-width: 36em;
}
a.card:hover, a.card:focus-visible { outline: 2px solid var(--blue); }
.card b { display: block; font-size: 18px; }
.card span { display: block; margin-top: 4px; color: #6a5e52; }

.docgame { margin-top: 28px; max-width: 40em; }
.docgame h2 { font-size: 26px; font-weight: 800; }
.docgame h2 small { display: block; margin-top: .18em; font-size: .62em; font-weight: 700; color: #5d7c90; }
.docgame h3 { margin: 18px 0 0; font-size: 18px; font-weight: 800; }
.store {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-top: 10px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 14px;
}
.store b { min-width: 7.5em; }
.store a { font-weight: 800; box-shadow: inset 0 -1px 0 currentColor; }
.store .wait { color: #6a5e52; }
.policies { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.policies a { font-weight: 800; }

@media (min-width: 800px) {
  .brand img { width: 280px; height: 280px; }
  nav { font-size: 13px; }
  .sheet, .page { padding-left: 8vw; padding-right: 8vw; }
  .film img, .trailer img { height: 420px; }
}
@media (max-width: 520px) {
  .bar { padding: 10px 14px 8px; }
  .brand img { width: 180px; height: 180px; }
  nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0;
    max-width: none;
    margin-top: 8px;
    padding: 0 6px;
    font-size: 10px;
    letter-spacing: .05em;
  }
  nav a { padding: 8px 4px; white-space: nowrap; }
  nav .sep { display: inline; padding: 0; }
  .splash nav { margin: 4px 0 10px; }
}
