/* Лендинг Apple of Fortune Hack. Визуальный язык — от сайта neyrobet.com: светлый лавандовый
   фон, широкий гротеск в заголовках, лаймовая кнопка действия и фиолетовый бренд. */

:root {
  --bg: #f5f3fb;
  --bg-sunken: #ebe7f6;
  --surface: #ffffff;
  --line: #ddd7ee;
  --line-strong: #c3b9df;
  --text: #16112b;
  --muted: #5f5778;
  --brand: #6a3de8;
  --brand-strong: #5a2fd6;
  --accent: #d7f23c;
  --accent-hover: #e3fb55;
  --accent-ink: #15170a;
  --accent-text: #4f6100;
  --apple: #e2322b;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px rgba(38, 20, 92, 0.12);
  --shadow-sm: 0 6px 16px rgba(38, 20, 92, 0.08);
  --font-display: "Unbounded", "Onest", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  /* Ширина первого экрана и шапки над ним: края должны совпадать. */
  --wide: min(1480px, 100% - clamp(32px, 7vw, 128px));
}

/* Письменности, которых нет в Unbounded и Onest: свой шрифт и без разрядки — широкий
   гротеск рядом с арабицей или деванагари смотрелся бы чужим, а системный шрифт — дёшево. */
:lang(ar) { --font-display: "Noto Sans Arabic", system-ui, sans-serif; --font-body: "Noto Sans Arabic", system-ui, sans-serif; }
:lang(hi) { --font-display: "Noto Sans Devanagari", system-ui, sans-serif; --font-body: "Noto Sans Devanagari", system-ui, sans-serif; }
:lang(th) { --font-display: "Noto Sans Thai", system-ui, sans-serif; --font-body: "Noto Sans Thai", system-ui, sans-serif; }

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-strong); }

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}
:lang(ar) :is(h1, h2, h3), :lang(hi) :is(h1, h2, h3), :lang(th) :is(h1, h2, h3) {
  letter-spacing: 0;
  line-height: 1.35;
}

h1 { font-size: clamp(32px, 4.3vw, 54px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.3vw, 40px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }

h1 em, h2 em {
  font-style: normal;
  color: var(--accent-text);
}

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
}
.skip:focus { top: 12px; }

/* ── Кнопки ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 700 16px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px rgba(160, 186, 20, 0.35);
}
.btn--accent:hover { background: var(--accent-hover); }
.btn--brand { background: var(--brand-strong); color: #fff; }
.btn--brand:hover { background: var(--brand); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--center { display: flex; width: fit-content; margin: 36px auto 0; }

/* ── Шапка ── */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 243, 251, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__row { display: flex; align-items: center; gap: 22px; min-height: 66px; width: var(--wide); }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font: 700 16px/1 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
:lang(ar) .logo, :lang(hi) .logo, :lang(th) .logo { font-family: "Unbounded", "Onest", system-ui, sans-serif; }
.logo__icon { width: 32px; height: 32px; flex-shrink: 0; }
.top__nav { display: flex; gap: 22px; margin-inline-start: 8px; }
.top__nav a { color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; }
.top__nav a:hover { color: var(--text); }
.top__cta { margin-inline-start: 4px; }

/* Переключатель языка: список ссылок, а не скрипт — робот должен видеть все версии. */
.langs { position: relative; margin-inline-start: auto; }
.flag { display: block; flex-shrink: 0; width: 20px; height: 14px; }
.langs summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.langs summary::-webkit-details-marker { display: none; }
.langs ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 2px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.langs a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}
.langs a:hover { background: var(--bg-sunken); }
.langs a[aria-current] { background: var(--accent); color: var(--accent-ink); font-weight: 700; }

