:root {
  --blue: #1a6dff;
  --blue-d: #0d57de;
  --blue-l: #e3f2fe;
  --ice: #e8f6fd;
  --ice-2: #d4eefb;
  --ink: #1b2434;
  --muted: #5d677a;
  --line: #e3e8f0;
  --bg: #f6f8fb;
  --card: #ffffff;
  --navy: #0c2550;
  --navy-2: #0a1d40;
  --red: #e5304a;
  --orange: #ff7a1a;
  --radius: 10px;
  --wrap: 1300px;
  --pad: 24px;
  --gap: 14px;
  --hh: 78px;
  --shadow: 0 6px 22px rgba(20, 60, 120, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ico { width: 20px; height: 20px; flex: 0 0 auto; 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: 44px; padding: 0 22px; border-radius: 8px; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(26, 109, 255, .28); }
.btn--primary:hover { background: var(--blue-d); }
.btn--ghost { border: 1.5px solid var(--blue); color: var(--blue); }
.btn--ghost:hover { background: var(--blue-l); }
.btn--ice { background: #e4f6fe; color: var(--blue); box-shadow: 0 10px 30px rgba(10, 60, 140, .18); }
.btn--ice:hover { background: #fff; transform: translateY(-1px); }
.btn--lg { min-height: 58px; padding: 0 56px; font-size: 17px; border-radius: 6px; }

.header { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header__in { max-width: 1780px; margin: 0 auto; height: var(--hh); padding: 0 var(--pad); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.logo__mark { width: 22px; height: 44px; }
.logo__txt { display: flex; flex-direction: column; line-height: .9; }
.logo__txt b { font-size: 30px; font-weight: 900; letter-spacing: -.02em; color: #1677ff; text-shadow: 0 2px 0 #0b3f9e; }
.logo__txt i { font-size: 15px; font-weight: 700; font-style: italic; color: #0d57de; margin-left: 10px; margin-top: -2px; }
.logo--light .logo__txt b { color: #fff; text-shadow: 0 2px 0 #0b3f9e; }
.logo--light .logo__txt i { color: #8fd4ff; }
.header__nav { display: flex; align-items: stretch; height: 100%; gap: 4px; margin-left: 30px; }
.header__link { position: relative; display: flex; white-space: nowrap; align-items: center; padding: 0 20px; font-size: 14.5px; font-weight: 500; color: #233047; transition: color .2s; }
.header__link::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.header__link:hover, .header__link[aria-current] { color: var(--blue); }
.header__link[aria-current]::after { transform: none; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.header__chat { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: #233047; }
.header__chat .ico { color: var(--blue); width: 22px; height: 22px; }
.header__chat:hover { color: var(--blue); }
.header__login { white-space: nowrap; font-size: 14px; font-weight: 800; color: var(--blue); text-transform: uppercase; }
.header__login:hover { color: var(--blue-d); }
.header__signup { min-height: 44px; padding: 0 26px; }
.header__burger { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; color: var(--ink); background: var(--bg); }
.header__burger .ico { width: 24px; height: 24px; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; font-weight: 700; font-size: 14px; }
.lang__btn img { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; }
.lang__chev { width: 14px; height: 14px; color: var(--muted); transition: transform .2s; }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; width: 420px; list-style: none; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px rgba(15, 40, 90, .18); }
.lang__menu a, .dlangs__list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14px; }
.lang__menu a:hover, .lang__menu a[aria-current], .dlangs__list a[aria-current] { background: var(--blue-l); color: var(--blue); }
.lang__menu img, .dlangs__list img { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; }

.drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 60; width: min(340px, 88vw); background: #fff; transform: translateX(-100%); transition: transform .3s; overflow-y: auto; padding: 16px 18px 30px; display: flex; flex-direction: column; gap: 18px; }
.overlay { position: fixed; inset: 0; z-index: 55; background: rgba(8, 24, 54, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-open .drawer { transform: none; }
.menu-open .overlay { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__close { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.drawer__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer__auth .btn { padding: 0 10px; }
.dnav__list { list-style: none; display: grid; gap: 2px; }
.dnav__link { display: block; padding: 11px 12px; border-radius: 8px; font-weight: 600; }
.dnav__link:hover, .dnav__link[aria-current] { background: var(--blue-l); color: var(--blue); }
.dnav__chat { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 11px 12px; border-radius: 8px; background: var(--ice); color: var(--blue); font-weight: 700; }
.dlangs__title { margin: 0 0 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dlangs__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.hero { position: relative; overflow: hidden; height: 510px; background: linear-gradient(180deg, #4f8fe6, #a9d6f8); }
.hero__track { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__body { position: absolute; inset: 0 0 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; padding: 0 90px; text-align: center; }
.hero__title { margin: 0; color: #fff; font-size: 50px; line-height: 1.22; font-weight: 800; letter-spacing: -.01em; text-shadow: 0 4px 14px rgba(6, 40, 100, .55), 0 2px 0 rgba(6, 40, 100, .35); }
.hero__title span { display: block; }
.hero__arrow { position: absolute; top: 225px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(255, 255, 255, .22); backdrop-filter: blur(4px); transition: background .2s; }
.hero__arrow:hover { background: rgba(255, 255, 255, .4); }
.hero__arrow--prev { left: 38px; }
.hero__arrow--next { right: 38px; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 130px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background .2s, transform .2s; }
.hero__dot[aria-current] { background: #fff; transform: scale(1.15); }
.feats { position: absolute; left: 50%; bottom: 40px; z-index: 3; transform: translateX(-50%); list-style: none; display: flex; gap: 14px; }
.feat { display: flex; align-items: center; gap: 4px; }
.feat svg { width: 44px; height: 44px; position: relative; z-index: 1; margin-right: -14px; filter: drop-shadow(0 4px 6px rgba(0, 40, 100, .25)); }
.feat p { margin: 0; display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 8px 14px 8px 22px; border-radius: 6px; background: rgba(150, 200, 245, .45); backdrop-filter: blur(6px); color: #fff; line-height: 1.1; }
.feat b { font-size: 21px; font-weight: 800; text-shadow: 0 2px 4px rgba(6, 40, 100, .3); }
.feat span { font-size: 12px; font-weight: 500; opacity: .95; white-space: nowrap; }

.toolbar { position: relative; z-index: 6; background: var(--bg); padding-bottom: 32px; }
.toolbar__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.tools { display: grid; grid-template-columns: minmax(0, 1fr) 198px 198px; gap: 16px; margin-top: -24px; }
.toolbar--flat { padding-top: 28px; }
.toolbar--flat .tools { margin-top: 0; }
.sbox { position: relative; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 6px 0 18px; background: #fff; border-radius: 6px; box-shadow: var(--shadow); }
.sbox__ico { color: var(--blue); width: 22px; height: 22px; }
.sbox__input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); }
.sbox__input::placeholder { color: #8a93a4; }
.sbox__lucky { flex: 0 0 auto; display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: 6px; background: var(--blue-l); color: var(--blue); font-size: 13px; font-weight: 800; text-transform: uppercase; transition: background .2s; }
.sbox__lucky:hover { background: #cfe8fd; }
.sres { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; max-height: 380px; overflow-y: auto; padding: 8px; background: #fff; border-radius: 10px; box-shadow: 0 18px 40px rgba(15, 40, 90, .18); }
.sres__list { list-style: none; display: grid; gap: 2px; }
.sres__list a { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 6px 8px; border-radius: 8px; align-items: center; }
.sres__list a:hover { background: var(--blue-l); }
.sres__list img { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.sres__name { font-weight: 600; font-size: 14px; }
.sres__prov { font-size: 12px; color: var(--muted); }
.sres__empty { margin: 8px; color: var(--muted); }
.pick { position: relative; }
.pick__btn { width: 100%; height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: #fff; border-radius: 6px; box-shadow: var(--shadow); font-size: 14px; color: #2a3448; text-align: left; }
.pick__btn .ico { color: var(--blue); width: 22px; height: 22px; }
.pick__btn span { flex: 1 1 auto; }
.pick__chev { width: 14px !important; height: 14px !important; color: #9aa3b3 !important; transition: transform .2s; }
.pick__btn[aria-expanded="true"] .pick__chev { transform: rotate(180deg); }
.pick__menu { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 200px; list-style: none; padding: 8px; background: #fff; border-radius: 10px; box-shadow: 0 18px 40px rgba(15, 40, 90, .18); }
.pick__menu--right { left: auto; right: 0; }
.pick__menu a { display: block; padding: 9px 10px; border-radius: 8px; font-size: 14px; }
.pick__menu a:hover { background: var(--blue-l); color: var(--blue); }
.tabs { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.tabs__row { flex: 1 1 auto; min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs__row::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; border: 1.5px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 500; color: #2a3448; white-space: nowrap; transition: border-color .2s, color .2s; }
.tab .ico { color: var(--blue); width: 21px; height: 21px; }
.tab:hover { color: var(--blue); }
.tab[aria-current] { border-color: var(--blue); background: #fff; }
.tab--aviator span { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 800; font-size: 17px; color: #e0102b; letter-spacing: -.02em; }
.tab--more { height: 40px; padding: 0 16px; background: #fff; border: 1.5px solid var(--line); font-weight: 800; font-size: 13px; text-transform: uppercase; }
.tab--more .ico { color: var(--muted); width: 16px; height: 16px; }
.pick--more { flex: 0 0 auto; }

.wrap { position: relative; }
.wrap--ice { background: var(--ice); padding: 54px 0 70px; overflow: hidden; }
.wrap--ice::before { content: ""; position: absolute; left: 0; top: 0; width: 480px; height: 50px; background: linear-gradient(100deg, #bfe6fb 0 55%, transparent 55%); clip-path: polygon(0 0, 100% 0, 30% 100%, 0 60%); opacity: .9; }
.wrap--page { padding-top: 34px; }
.wrap > * { position: relative; max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--pad); padding-right: var(--pad); }
.sec + .content, .content + .sec { margin-top: 48px; }
.sec__head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.sec__title { margin: 0; font-size: 17px; font-weight: 700; white-space: nowrap; }
.sec__head::after { content: ""; order: 1; flex: 1 1 auto; height: 1px; background: #c9dbe8; }
.sec__all { order: 2; font-size: 15px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.sec__all:hover { text-decoration: underline; }

.games { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.games--top { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.games--all { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.game { position: relative; min-width: 0; }
.game__thumb { position: relative; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: linear-gradient(135deg, #7fb8f0, #3a78d8); box-shadow: 0 4px 12px rgba(20, 60, 120, .12); }
.game__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.game__thumb::after { content: ""; position: absolute; inset: 0; background: rgba(8, 30, 70, .45); opacity: 0; transition: opacity .25s; }
.game__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; opacity: 0; transform: scale(.7); transition: opacity .25s, transform .25s; box-shadow: 0 8px 20px rgba(26, 109, 255, .45); }
.game__play .ico { width: 24px; height: 24px; margin-left: 3px; }
.game:hover .game__thumb img { transform: scale(1.06); }
.game:hover .game__thumb::after, .game:hover .game__play { opacity: 1; }
.game:hover .game__play { transform: none; }
.game__badge { position: absolute; left: 8px; top: 8px; z-index: 2; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; text-transform: uppercase; color: #fff; }
.game__badge--new { background: #17b26a; }
.game__badge--hot { background: var(--orange); }
.game__fav { position: absolute; right: 8px; top: 8px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(8, 30, 70, .35); opacity: 0; transition: opacity .2s, color .2s; }
.game__fav .ico { width: 17px; height: 17px; }
.game:hover .game__fav, .game__fav[aria-pressed="true"], .game__fav:focus-visible { opacity: 1; }
.game__fav[aria-pressed="true"] { color: #ff4d6a; }
.game__fav[aria-pressed="true"] .ico { fill: currentColor; }
.game__meta { margin: 8px 2px 0; display: flex; flex-direction: column; line-height: 1.25; }
.game__name { font-size: 13.5px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.game__prov { font-size: 12px; color: var(--muted); }

.featured { position: relative; grid-column: span 2; grid-row: span 2; display: block; min-height: 100%; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #7f9fd8, #3d6fd0); box-shadow: 0 10px 26px rgba(20, 60, 120, .2); isolation: isolate; }
.featured__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .4s; }
.featured::after { content: ""; position: absolute; inset: 40% 0 0; z-index: -1; background: linear-gradient(180deg, transparent, rgba(6, 26, 70, .85)); }
.featured:hover .featured__img { transform: scale(1.04); }
.featured__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: #fff; }
.featured__kicker { padding: 3px 10px; margin-bottom: 8px; border-radius: 4px; background: #ffc31f; color: #3b2600; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.featured__name { font-size: 24px; font-weight: 800; line-height: 1.15; }
.featured__prov { font-size: 13px; opacity: .85; }
.featured__btn { margin-top: 14px; min-height: 40px; padding: 0 18px; font-size: 13px; }
.featured__btn .ico { width: 16px; height: 16px; }

.content { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 40px 48px; font-size: 16px; color: #2b3546; }
.wrap > .content { width: calc(100% - 2 * var(--pad)); max-width: calc(var(--wrap) - 2 * var(--pad)); padding-left: 48px; padding-right: 48px; }
.content > * { max-width: 900px; }
.content h1 { margin: 0 0 18px; font-size: 34px; line-height: 1.2; font-weight: 800; color: var(--ink); }
.content h2 { margin: 36px 0 12px; font-size: 25px; line-height: 1.25; color: var(--ink); }
.content h3 { margin: 26px 0 10px; font-size: 19px; color: var(--ink); }
.content p { margin: 0 0 14px; }
.content ul, .content ol { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 6px; }
.content ul li::marker { color: var(--blue); }
.content figure { margin: 22px 0; }
.content figure img { border-radius: 12px; width: 100%; }
.content figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 10px; }
.content table { width: 100%; border-collapse: collapse; min-width: 480px; }
.content th, .content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.content th { background: var(--ice); font-weight: 700; color: var(--ink); }
.content tr:last-child td { border-bottom: 0; }
.content blockquote { margin: 22px 0; padding: 18px 22px; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; background: var(--ice); }
.content blockquote p { margin: 0; font-style: italic; }
.cta { margin: 26px 0; }
.content details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.content summary { cursor: pointer; padding: 15px 48px 15px 18px; font-weight: 700; list-style: none; position: relative; }
.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(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
.content details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.content details p { padding: 0 18px 16px; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0 !important; margin: 0 0 16px !important; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b5bfcc; }
.crumbs a { color: var(--blue); }
.content--error { text-align: center; padding-top: 60px; padding-bottom: 60px; }
.error-page { max-width: 560px !important; margin: 0 auto; }
.error-page__code { margin: 0 !important; font-size: 110px; font-weight: 900; line-height: 1; background: linear-gradient(180deg, #8fd4ff, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.footer { background: var(--navy); color: #c3cee2; font-size: 14px; }
.footer__in { max-width: var(--wrap); margin: 0 auto; padding: 50px var(--pad) 28px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand p { margin: 14px 0 0; max-width: 360px; }
.footer__age { display: flex; align-items: center; gap: 10px; }
.age { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #ff5a6e; color: #ff5a6e; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.footer__title { margin: 0 0 12px; color: #fff; font-weight: 700; font-size: 15px; }
.footer__col ul { list-style: none; display: grid; gap: 8px; }
.footer__col a:hover, .footer__langs a:hover { color: #fff; }
.footer__pay { margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); }
.pays { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pays li { padding: 8px 16px; border-radius: 8px; background: var(--navy-2); color: #e8eefa; font-weight: 700; font-size: 13px; }
.footer__langs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__langs a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.footer__langs img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.footer__bottom { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #8f9cb6; }
.footer__bottom p { margin: 0; }

.promo { position: fixed; left: 50%; bottom: 18px; z-index: 45; transform: translateX(-50%); width: min(720px, calc(100% - 24px)); display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 16px; border-radius: 14px; background: #fff; box-shadow: 0 18px 44px rgba(10, 40, 90, .25); border: 1px solid var(--line); }
.promo__mark { width: 30px; height: 36px; flex: 0 0 auto; }
.promo__text { margin: 0; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.promo__text strong { font-size: 15px; }
.promo__text span { font-size: 13px; color: var(--muted); }
.promo__btn { min-height: 40px; padding: 0 16px; font-size: 13px; }
.promo__close { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.promo__close:hover { background: var(--bg); }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 39; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(26, 109, 255, .35); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, visibility .3s, transform .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.promo:not([hidden]) ~ .to-top { bottom: 96px; }

@media (max-width: 1599px) {
  .header__in { gap: 18px; }
  .header__nav { margin-left: 6px; gap: 0; }
  .header__link { padding: 0 10px; font-size: 14px; }
  .header__chat span { display: none; }
  .header__actions { gap: 16px; }
}
@media (max-width: 1279px) {
  .header__link { padding: 0 8px; font-size: 13.5px; }
}
@media (max-width: 1199px) {
  .header__burger { display: flex; }
  .header__nav { display: none; }
  .header__in { gap: 14px; }
  .hero { height: 440px; }
  .hero__title { font-size: 40px; }
  .hero__arrow { top: 180px; }
  .feats { gap: 8px; }
  .feat b { font-size: 18px; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .games, .games--all { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .games--top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .games--row .game:nth-child(n+5) { display: none; }
}
@media (max-width: 899px) {
  .tools { grid-template-columns: 1fr 1fr; }
  .sbox { grid-column: 1 / -1; }
  .feats { left: 0; right: 0; transform: none; padding: 0 var(--pad); overflow-x: auto; scrollbar-width: none; }
  .feats::-webkit-scrollbar { display: none; }
  .feat { flex: 0 0 auto; }
  .hero__arrow { display: none; }
  .content { padding: 32px 28px; }
  .wrap > .content { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 767px) {
  :root { --pad: 16px; --gap: 10px; --hh: 62px; }
  .logo__mark { width: 17px; height: 34px; }
  .logo__txt b { font-size: 24px; }
  .logo__txt i { font-size: 12px; margin-left: 8px; }
  .header__actions { gap: 10px; }
  .header__login, .header__chat { display: none; }
  .lang__btn span { display: none; }
  .header__signup { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .lang__menu { width: min(340px, calc(100vw - 24px)); right: -60px; }
  .hero { height: 400px; }
  .hero__body { inset: 0 0 110px; gap: 22px; padding: 0 20px; }
  .hero__title { font-size: 30px; }
  .btn--lg { min-height: 50px; padding: 0 36px; font-size: 15px; }
  .hero__dots { bottom: 104px; }
  .feats { bottom: 26px; }
  .feat svg { width: 36px; height: 36px; }
  .feat p { min-height: 54px; padding: 6px 12px 6px 18px; }
  .feat b { font-size: 16px; }
  .feat span { font-size: 11px; }
  .toolbar { padding-bottom: 22px; }
  .tools { gap: 10px; margin-top: -20px; }
  .sbox__lucky { padding: 0 10px; font-size: 11px; }
  .pick__btn { height: 44px; padding: 0 12px; }
  .tab--more { padding: 0 10px; }
  .wrap--ice { padding: 34px 0 44px; }
  .wrap--ice::before { width: 260px; height: 30px; }
  .games, .games--all, .games--top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .content { padding: 24px 18px; border-radius: 12px; font-size: 15px; }
  .wrap > .content { padding-left: 18px; padding-right: 18px; }
  .games--row .game:nth-child(n+5) { display: block; }
  .content h1 { font-size: 26px; }
  .content h2 { font-size: 21px; }
  .content h3 { font-size: 17px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 26px; }
  .promo { gap: 10px; padding: 10px; }
  .promo__mark { display: none; }
  .promo__text span { display: none; }
}
@media (max-width: 479px) {
  .hero__title { font-size: 26px; }
  .game__name { font-size: 12.5px; }
  .game__prov { font-size: 11px; }
  .game__badge { left: 5px; top: 5px; font-size: 9.5px; padding: 1px 5px; }
  .featured__name { font-size: 20px; }
  .sbox__lucky { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .lang__menu { right: -70px; }
}
