@font-face {
    font-family: Inter;
    src: url('/assets/inter-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url('/assets/inter-cyrillic.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
    --bg: #0a0a1a;
    --panel: #0e0e24;
    --line: #1e1f4a;
    --ink: #f5f7fa;
    --dim: #aba8cc;
    --fire: #ff7e20;
    --orange: #ff7e20;
    --blue: #0188f8;
    --control-bg: #131430;
    --control-hover: #181a3d;
    --control-text: #9094d0;
    --nav-text: #9393cc;
    --blue-text: #4ba9fa;
    --accent-gradient: linear-gradient(236deg, #ee7722, #ee4d22);
    --control-border: linear-gradient(167deg, #3a3c6d, #30325c 11%, #232556 33%, #1c1d3ce0);
    --header-height: 96px;
    --shell: 1920px;
    --sidebar-width: 254px;
    font-family: Inter, system-ui, sans-serif;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
html { scroll-padding-top: calc(var(--header-height) + 12px); }
:where(a, button, input, select, summary):focus-visible { outline-color: var(--blue-text); }

.site-header { background: #090919bf; backdrop-filter: blur(4px); }
.site-header .container, .site-layout { width: min(var(--shell), calc(100% - 48px)); }
.site-layout { grid-template-columns: var(--sidebar-width) minmax(0, 1fr); gap: 24px; margin-top: 0; }
.home .header-layout { justify-content: flex-start; }
.home .header-actions { margin-inline-start: auto; }
.header-brandline, .header-actions { gap: 16px; }
.header-brandline .brand { min-width: 0; gap: 9px; }
.header-brandline .brand-mark { width: 39px; height: 48px; }
.header-brandline .brand-wordmark { width: 110px; height: auto; }
.sidebar-toggle, .header-catalog, .header-login {
    border: 1px solid transparent;
    background: var(--control-bg);
    color: var(--ink);
}
.sidebar-toggle {
    display: grid;
    flex: 0 0 32px;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-left: 6px;
    margin-right: -8px;
    border-radius: 9px;
    background: var(--control-hover);
    color: var(--dim);
    cursor: pointer;
}
.sidebar-toggle:hover, .header-login:hover, .header-catalog:hover { background: var(--control-hover); }
.sidebar-toggle .lobby-icon { width: 17px; height: 17px; }
.sidebar-toggle[aria-expanded="false"] .lobby-icon { rotate: 180deg; }
.header-catalog { margin-inline-start: 57px; width: min(260px, 25vw); min-width: 145px; min-height: 48px; border-radius: 16px; color: var(--control-text); }
.header-catalog::before { content: none; }
.header-catalog kbd { margin-left: auto; padding: 2px 7px; border-radius: 11px; background: var(--panel); color: var(--ink); font: inherit; font-size: .78rem; }
.header-login, .header-register { justify-content: center; min-width: 84px; min-height: 48px; padding-inline: 16px; border-radius: 12px; font-size: .875rem; font-weight: 550; }
.header-register { min-width: 137px; }
.header-register, .button-cta {
    background: var(--accent-gradient);
    color: #110916;
    box-shadow: 0 8px 24px #ee75224d;
}
.header-register:hover, .button-cta:hover { background: var(--orange); color: #110916; }
.home .header-login { min-height: 48px; border-radius: 12px; background: linear-gradient(var(--control-hover), var(--control-hover)) padding-box, var(--control-border) border-box; }
.home .header-login:hover { color: var(--ink); background: linear-gradient(var(--line), var(--line)) padding-box, var(--control-border) border-box; }

.lobby-sidebar { top: var(--header-height); }
.lobby-sidebar nav { display: grid; gap: 0; padding: 16px; border: 1px solid var(--control-bg); border-radius: 16px; background: var(--panel); }
.lobby-sidebar nav > div { display: grid; gap: 0; }
.lobby-sidebar nav > div + div { padding-top: 0; border: 0; }
.lobby-sidebar a { position: relative; min-height: 52px; gap: 9px; padding-inline: 12px 7px; border-radius: 0; border-bottom: 1px solid var(--control-bg); color: var(--nav-text); font-size: .875rem; font-weight: 450; }
.lobby-sidebar a[aria-current] { color: var(--fire); background: transparent; }
.lobby-sidebar a[aria-current]::before { position: absolute; left: 0; width: 4px; height: 4px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; content: ""; }
.lobby-sidebar a:hover { color: var(--ink); background: var(--control-bg); }
.lobby-sidebar .sidebar-directory { margin-top: 10px; border: 0; border-radius: 12px; background: var(--control-bg); }
.lobby-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.sidebar-collapsed .site-layout { grid-template-columns: 60px minmax(0, 1fr); }
.sidebar-collapsed .lobby-sidebar nav { padding-inline: 6px; }
.sidebar-collapsed .lobby-sidebar a { justify-content: center; padding-inline: 0; }
.sidebar-collapsed .lobby-sidebar a > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.lobby-promotion { margin-bottom: 24px; }
.lobby-top-link {
    display: block;
    border-radius: 16px;
}
.lobby-top-link:focus-visible { outline-color: var(--blue); }
.deposit-roadmap {
    display: grid;
    align-items: center;
    min-height: 130px;
    padding: 12px 0;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 16px;
    background: var(--panel) url('/assets/road-background.webp') left center / cover no-repeat;
}
.deposit-roadmap ol {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 32px;
    min-width: max-content;
    margin: 0;
    padding: 0 34px 0 24px;
    list-style: none;
}
.deposit-roadmap ol::before {
    position: absolute;
    top: 50px;
    left: 48px;
    right: 58px;
    height: 8px;
    border-radius: 8px;
    background: repeating-linear-gradient(135deg, #30305c 0 8px, #363766 8px 14px);
    box-shadow: 0 0 10px #6267bf36;
    content: "";
}
.deposit-roadmap li { position: relative; display: grid; justify-items: center; align-content: start; row-gap: 3px; width: 48px; min-height: 103px; padding-top: 5px; color: #9997c8; font-size: .75rem; font-weight: 500; white-space: nowrap; }
.roadmap-icon { position: relative; display: grid; place-items: center; width: 45px; height: 50px; }
.roadmap-icon img { z-index: 1; object-fit: contain; }
.roadmap-icon.has-reward::before, .roadmap-icon.has-reward::after {
    position: absolute;
    inset: 1px;
    clip-path: polygon(50% 0, 96% 23%, 96% 77%, 50% 100%, 4% 77%, 4% 23%);
    background: #434479;
    content: "";
}
.roadmap-icon.has-reward::after { inset: 4px; background: #16162e; }
.roadmap-icon.roadmap-prize img { filter: drop-shadow(0 0 5px #fa9c46); }
.deposit-roadmap small { padding: 1px 8px; border: 1px solid #222246; border-radius: 12px; background: #191935; color: #a4a0d9; font-size: .71rem; }

.lobby-feature { display: grid; gap: 16px; }
.lobby-feature-with-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, min(54%, 601px)); }
.lobby-banner {
    position: relative;
    min-width: 0;
    min-height: 346px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
}
.lobby-slide { position: absolute; inset: 0; overflow: hidden; }
.lobby-slide-bg, .lobby-slide-art { position: absolute; pointer-events: none; }
.lobby-slide-bg { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.lobby-slide-art { right: 0; bottom: 0; width: max(47%, 260px); height: 97%; object-fit: contain; object-position: right bottom; }
.lobby-slide::after { position: absolute; inset: 0; background: linear-gradient(90deg, #100e22d9 0%, #100e2299 32%, #100e2215 72%); content: ""; }
.lobby-slide-copy { position: relative; z-index: 1; display: grid; justify-items: start; align-content: start; gap: 9px; max-width: min(77%, 490px); padding: 24px 0 48px 24px; }
.lobby-slide-title { color: var(--fire); font-size: clamp(1.78rem, 2.8vw, 2.67rem); font-weight: 700; letter-spacing: -.026em; line-height: 1.13; white-space: pre-line; }
.lobby-slide-lead { max-width: 27ch; color: var(--ink); font-size: .875rem; line-height: 1.43; }
.lobby-slide-copy .button {
    min-height: 40px;
    margin-top: 13px;
    padding-inline: 14px;
    border-radius: 10px;
    font-size: .84rem;
    font-weight: 600;
    pointer-events: none;
    transition: none;
}
.lobby-slide-controls { display: flex; justify-content: center; width: max-content; margin: 4px auto 0; border-radius: 17px; background: var(--panel); }
.lobby-promotion-with-tiles .lobby-slide-controls { margin-inline-start: 24px; }
.lobby-slide-dot { display: grid; place-items: center; width: 31px; height: 28px; padding: 0; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
.lobby-slide-dot::after { width: 8px; height: 8px; border-radius: 9px; background: var(--nav-text); content: ""; }
.lobby-slide-dot[aria-pressed="true"]::after { width: 20px; background: var(--blue); }

.lobby-tiles, .lobby-tile-stack { display: grid; min-width: 0; gap: 16px; }
.lobby-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lobby-tile-stack { grid-auto-rows: min-content; }
.lobby-tile-stack:only-child { grid-column: 1 / -1; }
.lobby-tile-stack:first-child { grid-template-rows: minmax(126px, auto) minmax(0, 1fr); }
.lobby-tile-stack:last-child { grid-auto-rows: auto; }
.lobby-tile {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 15px 16px;
    min-width: 0;
    border: 1px solid transparent;
    border-radius: 16px;
    background: linear-gradient(var(--control-bg), var(--control-bg)) padding-box, var(--control-border) border-box;
}
.lobby-tile h2 { font-size: .99rem; font-weight: 650; line-height: 1.23; }
.lobby-tile p, .lobby-tile dl { font-size: .75rem; line-height: 1.4; color: #bcbad6; }
.lobby-tile p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px; }
.lobby-tile dl, .lobby-tile dd { margin: 0; }
.lobby-tile dl { display: grid; gap: 5px; }
.lobby-tile dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; }
.lobby-tile strong, .lobby-tile dd { color: var(--fire); font-weight: 700; }
.lobby-tile-action { display: grid; place-items: center; min-height: 40px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--control-hover); color: var(--ink); font-size: .83rem; text-align: center; }
.lobby-top-link:hover .lobby-tile-action { border-color: #3a3964; }
.lobby-cashback { display: grid; justify-items: center; padding: 7px 4px 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--control-bg); }
.lobby-cashback span { color: #c3c0d9; font-size: .75rem; }
.lobby-cashback strong { font-size: 1.4rem; line-height: 1.25; }
.fire-level, .fire-icons { display: flex; align-items: center; gap: 5px; }
.fire-level { justify-content: space-between; margin-top: 2px; padding-top: 8px; border-top: 1px solid #252547; color: #e0dff1; font-size: .81rem; font-weight: 650; }
.fire-icons .lobby-icon { color: #f47b28; width: 16px; height: 16px; }
.lobby-tile-link { display: flex; align-items: center; gap: 13px; min-height: 66px; padding-block: 11px; font-size: 1rem; }
.lobby-tile-link .lobby-icon { color: var(--fire); }
.lobby-tile-link .lobby-icon:first-child { width: 25px; height: 25px; }
.lobby-tile-link .lobby-icon:last-child { margin-left: auto; width: 15px; height: 15px; }

.home .slot-showcase { display: grid; gap: 12px; padding-block: 0 24px; container: slot-showcase / inline-size; }
.slot-filters { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(144px, 200px); gap: 12px; }
.slot-filters :is(input, select) { min-height: 48px; border: 1px solid transparent; border-radius: 15px; background: var(--control-bg); color: var(--control-text); }
.slot-filters input:not(:placeholder-shown) { color: var(--ink); }
.slot-filters :is(input, select):hover { background: var(--control-hover); }
.slot-filters input::placeholder { color: var(--control-text); }
.lobby-search { position: relative; }
.lobby-search .lobby-icon { position: absolute; top: 50%; right: 12px; color: var(--control-text); translate: 0 -50%; pointer-events: none; }
.lobby-search input { padding-inline-end: 36px; }
.slot-categories { grid-column: 1 / -1; display: grid; gap: 12px; min-width: 0; }
.slot-section-filters, .slot-tag-filters { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.slot-categories :is(button, a) { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; min-height: 43px; padding: 6px 14px; border: 1px solid transparent; border-radius: 16px; background: var(--control-hover); color: var(--nav-text); font-size: .875rem; cursor: pointer; white-space: nowrap; }
.slot-categories :is(button, a):hover, .slot-categories button[aria-pressed="true"] { border-color: var(--blue); background: var(--control-hover); color: var(--ink); }
.slot-tag-filters :is(button, a) { min-height: 36px; padding: 3px 8px; border: 0; background: transparent; color: var(--nav-text); font-weight: 650; }
.slot-tag-filters :is(button, a):hover, .slot-tag-filters button[aria-pressed="true"] { background: transparent; color: var(--blue-text); }
.slot-tag-filters .lobby-icon { width: 17px; height: 17px; }

.slot-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@container slot-showcase (min-width: 520px) {
    .slot-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container slot-showcase (min-width: 810px) {
    .slot-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@container slot-showcase (min-width: 1530px) {
    .slot-list { grid-template-columns: repeat(9, minmax(0, 1fr)); }
}
.slot-list li { border-radius: 15px; background: var(--panel); }
.slot-list li:hover, .slot-list li:focus-within { background: var(--control-bg); }
.slot-list picture { display: block; }
.slot-list img { border-radius: 15px; background: var(--control-hover); }
.slot-caption { justify-content: start; gap: 2px; min-height: 56px; padding: 8px 12px 9px; }
.slot-caption strong, .slot-caption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.slot-caption strong { font-size: .875rem; font-weight: 600; }
.slot-caption span { color: var(--control-text); }
.slot-tag { position: absolute; top: 8px; left: 8px; padding: 2px 7px; border-radius: 9px; background: #0669ba; color: var(--ink); font-size: .69rem; font-weight: 650; pointer-events: none; }
.slot-tag[data-tag="Горячие"] { background: #b4380b; }
.slot-guide-trigger {
    position: absolute;
    inset: 0 0 56px;
    display: grid;
    justify-content: center;
    align-content: center;
    justify-items: center;
    gap: 8px;
    margin: 0;
    border-radius: 15px;
    font-size: .81rem;
    color: #fff;
    background: #0b0a1bb8;
    opacity: 0;
}
.slot-guide-trigger::after { content: none; }
.slot-guide-trigger:hover, .slot-guide-trigger:focus-visible { opacity: 1; background: #0b0a1bb8; }
.slot-guide-trigger span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #110916; }
.slot-guide-trigger .lobby-icon { width: 19px; height: 19px; }
.lobby-support { position: fixed; right: 24px; bottom: 24px; z-index: 8; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--orange); color: var(--ink); box-shadow: 0 8px 24px #ee75224d; }
.lobby-support:hover { background: #fb8632; }
.lobby-support .lobby-icon { width: 27px; height: 27px; }

.project-overview { margin: clamp(24px, 4vw, 48px) auto 0; }
.project-overview h1 { color: var(--ink); font-size: clamp(1.85rem, 5vw, 3.2rem); font-weight: 760; line-height: 1.09; }
.project-overview > p { max-width: 66ch; margin: 12px 0 19px; color: var(--dim); line-height: 1.57; }
.project-overview > .site-disclosure { font-size: .83rem; }
.overview-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.overview-table caption { padding: 0 0 10px; color: var(--ink); text-align: left; font-size: 1.11rem; font-weight: 700; }
.overview-table :is(th, td) { padding: 11px 13px; overflow-wrap: anywhere; }
.overview-table thead th:first-child { width: 28%; }
.overview-table thead th, .overview-table .overview-group th { background: var(--control-hover); }
.overview-table .overview-group th { color: #bcb9ec; }
.overview-table tbody a { display: block; width: fit-content; margin-top: 3px; color: #82bfff; }
.overview-table tbody a:hover { text-decoration: underline; }

@media (min-width: 1041px) {
    .home .header-actions .menu { display: none; }
}
@media (max-width: 1230px) {
    .lobby-feature-with-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 49%); }
    .lobby-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .lobby-tile { padding-inline: 9px; }
    .lobby-tile-stack { gap: 9px; }
}
@media (max-width: 1040px) {
    .site-layout, .sidebar-collapsed .site-layout { display: block; }
    .sidebar-toggle { display: none; }
    .header-catalog { margin-inline-start: 12px; }
}
@media (max-width: 850px) {
    :root { --header-height: 72px; }
    .site-header .container, .site-layout { width: calc(100% - 32px); }
    .header-brandline, .header-actions { gap: 8px; }
    .home .header-brandline .brand-mark { width: 48px; height: 48px; padding: 5px; }
    .home .header-brandline .brand-wordmark, .header-catalog { display: none; }
    .home .header-actions .menu { position: fixed; left: 0; right: 0; top: var(--header-height); }
    .home .header-actions .menu summary { display: none; }
    .home .header-actions .menu nav { top: 0; inset-inline: 16px; width: auto; max-height: calc(100dvh - 88px); }
    .lobby-promotion { margin-bottom: 12px; }
    .deposit-roadmap { margin-bottom: 0; }
    .deposit-roadmap ol { gap: 72px; }
    .lobby-with-roadmap .lobby-feature { display: none; }
    .lobby-with-roadmap .lobby-slide-controls { display: none; }
    .lobby-feature-with-tiles { grid-template-columns: minmax(0, 1fr); }
    .lobby-banner { min-height: 260px; }
    .lobby-slide-copy { padding: 19px 0 16px 15px; }
    .lobby-tiles { gap: 8px; }
    .lobby-support { display: none; }
    .slot-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .slot-caption { padding-inline: 11px; }
    .overview-table thead th:first-child { width: 31%; }
    .overview-table :is(th, td) { padding: 8px 7px; }
    .home .mobile-action {
        position: fixed;
        z-index: 12;
        display: flex;
        inset-inline: 0;
        bottom: 0;
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 4px 13px max(5px, env(safe-area-inset-bottom));
        border: 0;
        border-top: 1px solid var(--line);
        border-radius: 0;
        background: var(--panel);
        color: var(--control-text);
    }
    .home .mobile-section { display: grid; justify-content: center; justify-items: center; gap: 4px; min-height: 45px; padding: 3px 6px; border: 0; background: none; color: inherit; font-size: .72rem; }
    .mobile-section .lobby-icon { width: 19px; height: 19px; }
    .home .mobile-action .button { min-height: 43px; font-weight: 550; }
}
@media (hover: none) and (pointer: coarse) {
    .slot-guide-trigger {
        inset: auto 6px 62px auto;
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        border-radius: 50%;
        background: #0b0a1bd9;
        font-size: 0;
        gap: 0;
        opacity: 1;
    }
    .slot-guide-trigger span { width: 32px; height: 32px; }
}
@media (max-width: 550px) {
    .slot-tag-filters { gap: 3px; }
    .slot-tag-filters :is(button, a) { gap: 4px; padding-inline: 6px; font-size: .79rem; }
    .slot-tag-filters .lobby-icon { width: 15px; height: 15px; }
    .slot-caption { min-height: 56px; }
    .overview-table thead th:first-child { width: 34%; }
    .overview-table { font-size: .86rem; }
}
@media (max-width: 345px) {
    .header-login { min-width: 65px; }
    .header-register { min-width: 115px; }
}
