:root {
  --bg: #0e0f12;
  --bg-2: #141519;
  --panel: #1a1b20;
  --panel-2: #212228;
  --panel-3: #2a2b33;
  --line: #2c2d35;
  --text: #f4f4f6;
  --muted: #9b9ca7;
  --accent: #ff3b1f;
  --accent-2: #ff6a2b;
  --accent-dark: #d92a10;
  --gold: #ffcc3d;
  --green: #2bd67b;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 68px;
  --side-w: 252px;
  --gap: 14px;
  --shadow: 0 12px 32px rgba(0, 0, 0, .45);
  --font: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

[hidden] { display: none !important; }

img.is-missing { visibility: hidden; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--accent { color: #fff; background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: 0 6px 18px rgba(255, 59, 31, .35); }
.btn--accent:hover { background: linear-gradient(180deg, #ff7d45, #ff4a2c); box-shadow: 0 8px 24px rgba(255, 59, 31, .5); }
.btn--ghost { color: var(--text); border: 1.5px solid var(--panel-3); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: #fff; }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(4px); }
.btn--glass:hover { background: rgba(255, 255, 255, .26); }
.btn--sm { min-height: 34px; padding: 0 14px; font-size: 12px; border-radius: 8px; }
.btn--lg { min-height: 50px; padding: 0 30px; font-size: 14px; border-radius: 12px; }
.btn .ico { width: 16px; height: 16px; }

.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { width: 120px; height: 40px; }

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
  padding: 0 20px;
  background: rgba(20, 21, 25, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header > .logo { width: calc(var(--side-w) - 38px); }
.header__burger { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; background: var(--panel-2); flex: none; }
.header__burger:hover { background: var(--panel-3); }
.header__nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.header__link {
  position: relative;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.header__link:hover { color: #fff; background: var(--panel-2); }
.header__link[aria-current="page"] { color: #fff; }
.header__link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -14px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.header__icon { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; background: var(--panel-2); }

.search { position: relative; flex: 1 1 260px; max-width: 340px; margin-left: auto; }
.search__ico { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search__input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s, background-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.search__input::placeholder { color: var(--muted); }
.search__input:focus { border-color: var(--accent); background: var(--panel-2); }
.search + .header__actions { margin-left: 0; }
.search__drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.search__list { list-style: none; margin: 0; padding: 0; }
.search__list a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.search__list a:hover, .search__list a:focus-visible { background: var(--panel-3); }
.search__list img { width: 32px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--panel-3); }
.search__empty { margin: 0; padding: 12px; color: var(--muted); font-size: 14px; }

.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 10px; background: var(--panel-2); font-weight: 700; font-size: 13px; }
.lang__btn:hover { background: var(--panel-3); }
.lang__btn img, .lang__menu img { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; }
.lang__chev { width: 16px; height: 16px; transition: transform .2s; }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  width: 220px;
  max-height: min(70vh, 460px);
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.lang__menu a:hover { background: var(--panel-3); }
.lang__menu a[aria-current="true"] { background: rgba(255, 59, 31, .14); color: #fff; }

.layout { display: flex; padding-top: var(--header-h); min-height: 100vh; }

.sidebar {
  position: fixed;
  top: var(--header-h);
  bottom: 0;
  left: 0;
  z-index: 50;
  width: var(--side-w);
  padding: 16px 14px 24px;
  overflow-y: auto;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--panel-3) transparent;
}
.sidebar__head, .sidebar__auth { display: none; }
.sidebar__close { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--panel-2); }

.lucky {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(circle at 0 0, rgba(255, 204, 61, .35), transparent 60%), linear-gradient(135deg, #3a1410, #1d1e24 70%);
  border: 1px solid rgba(255, 204, 61, .25);
}
.lucky__wheel { width: 52px; height: 52px; grid-row: span 2; animation: spin 12s linear infinite; }
.lucky__body { display: flex; flex-direction: column; min-width: 0; }
.lucky__title { font-weight: 800; font-size: 15px; color: var(--gold); }
.lucky__text { font-size: 12px; line-height: 1.4; color: #d3d3da; }
.lucky__btn { grid-column: 2; justify-self: start; padding: 6px 16px; border-radius: 8px; background: var(--gold); color: #1a1205; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.lucky:hover .lucky__btn { background: #ffd966; }

@keyframes spin { to { transform: rotate(360deg); } }

.snav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.snav__list--sep { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.snav__title { margin: 16px 0 6px; padding: 12px 12px 0; border-top: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.snav__link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; color: #d6d6dc; transition: background-color .2s, color .2s; }
.snav__link .ico { color: var(--muted); transition: color .2s; }
.snav__link:hover { background: var(--panel-2); color: #fff; }
.snav__link:hover .ico { color: var(--accent-2); }
.snav__link[aria-current="page"] { background: linear-gradient(90deg, rgba(255, 59, 31, .22), rgba(255, 59, 31, .04)); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.snav__link[aria-current="page"] .ico { color: var(--accent-2); }

.overlay { display: none; }

.page { flex: 1; min-width: 0; margin-left: var(--side-w); padding: 24px 28px 40px; }
.page > * { max-width: 1600px; margin-left: auto; margin-right: auto; }
.page > * + * { margin-top: 28px; }

.hero { position: relative; border-radius: 18px; overflow: hidden; background: var(--panel); isolation: isolate; }
.hero__track { position: relative; height: clamp(300px, 26vw, 400px); }
.hero__slide { position: absolute; inset: 0; background: radial-gradient(circle at 80% 40%, rgba(255, 59, 31, .55), transparent 55%), linear-gradient(90deg, #141519, #3a1410); opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 13, .92) 0%, rgba(10, 10, 13, .65) 40%, rgba(10, 10, 13, 0) 75%); }
.hero__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; height: 100%; max-width: 560px; padding: 32px 48px 48px; }
.hero__kicker { padding: 5px 12px; border-radius: 999px; background: rgba(255, 59, 31, .18); border: 1px solid rgba(255, 59, 31, .45); color: #ffb3a3; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero__title { margin: 0; font-size: clamp(26px, 3vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
.hero__text { margin: 0 0 6px; max-width: 440px; color: #cfd0d6; font-size: 16px; }
.hero__arrow { position: absolute; bottom: 18px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .15); transition: background-color .2s; }
.hero__arrow:hover { background: var(--accent); }
.hero__arrow--prev { right: 70px; }
.hero__arrow--next { right: 20px; }
.hero__dots { position: absolute; left: 48px; bottom: 20px; z-index: 2; display: flex; gap: 8px; }
.hero__dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .35); transition: width .3s, background-color .3s; }
.hero__dot[aria-current="true"] { width: 30px; background: var(--accent); }

.cats { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-weight: 700; font-size: 14px; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.cat .ico { color: var(--accent-2); }
.cat:hover { border-color: var(--accent); background: var(--panel-2); }
.cat:first-child { background: linear-gradient(180deg, var(--accent-2), var(--accent)); border-color: transparent; }
.cat:first-child .ico { color: #fff; }

.row { --per: 7; }
.row__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.row__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; line-height: 1.3; font-weight: 800; min-width: 0; }
.row__title .ico { width: 24px; height: 24px; color: var(--accent-2); }
.row__all { margin-left: auto; padding: 8px 14px; border-radius: 8px; background: var(--panel); font-size: 13px; font-weight: 700; color: #d6d6dc; white-space: nowrap; transition: background-color .2s, color .2s; }
.row__all:hover { background: var(--panel-3); color: #fff; }
.row__nav { display: flex; gap: 6px; margin-left: auto; }
.row__arrow { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--panel); transition: background-color .2s, opacity .2s; }
.row__arrow .ico { width: 18px; height: 18px; }
.row__arrow:hover { background: var(--accent); }
.row__arrow:disabled { opacity: .35; cursor: default; background: var(--panel); }
.row__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.row__track::-webkit-scrollbar { display: none; }
.row__track > .game { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--gap); }
.grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.game { min-width: 0; }
.game__thumb { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--panel-2); }
.game__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game__over {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(14, 15, 18, .55), rgba(14, 15, 18, .88));
  opacity: 0;
  transition: opacity .25s;
}
.game__over .btn { width: 100%; max-width: 140px; }
.game:hover .game__thumb img, .game:focus-within .game__thumb img { transform: scale(1.06); }
.game:hover .game__over, .game:focus-within .game__over { opacity: 1; }
.game__name { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #e6e6ea; }

@media (hover: none) {
  .game__over { position: static; flex-direction: column; gap: 6px; padding: 8px 0 0; background: none; opacity: 1; }
  .game__over .btn { width: 100%; min-width: 0; max-width: none; min-height: 32px; padding: 0 6px; font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
  .game__over .btn .ico { display: none; }
  .game__thumb { aspect-ratio: auto; overflow: visible; background: none; }
  .game__thumb img { aspect-ratio: 4 / 5; border-radius: 12px; background: var(--panel-2); }
  .game:hover .game__thumb img, .game:focus-within .game__thumb img { transform: none; }
  .game__review { background: var(--panel-3); border-color: transparent; backdrop-filter: none; }
}

.content {
  padding: 36px 40px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.75;
  color: #d9d9df;
  overflow-wrap: break-word;
}
.content > :first-child { margin-top: 0; }
.content > :last-child { margin-bottom: 0; }
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 { color: #fff; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; margin: 1.6em 0 .6em; }
.content h1 { font-size: clamp(28px, 3vw, 38px); margin-top: 0; }
.content h2 { font-size: clamp(22px, 2.2vw, 28px); }
.content h3 { font-size: clamp(19px, 1.8vw, 22px); }
.content h4 { font-size: 18px; }
.content h5, .content h6 { font-size: 16px; }
.content p { margin: 0 0 1.1em; }
.content a:not([class]) { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.content a:not([class]):hover { color: #ff8f66; }
.content strong, .content b { color: #fff; }
.content ul, .content ol { margin: 0 0 1.3em; padding-left: 0; list-style: none; }
.content ul > li, .content ol > li { position: relative; margin-bottom: .5em; padding-left: 32px; }
.content ul > li::before { content: ""; position: absolute; left: 8px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.content ol { counter-reset: n; }
.content ol > li { counter-increment: n; }
.content ol > li::before { content: counter(n); position: absolute; left: 0; top: .15em; width: 23px; height: 23px; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: rgba(255, 59, 31, .16); color: var(--accent-2); font-size: 12px; font-weight: 800; line-height: 1; }
.content li > ul, .content li > ol { margin: .5em 0 0; }
.content img { max-width: 100%; height: auto; border-radius: 14px; }
.content figure { margin: 1.6em auto; max-width: 960px; }
.content figure img { width: 100%; background: var(--panel-2); }
.content figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.content table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.6em;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  -webkit-overflow-scrolling: touch;
}
.content table thead, .content table tbody { display: table; width: 100%; min-width: 520px; border-collapse: collapse; }
.content table thead + tbody { margin-top: 0; }
.content th, .content td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.content thead th { background: var(--panel-3); color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.content tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }
.content tbody tr:last-child th, .content tbody tr:last-child td { border-bottom: 0; }
.content tbody tr:hover { background: rgba(255, 59, 31, .06); }
.content blockquote { position: relative; margin: 1.6em 0; padding: 20px 24px 20px 64px; border-radius: 14px; background: var(--panel-2); border-left: 4px solid var(--accent); color: #ececf0; font-style: italic; }
.content blockquote::before { content: "\201C"; position: absolute; left: 18px; top: 4px; font-size: 64px; line-height: 1; font-style: normal; font-weight: 800; color: var(--accent); }
.content blockquote p:last-child { margin-bottom: 0; }
.content details { margin: 0 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); overflow: hidden; }
.content summary { position: relative; padding: 15px 52px 15px 20px; font-weight: 700; color: #fff; cursor: pointer; list-style: none; }
.content summary::-webkit-details-marker { display: none; }
.content summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(45deg); transition: transform .2s, margin-top .2s; }
.content details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.content details[open] summary { border-bottom: 1px solid var(--line); }
.content details > :not(summary) { margin: 0; padding: 14px 20px 16px; }
.content iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; margin: 1.6em 0; border: 0; border-radius: 14px; background: #000; }
.content hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.content code { padding: 2px 6px; border-radius: 6px; background: var(--panel-3); font-size: .9em; }

.cta { margin: 2em 0; text-align: center; }
.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 58px;
  padding: 0 40px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 10px 30px rgba(255, 59, 31, .4);
  animation: pulse 2.2s ease-in-out infinite;
  transition: transform .2s, box-shadow .2s;
}
.cta__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 59, 31, .55); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(255, 59, 31, .4), 0 0 0 0 rgba(255, 59, 31, .45); }
  50% { box-shadow: 0 10px 30px rgba(255, 59, 31, .4), 0 0 0 14px rgba(255, 59, 31, 0); }
}

.crumbs { margin: -8px 0 18px; font-size: 13px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li { position: relative; margin: 0; padding: 0; }
.crumbs li::before { display: none; }
.content .crumbs li { padding: 0; margin: 0; }
.content .crumbs li::before { content: none; }
.crumbs li + li::before { content: "/"; display: inline; position: static; margin-right: 6px; color: var(--muted); background: none; width: auto; height: auto; transform: none; }
.content .crumbs li + li::before { content: "/"; position: static; display: inline; width: auto; height: auto; background: none; transform: none; margin-right: 6px; color: var(--muted); }
.crumbs__link { color: var(--muted); transition: color .2s; }
.crumbs__link:hover { color: #fff; }
.crumbs span { color: #d6d6dc; }


.error-page { padding: 40px 0; text-align: center; }
.error-page .error-page__code { margin: 0; font-size: clamp(90px, 16vw, 170px); line-height: 1; font-weight: 800; color: transparent; background: linear-gradient(180deg, var(--accent-2), var(--accent-dark)); -webkit-background-clip: text; background-clip: text; }
.error-page h1 { margin-top: 10px; }
.error-page p { max-width: 480px; margin-left: auto; margin-right: auto; color: var(--muted); }

.footer { margin-left: var(--side-w); padding: 44px 28px 24px; background: var(--bg-2); border-top: 1px solid var(--line); }
.footer > * { max-width: 1600px; margin-left: auto; margin-right: auto; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__brand p { margin: 14px 0 0; color: var(--muted); font-size: 14px; max-width: 360px; }
.footer__age { display: flex; align-items: center; gap: 12px; }
.age { flex: none; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--accent); color: #fff; font-weight: 800; font-size: 13px; }
.footer__title { margin: 6px 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer__col a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer__col a:hover { color: var(--accent-2); }
.footer__langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--line); }
.footer__langs a { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: var(--panel); font-size: 13px; font-weight: 600; color: #d6d6dc; transition: background-color .2s; }
.footer__langs a:hover { background: var(--panel-3); }
.footer__langs img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.footer__bottom { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom p { margin: 0; }

.promo {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(640px, calc(100% - 32px));
  padding: 14px 52px 14px 18px;
  border-radius: 16px;
  background: linear-gradient(120deg, #2a1310, #1d1e24 55%);
  border: 1px solid rgba(255, 59, 31, .45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform .5s cubic-bezier(.2, .9, .3, 1.2), opacity .4s;
}
.promo.is-visible { transform: translate(-50%, 0); opacity: 1; }
.promo__logo { flex: none; width: 96px; height: 32px; }
.promo__text { display: flex; flex-direction: column; min-width: 0; margin: 0; line-height: 1.35; }
.promo__text strong { font-size: 16px; font-weight: 800; color: #fff; }
.promo__text span { font-size: 13px; color: #c9c9d1; }
.promo__btn { flex: none; margin-left: auto; }
.promo__close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.promo__close:hover { background: var(--panel-3); color: #fff; }
.promo__close .ico { width: 18px; height: 18px; }

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 65;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 59, 31, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, bottom .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
body.promo-open .to-top { bottom: 110px; }

@media (max-width: 1599px) {
  .header__nav { display: none; }
  .row { --per: 6; }
}

@media (max-width: 1279px) {
  .row { --per: 5; }
  .page { padding: 20px; }
  .content { padding: 30px; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1099px) {
  :root { --header-h: 62px; }
  .header { gap: 10px; padding: 0 14px; }
  .header > .logo { width: auto; }
  .header__burger { display: inline-flex; }
  .sidebar { top: 0; z-index: 90; width: min(300px, 86vw); padding-top: 14px; transform: translateX(-100%); transition: transform .3s ease; box-shadow: var(--shadow); }
  .sidebar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  body.menu-open .sidebar { transform: none; }
  .overlay { display: block; position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  body.menu-open .overlay { opacity: 1; visibility: visible; }
  .page { margin-left: 0; }
  .footer { margin-left: 0; }
}

@media (max-width: 899px) {
  .row { --per: 4; }
  .search { display: none; }
  .header__icon { display: inline-flex; }
  .header.is-search .search { display: block; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); max-width: none; }
  .header.is-search .search__input { height: 46px; background: var(--panel-2); box-shadow: var(--shadow); }
  .hero__body { max-width: 480px; padding: 28px 32px 48px; }
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  .header__login { display: none; }
  .sidebar__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
  .sidebar__auth .btn { padding: 0 10px; }
  .page { padding: 14px 12px 28px; }
  .page > * + * { margin-top: 22px; }
  .hero { border-radius: 14px; }
  .hero__track { height: 360px; }
  .hero__slide::after { background: linear-gradient(0deg, rgba(10, 10, 13, .95) 0%, rgba(10, 10, 13, .7) 50%, rgba(10, 10, 13, .1) 100%); }
  .hero__body { justify-content: flex-end; max-width: none; padding: 20px 20px 46px; gap: 10px; }
  .hero__text { font-size: 14px; }
  .hero__arrow { display: none; }
  .hero__dots { left: 20px; bottom: 18px; }
  .cat { padding: 10px 14px; font-size: 13px; }
  .row { --per: 2.6; --gap: 10px; }
  .row__title { font-size: 17px; }
  .row__title .ico { width: 20px; height: 20px; }
  .row__nav { display: none; }
  .row__all { padding: 6px 10px; font-size: 12px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game__name { font-size: 13px; }
  .content { padding: 22px 16px; border-radius: 14px; font-size: 15px; }
  .content blockquote { padding: 16px 16px 16px 48px; }
  .content blockquote::before { left: 12px; font-size: 48px; }
  .content th, .content td { padding: 10px 12px; }
  .cta__btn { width: 100%; min-width: 0; padding: 0 20px; }
  .footer { padding: 32px 16px 96px; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .promo { bottom: 10px; gap: 12px; padding: 12px 44px 12px 12px; flex-wrap: wrap; }
  .promo__logo { width: 78px; height: 26px; }
  .promo__text { flex: 1 1 160px; }
  .promo__text strong { font-size: 15px; }
  .promo__btn { width: 100%; margin-left: 0; }
  body.promo-open .to-top { bottom: 150px; }
}

@media (max-width: 479px) {
  .header { gap: 8px; padding: 0 10px; }
  .header__actions { gap: 6px; }
  .logo img { width: 96px; height: 32px; }
  .header__signup { min-height: 38px; padding: 0 12px; font-size: 11px; }
  .header__icon, .header__burger { width: 38px; height: 38px; }
  .lang__btn { height: 38px; padding: 0 8px; gap: 4px; }
  .lang__btn span { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { --per: 2.2; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .promo__text span { display: none; }
  .hero__title { font-size: 25px; }
}

@media (max-width: 359px) {
  .header__signup { padding: 0 9px; letter-spacing: 0; }
  .logo img { width: 84px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.contact { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 20px; align-items: start; margin: 1.6em 0 0; }
.contact__info { display: grid; gap: 14px; }
.contact__card { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.contact__ico { flex: 0 0 44px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255, 59, 31, .16); }
.contact__ico svg { width: 22px; height: 22px; fill: var(--accent-2); }
.content .contact__title { margin: 0 0 4px; color: #fff; font-weight: 800; font-size: 15px; line-height: 1.3; }
.contact__mail { display: inline-block; margin-bottom: 6px; color: var(--accent-2); font-weight: 700; font-size: 16px; text-decoration: none; word-break: break-all; }
.contact__mail:hover { color: #ff8f66; text-decoration: underline; }
.content .contact__text { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.cform { display: grid; gap: 16px; padding: 24px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line); }
.content .cform__title { margin: 0; color: #fff; font-weight: 800; font-size: 20px; line-height: 1.3; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform__field { display: grid; gap: 6px; min-width: 0; }
.cform__label { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }
.cform__input { width: 100%; min-height: 46px; padding: 11px 14px; font: inherit; font-size: 15px; line-height: 1.4; color: var(--text); background: var(--bg-2); border: 1.5px solid var(--panel-3); border-radius: 10px; outline: none; transition: border-color .2s, box-shadow .2s; }
.cform__input::placeholder { color: #6d6e78; }
.cform__input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 59, 31, .18); }
.cform__input.is-invalid { border-color: #ff4d4d; }
.cform__select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.cform__select option { color: var(--text); background: var(--panel); }
.cform__area { min-height: 140px; resize: vertical; }
.cform__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.cform__check input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.cform__check.is-invalid span { color: #ff8080; }
.cform__btn { justify-self: start; }
.content .cform__ok { margin: 0; padding: 12px 16px; border-radius: 10px; font-size: 14px; color: #c9f5dc; background: rgba(43, 214, 123, .12); border: 1px solid rgba(43, 214, 123, .4); }
@media (max-width: 1023px) {
  .contact { grid-template-columns: 1fr; }
  .contact__info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .contact__info, .cform__row { grid-template-columns: 1fr; }
  .cform { padding: 18px; }
  .cform__btn { justify-self: stretch; }
}
