/* Megapari — витрина. Палитра и радиусы сняты с их темы, вёрстка своя. */

/* ------------------------------------------------------------------ шрифт */
@font-face {
  font-family: Roboto;
  src: local('Roboto'), url('../fonts/roboto.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ токены */
:root {
  --n-0: #fff;    --n-25: #f8f8f8; --n-50: #f2f2f2; --n-100: #f0f0f0;
  --n-150: #efefef; --n-200: #ebebeb; --n-250: #e5e5e5; --n-300: #cdcdcd;
  --n-350: #c4c4c4; --n-400: #acacac; --n-500: #8c8c8c; --n-550: #7a7a7a;
  --n-650: #5a5a5a; --n-700: #4d4d4d; --n-800: #323232; --n-850: #262626;
  --n-900: #212121; --n-950: #191919;

  --p-50: #eef6fa;  --p-100: #dcedf5; --p-300: #8fcce9; --p-500: #37afe6;
  --p-550: #22a5e2; --p-600: #1d95cc; --p-650: #1c84b4; --p-900: #0d3040;

  --s-400: #e6635c; --s-500: #e6352b; --s-550: #de261c; --s-600: #c6241b;
  --ok: #24a148; --ok-bg: #21c55d;

  --bg: var(--n-50);
  --surface: var(--n-0);
  --surface-2: var(--n-25);
  --stroke: var(--n-200);
  --text: var(--n-900);
  --text-2: var(--n-500);
  --text-3: var(--n-350);

  --r-s: 2px; --r-m: 4px; --r-l: 4px; --r-xl: 12px;
  --sidebar: 240px;
  --header-h: 64px;
  --gap: 16px;
}

/* ------------------------------------------------------------------ база */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.45 Roboto, 'Noto Sans Devanagari', 'Noto Sans Bengali',
        'Nirmala UI', system-ui, sans-serif;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.25; }
h1 { font-size: 26px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0 0 12px; }
.icon { width: 20px; height: 20px; fill: currentColor; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 60; padding: 10px 16px;
  background: var(--p-500); color: #fff; border-radius: var(--r-m); transition: top .15s;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--p-500); outline-offset: 2px; }

/* ------------------------------------------------------------------ кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 16px; border: 0; border-radius: var(--r-s);
  font: 600 14px/1 Roboto, 'Noto Sans Devanagari', 'Noto Sans Bengali',
        'Nirmala UI', system-ui, sans-serif;
  cursor: pointer; white-space: nowrap; transition: background .15s, opacity .15s;
}
.btn--primary { background: var(--p-500); color: #fff; }
.btn--primary:hover { background: var(--p-550); }
.btn--red { background: var(--s-500); color: #fff; }
.btn--red:hover { background: var(--s-550); }
.btn--ghost { background: var(--n-0); color: var(--n-900); border: 1px solid var(--stroke); }
.btn--ghost:hover { background: var(--n-50); }
.btn--lg { height: 44px; padding: 0 28px; font-size: 15px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid var(--stroke); border-radius: var(--r-s);
  background: var(--n-0); color: var(--n-900); cursor: pointer; flex: none;
}
.icon-btn:hover { background: var(--n-50); }
.icon-btn--plain { border-color: transparent; }
.icon-btn--lg { width: 44px; height: 44px; }
.icon-btn--lg .icon { width: 22px; height: 22px; }

/* ------------------------------------------------------------------ шапка */
.header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  height: var(--header-h); padding: 0 16px;
  background: var(--surface); border-bottom: 1px solid var(--stroke);
}
.header__left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.header__logo img { height: 24px; width: auto; }
.header__gift { position: relative; display: none; }
.header__gift .badge {
  position: absolute; top: -6px; right: -12px; padding: 1px 5px;
  background: var(--s-500); color: #fff; border-radius: 8px; font-size: 10px; font-weight: 700;
}
.header__pills { display: none; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border: 1px solid var(--stroke); border-radius: var(--r-s);
  background: var(--n-0); font-weight: 600; color: var(--n-900);
}
.pill:hover { background: var(--n-50); }
.pill--active { background: var(--n-900); color: #fff; border-color: var(--n-900); }
.header__right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px;
  border: 1px solid var(--stroke); border-radius: var(--r-s); font-weight: 600; font-size: 13px;
}
.lang:hover { background: var(--n-50); }
.lang--active { background: var(--n-50); color: var(--n-500); pointer-events: none; }
.burger { display: inline-flex; }

/* ------------------------------------------------------------------ каркас */
.shell { display: flex; align-items: flex-start; gap: 0; }
.drawer {
  position: fixed; top: var(--header-h); left: 0; bottom: 0; z-index: 25;
  width: var(--sidebar); padding: 8px; overflow-y: auto;
  background: var(--surface); border-right: 1px solid var(--stroke);
  transform: translateX(-100%); transition: transform .2s ease;
}
.drawer.is-open { transform: none; }
.drawer-backdrop {
  position: fixed; inset: var(--header-h) 0 0; z-index: 24;
  background: rgba(25, 25, 25, .45); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.main { flex: 1 1 auto; min-width: 0; padding: 16px; }
/* Контент занимает всю ширину рядом с меню: на мониторе шире 1500 px рамка в 1120
   оставляла по 300 px пустоты с каждой стороны. Длину строки держит не контейнер,
   а сам текст — у абзацев .prose стоит max-width в ch. */
.container { max-width: none; margin: 0; }

/* ------------------------------------------------------------------ меню */
.menu-banner {
  display: flex; align-items: center; gap: 8px; position: relative; overflow: hidden;
  height: 48px; padding: 0 10px; margin-bottom: 10px; border-radius: var(--r-m);
  background: linear-gradient(90deg, #c0261b 0%, #e6352b 45%, #f27021 100%);
  color: #fff; font-weight: 700; font-size: 13px;
}
.menu-banner img.menu-banner__cup { width: 20px; height: 20px; }
.menu-banner__img { position: absolute; right: 0; top: 0; height: 48px; width: auto; opacity: .95; }
.menu-group { margin-bottom: 10px; }
.menu-group__head {
  display: flex; align-items: center; gap: 8px; padding: 10px;
  color: var(--p-550); font-weight: 700; border-radius: var(--r-m); background: var(--p-50);
}
.menu-group__head .icon { color: var(--p-550); }
.menu-group__head .chev { margin-left: auto; width: 14px; height: 14px; opacity: .7; }
.menu-group__head:hover { background: var(--p-100); }
.menu-list { padding: 4px 0; }
.menu-list a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: var(--r-m); color: var(--n-700); font-size: 13px;
}
.menu-list a:hover { background: var(--n-50); color: var(--n-900); }
.menu-list img, .menu-list .icon { width: 20px; height: 20px; object-fit: contain; flex: none; }
.menu-install {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px;
  margin-bottom: 10px; border-radius: var(--r-m);
  background: var(--p-500); color: #fff; font-weight: 700; font-size: 13px;
}
.menu-install .apps { margin-left: auto; display: flex; gap: 6px; }
.drawer__legal { margin-top: 14px; padding: 10px; border-top: 1px solid var(--stroke); }
.drawer__legal a { display: block; padding: 5px 0; color: var(--text-3); font-size: 12px; }
.drawer__legal a:hover { color: var(--n-500); }

/* ------------------------------------------------------------------ секции */
.section { margin-bottom: 24px; }
.section__head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.section__head .icon { color: var(--p-500); }
.section__head .link {
  margin-left: auto; color: var(--p-550); font-size: 13px; font-weight: 600;
}
.scroller {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: thin; scroll-snap-type: x proximity;
}
.scroller > * { scroll-snap-align: start; }
.scroller::-webkit-scrollbar { height: 6px; }
.scroller::-webkit-scrollbar-thumb { background: var(--n-300); border-radius: 3px; }

/* ------------------------------------------------------------------ первый экран */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  background: var(--surface); border-radius: var(--r-m); overflow: hidden;
  margin-bottom: 12px;
}
.hero__text { padding: 28px 24px 24px; }
.hero h1, .hero .hero__title { font-size: 30px; line-height: 1.15; margin-bottom: 10px; }
.hero__sub { color: var(--text-2); margin-bottom: 20px; }
.hero__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero__img { width: 100%; height: auto; }

/* карточки категорий */
.cats { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 12px; }
.cat {
  position: relative; display: flex; align-items: center; overflow: hidden;
  min-height: 84px; padding: 0 16px; border-radius: var(--r-m);
  color: #fff; font-size: 20px; font-weight: 700;
}
.cat span { position: relative; z-index: 2; }
.cat img { position: absolute; right: 0; top: 0; height: 100%; width: auto; z-index: 1; }
.cat .chev {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.28);
  display: grid; place-items: center;
}
.cat--casino { background: linear-gradient(90deg, #7b3fe4 0%, #a45cf0 100%); }
.cat--sport { background: linear-gradient(90deg, #f5b421 0%, #f7d047 100%); }
.cat--esport { background: linear-gradient(90deg, #2f6fe4 0%, #7b5cf0 100%); }

/* лента выигрышей */
.winners { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 20px; padding-bottom: 4px; }
.winner {
  display: flex; align-items: center; gap: 8px; flex: none;
  padding: 6px 10px 6px 6px; background: var(--surface); border-radius: var(--r-m);
}
.winner img { width: 30px; height: 40px; object-fit: cover; border-radius: var(--r-s); }
.winner b { display: block; font-size: 12px; color: var(--text-3); font-weight: 400; }
.winner .amount { font-size: 12px; color: var(--ok); font-weight: 600; white-space: nowrap; }

/* топ-события */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; }
.tab {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 34px; padding: 0 14px; border-radius: var(--r-s);
  background: var(--n-100); color: var(--n-700); font-size: 13px; font-weight: 500;
}
.tab:hover { background: var(--n-150); }
.tab--active { background: var(--n-0); color: var(--n-900); font-weight: 700; }
.tab .icon { width: 16px; height: 16px; color: var(--n-500); }
.events { display: grid; gap: 12px; grid-template-columns: 1fr; }
.event-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface); border-radius: var(--r-m); padding: 14px 16px 16px;
}
.event-card__head {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-3); font-size: 12px;
}
.event-card__league {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.event-card__time { margin-left: auto; white-space: nowrap; }
.event-card__teams { display: grid; gap: 4px; }
.event-card__teams:hover .event-card__team { color: var(--p-650); }
.event-card__team { font-size: 14px; font-weight: 600; }
.event-card__odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }
.odd {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 9px 10px; border-radius: var(--r-s); background: var(--n-100);
  font-size: 13px; transition: background .15s;
}
.odd:hover { background: var(--p-100); }
.odd__k { color: var(--text-2); }
.odd__v { font-weight: 700; }
.events__note { margin: 10px 0 0; color: var(--text-3); font-size: 11px; }
.section__tabhead {
  display: inline-block; padding-bottom: 8px; margin-bottom: 12px;
  border-bottom: 2px solid var(--p-500); color: var(--p-550); font-weight: 700;
}

/* спорт */
.sport-card {
  position: relative; flex: none; width: 148px; height: 196px;
  border-radius: var(--r-m); overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 50% 30%, #3a3a3a 0%, #262626 45%, #171717 100%);
}
.sport-card__img { width: 148px; height: 196px; object-fit: cover; }
.sport-card__label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 8px;
  font-size: 13px; font-weight: 700; text-align: center; text-transform: uppercase;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.75) 60%);
}