/* ── Первый экран ──
   На компьютере занимает ровно окно под шапкой — по ширине и по высоте, — а бегущая строка
   стоит у нижнего края и закрывает экран. Размеры телефонов и заголовка завязаны и на ширину,
   и на высоту окна: на низком ноутбуке всё уменьшается, а не уезжает за край. */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 67px);
  background:
    radial-gradient(ellipse 45% 60% at 78% 45%, rgba(106, 61, 232, 0.16), transparent 70%),
    radial-gradient(ellipse 35% 45% at 12% 85%, rgba(215, 242, 60, 0.22), transparent 70%),
    var(--surface);
  overflow: hidden;
}
/* Сетка поля на фоне — намёк на клетки Apple of Fortune, как разметка поля у neyrobet. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.6;
  mask-image: radial-gradient(ellipse 75% 80% at 65% 45%, #000 25%, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  width: var(--wide);
  margin-inline: auto;
  padding-block: clamp(28px, 5vh, 72px);
}
/* min-width: 0 — иначе длинное неразрывное слово растягивает колонку сетки шире экрана. */
.hero__text, .hero__visual { position: relative; min-width: 0; }
h1, h2 { overflow-wrap: break-word; }
/* Размер от ширины и от высоты окна сразу: на широком, но низком ноутбуке заголовок не
   выталкивает кнопки за нижний край. */
.hero h1 { font-size: clamp(34px, min(3.9vw, 7.2vh), 74px); }
.eyebrow {
  display: inline-block;
  margin: 0 0 clamp(14px, 2.4vh, 24px);
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--bg-sunken);
  color: var(--brand-strong);
  font-size: 15px;
  font-weight: 700;
}
.hero h1 em { display: block; }
.lead { margin: clamp(16px, 2.8vh, 28px) 0 0; max-width: 36em; color: var(--muted); font-size: clamp(17px, 1.25vw, 21px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 4vh, 40px); }
.hero__actions .btn { min-height: clamp(54px, 6.4vh, 64px); padding: 0 30px; font-size: 17px; }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: clamp(22px, 4vh, 40px) 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 16px;
}
.stats strong { color: var(--text); font: 700 clamp(18px, 1.5vw, 24px)/1 var(--font-display); font-family: "Unbounded", system-ui, sans-serif; }

/* Два телефона: Aviator впереди, Apple of Fortune позади — сразу видно, что игр несколько. */
.hero__visual {
  --phone: clamp(220px, min(19vw, 40vh), 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--phone) * 2.05);
}
.phone {
  position: relative;
  width: var(--phone);
  border: 9px solid #16112b;
  border-radius: calc(var(--phone) * 0.15);
  overflow: hidden;
  background: #060a14;
  box-shadow: var(--shadow), 0 40px 80px rgba(106, 61, 232, 0.25);
}
.phone img { width: 100%; height: auto; }
.phone--front { z-index: 2; transform: translateX(14%) rotate(4deg); }
.phone--back {
  position: absolute;
  z-index: 1;
  transform: translateX(-46%) translateY(4%) rotate(-7deg) scale(0.88);
  filter: saturate(0.9);
  opacity: 0.95;
}
[dir="rtl"] .phone--front { transform: translateX(-14%) rotate(-4deg); }
[dir="rtl"] .phone--back { transform: translateX(46%) translateY(4%) rotate(7deg) scale(0.88); }
.signal-card {
  position: absolute;
  z-index: 3;
  inset-inline-start: 0;
  bottom: 8%;
  width: clamp(220px, 15vw, 270px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(-5deg);
}
[dir="rtl"] .signal-card { transform: rotate(5deg); }
.signal-card__tag {
  position: absolute;
  top: -12px;
  inset-inline-start: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
}
.signal-card__game { margin-top: 4px; font-weight: 700; }
.signal-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-sunken);
  font-size: 14px;
}
.signal-card__row strong { font: 800 26px/1 "Unbounded", system-ui, sans-serif; color: var(--apple); direction: ltr; }
.signal-card p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }

