/*
 * The landing, both languages, in the hangar's clothes (24.10, his word):
 * the same cloth, glass, keys and two themes as the game's menu — see
 * `client/src/styles.css`. The theme is written on the root as `data-theme`
 * before the first frame (the script at the top of each page), from the same
 * `tusk.theme` the game keeps, so a choice made here carries into the game.
 */
@font-face { font-family: 'Oswald'; src: url('/fonts/oswald-cyrillic.woff2') format('woff2'); font-weight: 400 700; font-display: block; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oswald'; src: url('/fonts/oswald-latin.woff2') format('woff2'); font-weight: 400 700; font-display: block; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212; }
@font-face { font-family: 'Onest'; src: url('/fonts/onest-cyrillic.woff2') format('woff2'); font-weight: 300 800; font-display: block; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; src: url('/fonts/onest-latin.woff2') format('woff2'); font-weight: 300 800; font-display: block; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212; }

:root {
  color-scheme: dark;
  --page: #090c11;
  --cloth-hi: #2a3240;
  --cloth: #1d2430;
  --cloth-lo: #141a23;
  --hair: #d6dce8;
  --ink: #f3ebda;
  --ink-dim: #a3a6ad;
  --rule: color-mix(in srgb, var(--hair) 12%, transparent);
  --glass: color-mix(in srgb, var(--cloth-lo) 66%, transparent);
  --glass-solid: color-mix(in srgb, var(--cloth-lo) 92%, transparent);
  --glass-edge: rgba(255, 255, 255, 0.09);
  --glass-blur: blur(14px) saturate(1.2);
  --lift: 0 24px 64px rgba(0, 0, 0, 0.5);
  --beam-wolves: rgba(143, 199, 230, 0.12);
  --beam-lions: rgba(240, 196, 78, 0.10);
  --plate-radius: 14px;
  --key-radius: 12px;
  /* The page's own colour is the Wolves' blue, as the hangar's before a side is chosen. */
  --accent: #8fc7e6;
  --accent-deep: #2d4a63;
  --accent-ink: color-mix(in srgb, var(--accent) 78%, white);
  --ink-on-accent: #0b0e14;
  --wolves: #8fc7e6;
  --lions: #f0c44e;
  --wolves-ink: color-mix(in srgb, var(--wolves) 78%, white);
  --lions-ink: color-mix(in srgb, var(--lions) 78%, white);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  --font-display: 'Oswald', 'Arial Narrow', 'Segoe UI', sans-serif;
  --font-ui: 'Onest', 'Segoe UI', Roboto, system-ui, sans-serif;
}

/* Paper and graphite, each side's colour pressed deeper to read on white — as the game's. */
:root[data-theme='light'] {
  color-scheme: light;
  --page: #e6dccb;
  --cloth-hi: #ffffff;
  --cloth: #ffffff;
  --cloth-lo: #f7f4ee;
  --hair: #3b3528;
  --ink: #1c1d22;
  --ink-dim: #5a606b;
  --rule: rgba(59, 53, 40, 0.14);
  --glass: color-mix(in srgb, var(--cloth) 70%, transparent);
  --glass-solid: color-mix(in srgb, var(--cloth) 92%, transparent);
  --glass-edge: rgba(255, 255, 255, 0.85);
  --lift: 0 16px 44px rgba(70, 55, 30, 0.18);
  --beam-wolves: rgba(255, 255, 255, 0.5);
  --beam-lions: rgba(255, 255, 255, 0.5);
  --accent: #2f86c2;
  --accent-deep: #1c5b88;
  --accent-ink: color-mix(in srgb, var(--accent) 80%, #000);
  --ink-on-accent: #ffffff;
  --wolves: #2f86c2;
  --lions: #f2a516;
  --wolves-ink: color-mix(in srgb, var(--wolves) 80%, #000);
  --lions-ink: color-mix(in srgb, #f2a516 62%, #000);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page); }
body {
  margin: 0; color: var(--ink); font-family: var(--font-ui); font-size: 17px; line-height: 1.55;
  /* The hangar's room: one tone, and grain so the dark does not band. */
  background: var(--noise), var(--page);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; margin: 0; text-wrap: balance; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
/* The commander plate's «● ПРЯМАЯ СВЯЗЬ»: a dot and the words, neutral — neither side's. */
.kicker { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; font-size: 13px; color: var(--ink); margin-bottom: 14px; }
.kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dim { color: var(--ink-dim); }

/* A plate of glass: every card on the page. */
.glass { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--plate-radius); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--lift); }

/*
 * The play button, everywhere it appears: the hangar's «В бой», but the page
 * belongs to neither side, so the key is both — the Wolves' blue on the left
 * and the Lions' amber on the right, as they face each other on the painting,
 * the seam slanted. The pale pair in both themes: dark type reads on each.
 */
.play {
  --wolves-key: #8fc7e6;
  --lions-key: #f0c44e;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700;
  font-size: 24px; color: #0b0e14; text-decoration: none; white-space: nowrap;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, 0.14) 100%),
    linear-gradient(104deg, var(--wolves-key) 49.6%, var(--lions-key) 50.4%);
  /* the background under the border too: from the padding's edge it was tiled
     round, and the far side's colour showed as a line on each end (24.10) */
  background-origin: border-box;
  padding: 18px 56px; border-radius: 16px; border: 1px solid transparent;
  box-shadow: -10px 8px 24px color-mix(in srgb, var(--wolves-key) 30%, transparent), 10px 8px 24px color-mix(in srgb, var(--lions-key) 30%, transparent);
  transition: transform 0.12s, box-shadow 0.12s;
}
.play:hover { transform: translateY(-1px); box-shadow: -12px 12px 32px color-mix(in srgb, var(--wolves-key) 44%, transparent), 12px 12px 32px color-mix(in srgb, var(--lions-key) 44%, transparent); }
/* One side's own key, as the game paints it in each theme: «За Волков», «За Львов». */
.play.wolves, .play.lions {
  color: var(--ink-on-side);
  background: linear-gradient(180deg, color-mix(in srgb, var(--side) 82%, #fff) 0%, var(--side) 48%, color-mix(in srgb, var(--side) 70%, var(--side-deep)) 100%);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--side) 34%, transparent);
}
.play.wolves:hover, .play.lions:hover { box-shadow: 0 12px 34px color-mix(in srgb, var(--side) 48%, transparent); }
.play.wolves { --side: #8fc7e6; --side-deep: #2d4a63; --ink-on-side: #0b0e14; }
.play.lions { --side: #f0c44e; --side-deep: #6d3f0f; --ink-on-side: #241503; }
:root[data-theme='light'] .play.wolves { --side: #2f86c2; --side-deep: #1c5b88; --ink-on-side: #ffffff; }
:root[data-theme='light'] .play.lions { --side: #f2a516; --side-deep: #c4720a; --ink-on-side: #241503; }
.play.small { font-size: 15px; padding: 0 20px; height: 40px; border-radius: var(--key-radius); box-shadow: none; }

/* A glass key in the header: the theme, the language. */
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 12px; background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--key-radius); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; cursor: pointer; transition: border-color 0.14s; }
.chip:hover, .chip[aria-expanded="true"] { border-color: color-mix(in srgb, var(--accent) 55%, var(--glass-edge)); }
.chip svg.icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme { padding: 0; }
/* The key shows where it takes you: the moon on the light page, the sun on the dark. */
.theme .sun, :root[data-theme='light'] .theme .moon { display: none; }
:root[data-theme='light'] .theme .sun { display: block; }

/* a platform the game also runs on: its mark, and the link into it */
.platform { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #229ed9; border: 1px solid rgba(255, 255, 255, 0.25); transition: transform 0.12s; }
.platform:hover { transform: scale(1.08); }
.platform svg { width: 26px; height: 26px; margin-left: -2px; }
/* MAX's and VK's own marks, his files (pic/max-logo.png, pic/vk.png) cut to the mark: its shape is the button. */
.platform.max, .platform.vk, .platform.cg { background: none; border: 0; }
.platform.max img, .platform.vk img, .platform.cg img { width: 48px; height: 48px; display: block; }
/* CrazyGames: ready, shown once the game has its page there (28.10) */
.platform[hidden] { display: none; }
.platforms { display: flex; gap: 14px; justify-content: center; margin-top: 22px; }

/* header: a strip of glass */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--page) 72%, transparent); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
/* The name, stacked, the second word in both sides' colours — the seam through its
   middle letter, as on the hero (hence the span only as wide as the word). */
.logo { text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 0.96; letter-spacing: 0.01em; text-transform: uppercase; }
.logo span { display: block; width: fit-content; --wolves-word: var(--wolves-ink); --lions-word: var(--lions-ink); }
.top nav { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.top nav > a:not(.play) { text-decoration: none; color: var(--ink-dim); padding: 0 10px; }
.top nav > a:not(.play):hover { color: var(--ink); }
.langs { position: relative; }
.langs > button::after { content: ''; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 5px; list-style: none; min-width: 160px; background: var(--glass-solid); border: 1px solid var(--glass-edge); border-radius: var(--key-radius); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--lift); }
.langs ul[hidden] { display: none; }
.top nav .langs a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink-dim); font-size: 15px; text-decoration: none; }
.top nav .langs a:hover, .top nav .langs a[aria-current] { color: var(--ink); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.langs svg:not(.icon) { display: block; width: 20px; height: 13px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45); }

/*
 * hero: the painting is dark in either theme, so the words on it are always
 * the dark theme's, and its foot fades into the page's own colour.
 */
.hero { --ink: #f3ebda; position: relative; min-height: min(92vh, 860px); display: grid; place-items: center; text-align: center; overflow: hidden; color: var(--ink); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 46% 60% at 50% 50%, rgba(9, 12, 17, 0.7), rgba(9, 12, 17, 0.12) 70%), linear-gradient(180deg, rgba(9, 12, 17, 0) 62%, var(--page)); }
/* the page's grain over the painting's foot too, so the two meet without a seam */
.hero::before { content: ''; position: absolute; inset: auto 0 0; height: 30%; z-index: 1; background: var(--noise); -webkit-mask-image: linear-gradient(transparent, #000); mask-image: linear-gradient(transparent, #000); pointer-events: none; }
.hero-text { position: relative; z-index: 2; padding: 60px 20px; max-width: 640px; }
.hero h1 { font-size: clamp(52px, 8.8vw, 112px); line-height: 0.86; letter-spacing: 0.005em; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7); }
.hero h1 span { display: block; }
/* The second word as the key: the Wolves' half and the Lions' half, the same slanted seam. */
.both-sides { color: transparent; background: linear-gradient(104deg, var(--wolves-word) 49.6%, var(--lions-word) 50.4%); -webkit-background-clip: text; background-clip: text; }
.hero .both-sides { --wolves-word: #a9d6ee; --lions-word: #f4cf6a; text-shadow: none; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.6)); }
.hero .lede { font-size: clamp(18px, 2.2vw, 22px); margin: 20px auto 30px; max-width: 34ch; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9); }
.hero .under { margin-top: 16px; font-size: 14px; opacity: 0.88; text-shadow: 0 1px 8px #000; }
.hero .also { margin-top: 22px; display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }

section { padding: 96px 0; }
.head { max-width: 720px; margin-bottom: 40px; }
.head h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.2; margin-bottom: 16px; }
.head p { font-size: 19px; margin: 0; color: color-mix(in srgb, var(--ink) 86%, var(--ink-dim)); }

/* the story: two sides, two prologues — each the hangar's commander plate */
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.side { overflow: hidden; display: flex; flex-direction: column; }
.side .who { display: flex; gap: 16px; align-items: center; padding: 20px 22px 14px; }
.side .who img { width: 74px; height: 74px; border-radius: 10px; object-fit: cover; border: 1px solid var(--glass-edge); }
.side h3 { font-size: 28px; }
.wolves h3 { color: var(--wolves-ink); }
.lions h3 { color: var(--lions-ink); }
.side .who p { margin: 2px 0 0; color: var(--ink-dim); font-size: 15px; }
.side blockquote { margin: 14px 22px 6px; padding-left: 14px; border-left: 2px solid var(--rule); font-style: italic; }
.wolves blockquote { border-left-color: var(--wolves); }
.lions blockquote { border-left-color: var(--lions); }
.side blockquote cite { display: block; font-style: normal; font-size: 14px; color: var(--ink-dim); margin-top: 6px; }
.side .missions { margin: 14px 22px 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.side .missions span { font-size: 13px; padding: 4px 10px; border-radius: 8px; background: color-mix(in srgb, var(--cloth-hi) 55%, transparent); color: var(--ink-dim); border: 1px solid var(--glass-edge); }
.side .missions b { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; color: var(--ink); width: 100%; margin-bottom: 2px; }

/* a film behind a poster: plays with sound when pressed */
.film { position: relative; aspect-ratio: 16 / 9; background: #000; cursor: pointer; }
.film img, .film video { width: 100%; height: 100%; object-fit: cover; }
.film .go { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.5)); }
.film .go i { width: 78px; height: 78px; border-radius: 50%; background: rgba(20, 26, 35, 0.55); border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; transition: transform 0.15s; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.film:hover .go i { transform: scale(1.07); }
.film .go i::after { content: ''; margin-left: 6px; border-left: 22px solid #f3ebda; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }

.reel { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 30px; }
.reel img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--glass-edge); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); }

/* battle */
.battle-film { border-radius: var(--plate-radius); overflow: hidden; border: 1px solid var(--glass-edge); box-shadow: var(--lift); }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.mode { overflow: hidden; }
.mode img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.mode div { padding: 16px 18px 20px; }
.mode h3 { font-size: 22px; margin-bottom: 6px; }
.mode p { margin: 0; color: var(--ink-dim); font-size: 15px; }

/* features: four plates, the number in the accent */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 20px 20px 22px; }
.feature b { display: block; font-family: var(--font-display); font-size: 48px; color: var(--accent-ink); line-height: 1; }
/* the numbers take the two sides in turn */
.feature:nth-child(even) b { color: var(--lions-ink); }
.feature h3 { font-size: 19px; margin: 10px 0 6px; }
.feature p { margin: 0; color: var(--ink-dim); font-size: 15px; }
.squad { margin-top: 28px; border-radius: var(--plate-radius); border: 1px solid var(--glass-edge); box-shadow: var(--lift); width: 100%; }

/* last call: the hangar's spotlight from above and its podium under the key */
.last { position: relative; overflow: hidden; text-align: center; padding-bottom: 110px; }
.last::before { content: ''; position: absolute; left: 50%; top: 0; width: 1100px; height: 100%; transform: translateX(-50%); background: conic-gradient(from 160deg at 38% -14%, transparent 0deg, var(--beam-wolves) 12deg, var(--beam-wolves) 24deg, transparent 36deg), conic-gradient(from 164deg at 62% -14%, transparent 0deg, var(--beam-lions) 12deg, var(--beam-lions) 24deg, transparent 36deg); -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 55%, transparent 92%); mask-image: linear-gradient(transparent, #000 22%, #000 55%, transparent 92%); pointer-events: none; }
.last .wrap { position: relative; }
.last h2 { font-size: clamp(32px, 5vw, 60px); margin-bottom: 14px; }
.last p { margin: 0 auto 34px; max-width: 46ch; color: var(--ink-dim); }
.podium { position: relative; display: inline-flex; gap: 18px; flex-wrap: wrap; justify-content: center; padding: 0 0 26px; }
.podium::before, .podium::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); border-radius: 50%; pointer-events: none; }
.podium::before { width: 124%; height: 54px; border: 1px solid var(--rule); border-left-color: color-mix(in srgb, var(--wolves) 60%, transparent); border-right-color: color-mix(in srgb, var(--lions) 60%, transparent); background: radial-gradient(closest-side at 30% 50%, color-mix(in srgb, var(--wolves) 14%, transparent), transparent), radial-gradient(closest-side at 70% 50%, color-mix(in srgb, var(--lions) 14%, transparent), transparent); }
.podium::after { width: 112%; height: 36px; bottom: 9px; border: 1px solid var(--rule); border-left-color: color-mix(in srgb, var(--wolves) 34%, transparent); border-right-color: color-mix(in srgb, var(--lions) 34%, transparent); }
.podium .play { position: relative; z-index: 1; }
.where { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; font-size: 14px; }
.where span { padding: 7px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge); color: var(--ink-dim); }
.where span::before { content: '✓ '; color: var(--wolves-ink); }
.where span:nth-child(even)::before { color: var(--lions-ink); }

/* The paper pages — privacy, terms (24.10): the landing's header and footer,
   the text on one plate of glass. */
.paper { max-width: 860px; margin: 0 auto; padding: 48px 20px 72px; }
.paper .plate { padding: 40px 44px 36px; line-height: 1.65; }
.paper h1, .paper h2 { line-height: 1.2; }
.paper h1 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 8px; }
.paper h2 { font-size: 20px; margin: 34px 0 10px; padding-top: 22px; border-top: 1px solid var(--rule); }
.paper .date { color: var(--ink-dim); margin: 0 0 26px; }
.paper ul { padding-left: 22px; }
.paper li { margin: 5px 0; }
.paper li::marker { color: var(--ink-dim); }
.paper b { color: var(--ink); }
.paper p, .paper li { color: color-mix(in srgb, var(--ink) 88%, var(--ink-dim)); }
.paper a { text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent); text-underline-offset: 3px; }
.paper .fill { background: color-mix(in srgb, var(--lions) 16%, transparent); border: 1px dashed var(--lions); padding: 0 5px; border-radius: 4px; }
footer a[aria-current] { color: var(--ink); text-decoration: none; }
@media (max-width: 520px) {
  .paper { padding: 24px 12px 48px; }
  .paper .plate { padding: 24px 18px 22px; }
  .paper h2 { font-size: 18px; }
}

footer { border-top: 1px solid var(--rule); padding: 30px 0 100px; font-size: 14px; color: var(--ink-dim); }
footer .wrap { display: flex; gap: 14px 28px; flex-wrap: wrap; justify-content: space-between; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* a phone: one column, the play button always under the thumb */
.dock { display: none; }
@media (max-width: 860px) {
  .top nav > a:not(.play) { display: none; }
  .sides, .modes { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .reel { grid-template-columns: repeat(3, 1fr); }
  section { padding: 64px 0; }
  .dock { display: block; transform: translateY(110%); transition: transform 0.25s; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--page) 80%, transparent); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-top: 1px solid var(--rule); }
  .dock.shown { transform: none; }
  .dock .play { width: 100%; font-size: 19px; padding: 14px; }
}
@media (max-width: 860px) and (orientation: portrait) {
  /* the phone's own first screen: the two faces brow to brow, the full width,
     going down into the fire, and the name and «Играть» on its lower edge */
  .hero { display: flex; flex-direction: column; min-height: calc(100svh - 64px); place-items: stretch; background: radial-gradient(ellipse 90% 55% at 50% 38%, #5a230a, #2a1408 55%, #090c11); }
  .hero picture { position: static; display: block; }
  .hero picture img { position: static; width: 100%; height: auto; aspect-ratio: 1; max-height: 56svh; object-fit: cover; object-position: 50% 20%; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  /* only the foot's fade into the page is kept */
  .hero::after { top: auto; height: 48px; background: linear-gradient(180deg, transparent, var(--page)); }
  .hero-text { padding: 0 16px 56px; margin-top: -86px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
  .hero h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero .lede { margin: 14px auto 22px; }
  .hero .play { width: min(100%, 340px); }
  /* «Отряд»: the battle first, edge to edge, and the four numbers as tiles two by two */
  #army .wrap { display: flex; flex-direction: column; }
  #army .head { margin-bottom: 24px; }
  #army .squad { order: 1; width: calc(100% + 32px); max-width: none; margin: 0 -16px 22px; border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% 50%; -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 8%, #000 88%, transparent); }
  #army .features { order: 2; grid-template-columns: 1fr 1fr; gap: 12px; }
  #army .feature { padding: 16px 14px 18px; }
  #army .feature b { font-size: 52px; }
  #army .feature h3 { font-size: 16px; margin: 8px 0 6px; }
  #army .feature p { font-size: 13px; line-height: 1.45; }
}
/* a phone on its side: the wide picture, as on a computer, and the words sized to the low screen */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: calc(100svh - 64px); }
  .hero-text { padding: 18px 20px; }
  .hero h1 { font-size: 17vh; }
  .hero .lede { font-size: 16px; margin: 10px auto 16px; }
  .hero .play { padding: 12px 40px; font-size: 19px; }
  .hero .under { margin-top: 10px; }
  .hero .also { margin-top: 12px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .langs .code { display: none; }
  .top nav { gap: 8px; }
  .play { padding: 16px 30px; }
  .play.small { padding: 0 16px; }
  /* the two sides one over the other, the same width */
  .podium { display: flex; flex-direction: column; gap: 12px; width: min(100%, 340px); margin: 0 auto; }
  .podium .play { width: 100%; font-size: 20px; padding: 16px 20px; }
}