/* платежи */
.pay-strip {
  display: flex; align-items: center; gap: 20px; overflow-x: auto;
  padding: 16px; background: var(--surface); border-radius: var(--r-m);
}
.pay-strip__count { display: flex; align-items: baseline; gap: 8px; flex: none; }
.pay-strip__count b { font-size: 26px; }
.pay-strip__count span { color: var(--text-2); font-size: 12px; max-width: 70px; }
.pay-strip img { height: 24px; width: auto; flex: none; opacity: .8; }
.pay-strip a { flex: none; }
.pay-strip a:hover img { opacity: 1; }
.pay-grid {
  display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
.pay-grid li { background: var(--surface); border-radius: var(--r-m); }
.pay-grid a { display: grid; place-items: center; height: 64px; padding: 12px; }
.pay-grid a:hover { background: var(--n-50); border-radius: var(--r-m); }
.pay-grid img { height: 26px; width: auto; }

/* провайдеры */
.provider-card {
  flex: none; width: 178px; background: var(--surface); border-radius: var(--r-m);
  padding: 12px; text-align: center;
}
.provider-card__count { display: block; color: var(--text-2); font-size: 12px; }
.provider-card__name { display: block; font-weight: 700; margin: 2px 0 10px; font-size: 14px; }
.provider-card__thumbs { display: flex; gap: 4px; justify-content: center; margin-bottom: 10px; }
.provider-card__thumbs img { width: 48px; height: 64px; object-fit: cover; border-radius: var(--r-s); }
.provider-card__logo { height: 34px; width: auto; margin: 0 auto; object-fit: contain; }

/* игры */
.games-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}
.game-card { background: var(--surface); border-radius: var(--r-m); overflow: hidden; }
.game-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.game-card__body { padding: 8px; }
.game-card__title {
  font-size: 13px; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.game-card__prov { color: var(--text-3); font-size: 11px; margin-top: 2px; }

/* промо */
.promos { display: grid; gap: 12px; grid-template-columns: 1fr; }
.promo {
  position: relative; display: block; border-radius: var(--r-m); overflow: hidden;
  background: #101010; color: #fff; min-height: 260px;
}
.promo img { width: 100%; height: 200px; object-fit: cover; object-position: top center; }
.promo__body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 18px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.85) 55%);
}
.promo img { width: 100%; height: 260px; object-fit: cover; object-position: top center; }
.promo__title { display: block; font-size: 14px; margin-bottom: 6px; }
.promo__sub { display: block; font-weight: 700; font-size: 15px; }