/* ── Бегущая строка игр и букмекеров ── */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-sunken);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
/* Лента всегда слева направо: в ней только латинские названия, а в RTL дорожка шире экрана
   уезжала влево за край, и полоса стояла пустой. Для арабского просто крутим её в другую сторону. */
[dir="rtl"] .marquee__track { animation-direction: reverse; }
.marquee span {
  padding: 14px 26px;
  font: 700 15px/1 var(--font-display);
  color: var(--muted);
  white-space: nowrap;
  font-family: "Unbounded", "Onest", system-ui, sans-serif;
}
.marquee span::after { content: "•"; margin-inline-start: 26px; color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Разделы ── */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--alt { background: var(--bg-sunken); }
.section__lead { margin: 14px 0 0; max-width: 40em; color: var(--muted); font-size: 18px; }

.games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.game {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.game:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.game__shot {
  display: flex;
  justify-content: center;
  height: 280px;
  padding-top: 26px;
  background: radial-gradient(ellipse 80% 90% at 50% 100%, color-mix(in srgb, var(--game) 32%, transparent), transparent 70%), var(--bg-sunken);
  overflow: hidden;
}
.game__shot img {
  width: 170px;
  height: auto;
  align-self: flex-start;
  border: 6px solid #16112b;
  border-radius: 26px;
  box-shadow: 0 16px 34px rgba(22, 17, 43, 0.25);
}
.game__body { padding: 22px; }
.game__index { color: var(--game); font: 800 14px/1 var(--font-display); }
.game h3 { margin-top: 8px; font-family: "Unbounded", "Onest", system-ui, sans-serif; }
.game p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.game .game__format {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--game) 12%, transparent);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.game__format span { color: var(--muted); font-weight: 500; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.step { padding-top: 22px; border-top: 2px solid var(--line-strong); }
.step:first-child { border-top-color: var(--brand); }
.step__num { display: block; color: var(--brand); font: 800 40px/1 var(--font-display); font-family: "Unbounded", system-ui, sans-serif; }
.step h3 { margin-top: 18px; }
.step p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.format {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.format > p { margin: 12px 0 24px; color: var(--muted); font-size: 16px; }
/* Образец сообщения — под Telegram, чтобы человек узнал, что именно получит. */
.tg {
  /* Растягиваем «чат» на всю высоту карточки: соседняя карточка с экраном вебки выше,
     и без этого над сообщением оставалась пустая белая полоса. */
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border-radius: 18px;
  background: #d8e9c9 linear-gradient(135deg, #cfe6bf, #e4efd7);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-align: start;
}
.tg__bubble {
  max-width: 340px;
  padding: 12px 14px;
  border-radius: 16px 16px 16px 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  line-height: 1.45;
}
.tg__bubble p { margin: 0 0 8px; }
.tg__bubble p:last-child { margin: 0; }
.tg__button {
  max-width: 340px;
  margin-top: 6px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(64, 97, 52, 0.45);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
/* Экран показываем целиком: путь подсвечивается внизу поля, и обрезка по высоте прятала
   ровно то, ради чего блок нужен. */
.format__shot {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 24px;
  border-radius: 18px;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(94, 207, 94, 0.28), transparent 70%), #0f1712;
}
.format__shot img {
  width: auto;
  height: 360px;
  border: 6px solid #16112b;
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

.pills { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.pills li {
  padding: 16px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font: 700 18px/1 "Unbounded", "Onest", system-ui, sans-serif;
}

.honest {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.honest h2 em { background: linear-gradient(transparent 60%, var(--accent) 60%); color: var(--text); }
.honest > p { margin: 16px 0 0; max-width: 44em; color: var(--muted); font-size: 18px; }
.honest ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.honest li {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-sunken);
  font-size: 15px;
  font-weight: 600;
}
.honest li::before { content: "✓"; margin-inline-end: 8px; color: var(--brand); font-weight: 800; }

.faq { margin-top: 30px; border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-inline-end: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item h3 { font: 600 18px/1.4 var(--font-body); letter-spacing: 0; }
.faq__item p { margin: 0 0 22px; color: var(--muted); }

.final { padding: 0 0 clamp(64px, 9vw, 104px); }
.section--alt + .final { padding-top: clamp(64px, 9vw, 104px); background: linear-gradient(var(--bg-sunken) 50%, var(--bg) 50%); }
.final__box {
  padding: clamp(36px, 6vw, 72px);
  border-radius: 32px;
  background: var(--brand-strong) radial-gradient(ellipse 60% 80% at 85% 0%, rgba(215, 242, 60, 0.28), transparent 70%);
  color: #fff;
  text-align: center;
}
.final__box h2 { color: #fff; }
.final__box p { margin: 14px auto 28px; max-width: 32em; color: rgba(255, 255, 255, 0.82); font-size: 18px; }

.foot { padding: 48px 0 110px; border-top: 1px solid var(--line); }
.foot .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; }
.foot__brand p { margin: 14px 0 0; color: var(--muted); font-size: 15px; max-width: 26em; }
.foot__langs p { margin: 0 0 10px; font-weight: 700; }
.foot__langs ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.foot__langs a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; text-decoration: none; }
.foot__langs a:hover, .foot__langs a[aria-current] { color: var(--text); }
.foot__note { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.age {
  display: inline-block;
  margin-inline-end: 8px;
  padding: 2px 8px;
  border: 1.5px solid var(--muted);
  border-radius: 6px;
  font-weight: 800;
}

/* Подсказка «есть версия на вашем языке» и плавающая кнопка на телефоне. */
.suggest {
  position: fixed;
  inset-inline: 16px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: var(--text);
  box-shadow: var(--shadow);
}
.suggest[hidden] { display: none; }
.suggest a { color: var(--accent); font-weight: 700; font-size: 15px; text-decoration: none; }
.suggest button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.sticky-cta { display: none; }

/* ── Адаптив ── */
@media (max-width: 1080px) {
  .games { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .top__nav { display: none; }
}

@media (max-width: 820px) {
  /* На телефоне первый экран обычной высоты: текст, под ним телефоны. Растягивать его на
     всю высоту окна здесь незачем — кнопка действия и так видна сразу. */
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 12px; padding-block: 28px 0; width: calc(100% - 40px); }
  .hero__visual { --phone: 200px; min-height: 0; padding-bottom: 0; margin-bottom: -40px; }
  .signal-card { inset-inline-start: 0; bottom: 70px; width: 200px; padding: 14px; }
  .formats { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr; }
  .lead, .section__lead { font-size: 17px; }

  /* На телефоне главная кнопка всегда под пальцем: шапка свою прячет, чтобы не дублировать. */
  .top__cta { display: none; }
  .sticky-cta {
    position: fixed;
    inset-inline: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 30;
    display: flex;
    transform: translateY(140%);
    transition: transform 0.25s ease;
  }
  .sticky-cta.is-visible { transform: none; }
  /* Плашка выбора языка — над плавающей кнопкой, а не поверх первого экрана. */
  .suggest { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1, .hero h1 { font-size: clamp(27px, 8vw, 34px); }
  .top__row { gap: 10px; min-height: 60px; }
  .logo span { display: none; }
  .langs { margin-inline-start: auto; }
  .hero__actions .btn { width: 100%; }
  .stats { gap: 10px 18px; }
  .games, .steps { grid-template-columns: 1fr; }
  .game__shot { height: 240px; }
  .pills li { padding: 13px 20px; font-size: 15px; }
  .format { padding: 22px; }
  .format__shot img { height: 320px; }
  .langs ul { grid-template-columns: 1fr 1fr; inset-inline-end: -8px; }
  /* На узком экране в кнопке языка — только флаг, название есть в списке. */
  .langs__current { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
