:root {
  color-scheme: dark;
  --bg: #0c1220;
  --card: rgba(14, 22, 38, .9);
  --ink: #eaf2ff;
  --muted: #9fb4d0;
  --line: rgba(255, 255, 255, .10);
  --yellow: #ffd23f;
  --yellow-ink: #1a1408;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 460px at 78% -10%, rgba(58, 160, 232, .16), transparent 65%),
    radial-gradient(700px 420px at 8% 110%, rgba(232, 64, 44, .10), transparent 60%),
    var(--bg);
  color: var(--ink);
  font: 16px/1.45 "Segoe UI", system-ui, sans-serif;
}
a { color: var(--yellow); }
.top, .foot, .lobby, .page {
  width: min(1120px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 0;
}
.logo {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 14px;
}
.lang { display: block; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.lang-select {
  appearance: none;
  background: rgba(14, 22, 38, .9) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%239fb4d0' d='M1 1.5 6 6.5 11 1.5'/></svg>") no-repeat right 12px center;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: 8px 36px 8px 14px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.lang-select:hover, .lang-select:focus { border-color: rgba(255, 210, 63, .65); outline: none; }
main { flex: 1; }
.lobby { padding: 36px 0 72px; }
.page { padding: 28px 0 72px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); }
.page h2 { margin: 28px 0 8px; font-size: 22px; }
.page p { max-width: 68ch; color: var(--muted); }
h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--ink);
}
h2 { font-size: 22px; margin: 28px 0 8px; }
.lead {
  margin: 14px 0 0;
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 60ch;
}
.grid {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 22px;
}
.grid li { display: flex; }
.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 16px;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 210, 63, .65);
  box-shadow: 0 22px 46px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 210, 63, .18);
}
.card:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101622;
}
.cover > img, .sheet-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
  transform: scale(1.02);
}
.card:hover .cover > img { transform: scale(1.06); }
.badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
}
.badge-play { background: var(--yellow); color: var(--yellow-ink); }
.badge-play svg { width: 11px; height: 13px; fill: currentColor; }
.badge-soon {
  background: rgba(12, 18, 32, .82);
  color: #cddcf0;
  border: 1px solid rgba(255, 255, 255, .2);
}
.badge-icon { width: 14px; height: 14px; filter: invert(1); opacity: .85; }
.card-body { display: flex; flex-direction: column; padding: 16px 18px 20px; }
.card-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}
.card-text { margin-top: 7px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.sheet {
  display: grid;
  grid-template-columns: minmax(220px, 420px) 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 18px;
}
.sheet-cover { aspect-ratio: 16 / 9; border-radius: 16px; border: 2px solid var(--line); }
.back { margin: 0 0 8px; }
.back a { color: var(--muted); text-decoration: none; }
.back a:hover { color: var(--yellow); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn, .pill {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 22px;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--yellow-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.btn-store { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn:disabled, .btn[disabled] {
  background: rgba(12, 18, 32, .82);
  color: #8ea0b8;
  border: 1px solid rgba(255, 255, 255, .2);
  cursor: default;
}
.pill-soon {
  background: rgba(12, 18, 32, .82);
  color: #cddcf0;
  border: 1px solid rgba(255, 255, 255, .2);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--yellow); }
@media (max-width: 720px) {
  .sheet { grid-template-columns: 1fr; }
}