/* таблица ставок */
.bets { background: var(--surface); border-radius: var(--r-m); overflow-x: auto; }
.bets table { width: 100%; border-collapse: collapse; min-width: 640px; }
.bets th, .bets td { padding: 12px 16px; text-align: left; font-size: 13px; white-space: nowrap; }
.bets th { color: var(--text-3); font-weight: 400; font-size: 12px; }
.bets tr + tr td { border-top: 1px solid var(--n-100); }
.bets .game-name { color: var(--p-550); }
.bets .mult { display: inline-block; padding: 2px 8px; border-radius: var(--r-s);
  background: var(--ok-bg); color: #fff; font-weight: 700; font-size: 12px; }
.bets .win { color: var(--ok); font-weight: 600; }
.bets .time { color: var(--text-3); }

/* текстовый блок */
.prose { background: var(--surface); border-radius: var(--r-m); padding: 24px; }
.prose h2 { margin: 24px 0 10px; font-size: 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--n-700); max-width: 76ch; }
.download {
  display: grid; gap: 20px; align-items: center; padding: 24px;
  background: var(--surface); border-radius: var(--r-m);
}
.download h2 { margin-bottom: 8px; }
.download p { color: var(--text-2); max-width: 60ch; margin: 0; }
.download__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.download__btn { height: 52px; padding: 0 22px; text-align: left; }
.download__btn span { display: flex; flex-direction: column; line-height: 1.2; }
.download__btn small { font-size: 11px; font-weight: 400; opacity: .85; }
.download__btn .icon { width: 24px; height: 24px; }
@media (min-width: 900px) {
  .download { grid-template-columns: minmax(0, 1fr) auto; }
}

/* страница 404: код ошибки крупно, затем внятный выход — кнопка игры и путь домой */
.nf {
  background: var(--surface); border-radius: var(--r-m);
  padding: 56px 24px 40px; text-align: center;
}
.nf__code {
  margin: 0; font-size: 96px; font-weight: 700; line-height: 1;
  letter-spacing: -.02em;
  /* цифра — подложка, а не герой: любой градиент из синего в красный мутнеет
     на средней букве, а сплошной цвет спорит с кнопкой. Ведёт заголовок. */
  color: var(--n-250);
}
.nf__title { margin: 12px 0 8px; font-size: 26px; }
.nf__lead { color: var(--text-2); max-width: 56ch; margin: 0 auto 24px; }
.nf__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.nf__label {
  margin: 32px 0 12px; color: var(--text-3); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
.nf__links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nf__links a {
  display: inline-flex; padding: 9px 15px; border-radius: var(--r-s);
  background: var(--n-100); font-weight: 600; font-size: 13px;
}
.nf__links a:hover { background: var(--p-100); color: var(--p-650); }
@media (max-width: 599px) {
  .nf { padding: 36px 16px 28px; }
  .nf__code { font-size: 68px; }
  .nf__title { font-size: 21px; }
  .nf__cta .btn { width: 100%; }
}
.page-intro { color: var(--text-2); max-width: 82ch; margin: 0 0 16px; }
.page-head { margin-bottom: 20px; }
.page-head p { color: var(--text-2); max-width: 76ch; margin-top: 8px; }

/* ------------------------------------------------------------------ футер */
.footer { background: var(--surface); margin-top: 24px; padding: 28px 16px 32px; }
.footer__cols {
  display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 24px;
}
.footer h3 { font-size: 14px; margin-bottom: 10px; }
.footer__cols a { display: block; padding: 4px 0; color: var(--text-2); font-size: 13px; }
.footer__cols a:hover { color: var(--n-900); }
.footer__pay { display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  padding: 18px 0; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.footer__pay img { height: 22px; width: auto; opacity: .75; }
.footer__bottom { padding-top: 18px; display: grid; gap: 14px; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--n-100); color: var(--n-650);
}
.footer__socials a:hover { background: var(--n-150); color: var(--n-900); }
.footer__legal { color: var(--text-3); font-size: 11px; line-height: 1.6; max-width: 96ch; }
.footer__note { color: var(--text-2); font-size: 12px; }
.footer__age { display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  color: var(--n-650); font-size: 12px; }
.footer__age .circle {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--n-400); font-size: 11px;
}

/* ------------------------------------------------------------------ адаптив */
@media (min-width: 600px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .promos { grid-template-columns: repeat(3, 1fr); }
  .events { grid-template-columns: repeat(3, 1fr); }
  .header__pills { display: flex; }
  h1 { font-size: 30px; }
}
@media (min-width: 900px) {
  /* Правая колонка героя ограничена в пикселях, а не долей. При 46% на мониторе
     1920 картинка вырастала до 414 px и тянула строку сетки за собой — над текстом
     и под ним оставались пустые полосы по сотне пикселей. */
  .hero { grid-template-columns: minmax(0, 1fr) minmax(300px, 460px); }
  .hero__text { padding: 32px 40px; }
  /* заголовок в 30 px на всю ширину монитора читается плохо — держим строку короткой */
  .hero h1, .hero .hero__title { max-width: 22ch; }
  .hero__sub { max-width: 52ch; }
  .header__gift { display: block; }
  .main { padding: 24px; }
}
@media (min-width: 1160px) {
  .drawer { transform: none; }
  .drawer-backdrop { display: none; }
  /* меню зафиксировано поверх страницы — сдвигать надо и контент, и футер */
  .main, .footer { margin-left: var(--sidebar); }
  .burger { display: none; }
}
@media (max-width: 599px) {
  /* шапка на телефоне: остаются меню, логотип, вход и регистрация */
  .header { gap: 6px; padding: 0 10px; }
  .header__left { gap: 6px; min-width: 0; }
  .header__logo img { height: 20px; }
  .header__right { gap: 6px; }
  .header__right .icon-btn { display: none; }
  /* переключатель языков на телефоне живёт в боковом меню, иначе не влезает */
  .header__right .lang { display: none; }
  .btn { height: 32px; padding: 0 11px; font-size: 13px; }
  .lang { height: 32px; padding: 0 8px; font-size: 12px; }
  .icon-btn { width: 32px; height: 32px; }

  .hero h1, .hero .hero__title { font-size: 22px; }
  .hero__text { padding: 20px 16px; }
  .main { padding: 12px; }
  .prose { padding: 16px; }
  .footer { padding: 24px 12px 28px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
}

/* языки в боковом меню — видны только там, где их нет в шапке */
.drawer__langs { display: flex; gap: 8px; padding: 10px; }
@media (min-width: 600px) { .drawer__langs { display: none; } }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
