/* Xwin design 1.1.0 — original owner-supplied imagery, no external UI dependencies. */
:root {
    color-scheme: dark;
    --bg: #0a0b0e;
    --panel: #111217;
    --raised: #191a22;
    --line: #daae4538;
    --gold: #fde48a;
    --gold-dark: #d6aa41;
    --text: #f3f3f4;
    --muted: #a3a3ab;
    --side: 230px;
    --header: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #84c7ff; outline-offset: 3px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.skip { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px; background: var(--gold); color: #111; }
.skip:focus { top: 8px; }
.icon { width: 22px; height: 22px; flex: 0 0 22px; }
.category-icon { display: block; width: 25px; height: 25px; flex: 0 0 25px; object-fit: contain; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--gold);
    color: #211b0e;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transition: background .16s, border-color .16s;
}
.button:hover { background: #fff0b9; }
.button > span { font-size: 18px; line-height: 1; }
.button-outline { background: transparent; border-color: #796131; color: var(--gold); }
.button-outline:hover { background: #fde48a14; border-color: var(--gold-dark); }
.button.compact { min-height: 36px; padding: 8px 18px; font-size: 13px; }
.button.compact > span { display: none; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--gold); font-size: 14px; font-weight: 700; }
.text-link:hover { text-decoration: underline; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
h1 { font-size: clamp(30px,3vw,46px); line-height: 1.15; letter-spacing: -.8px; font-weight: 800; }
h2 { font-size: clamp(23px,2vw,29px); line-height: 1.3; letter-spacing: -.45px; }
h3 { font-size: 16px; line-height: 1.35; }
.eyebrow { display: block; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 1.3px; margin-bottom: 15px; }
.brand-image { display: block; width: 154px; height: auto; aspect-ratio: 5 / 2; object-fit: contain; }

/* One top bar, with the logo aligned to the original left-hand rail. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    height: var(--header);
    background: #0a0b0ef5;
}
.site-header .logo {
    width: var(--side);
    height: 100%;
    flex: 0 0 var(--side);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
}
.header-inner { display: flex; align-items: center; flex: 1; min-width: 0; padding: 0 16px; gap: 16px; }
.top-shortcuts {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    padding: 8px 6px;
    border: 1px solid #25262d;
    border-radius: 10px;
    background: #141519;
}
.top-shortcuts a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; font-size: 13px; line-height: 1.3; color: #c5c5cc; white-space: nowrap; }
.top-shortcuts a + a { border-left: 1px solid #29292f; }
.top-shortcuts a:hover { color: var(--gold); }
.top-shortcuts .icon { width: 17px; height: 17px; flex-basis: 17px; color: #b9ad89; }
.header-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.header-telegram { display: grid; place-items: center; width: 36px; height: 36px; color: #71c9fa; }
.menu-button { display: none; place-items: center; width: 38px; height: 38px; padding: 7px; background: #191a22; border: 1px solid #333039; border-radius: 7px; }
.sidebar {
    position: fixed;
    top: var(--header);
    bottom: 0;
    left: 0;
    width: var(--side);
    display: flex;
    flex-direction: column;
    background: var(--panel);
    padding: 9px 12px 18px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #423a2b transparent;
    z-index: 25;
}
.mode-switch { display: flex; height: 37px; padding: 3px; border-radius: 10px; background: #daae4514; margin-bottom: 16px; font-size: 14px; line-height: 1.2; font-weight: 700; }
.mode-switch a { display: grid; place-items: center; flex: 1; border-radius: 8px; color: #c9c9cf; }
.mode-switch a.selected { color: #17130a; background: var(--gold); }
.side-nav { display: flex; flex-direction: column; gap: 7px; }
.side-nav a { position: relative; display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 5px 9px; border: 1px solid transparent; border-radius: 5px; color: #a0a0aa; font-size: 13px; line-height: 1.25; }
.side-nav a > .icon { width: 19px; height: 19px; flex-basis: 19px; }
.side-nav .category-icon { width: 23px; height: 23px; flex-basis: 23px; filter: grayscale(1); opacity: .7; }
.side-nav a:hover { color: #e2d7b9; background: #daae450d; }
.side-nav a.active { background: #daae451a; border-color: #d6aa4180; color: #f3d36b; }
.side-nav a.active::before { content: ''; position: absolute; width: 2px; height: 16px; border-radius: 2px; background: var(--gold-dark); left: -1px; top: 50%; transform: translateY(-50%); }
.side-nav a.active .category-icon, .side-nav a:hover .category-icon { filter: none; opacity: 1; }
.side-nav a.nav-divider { margin-top: 18px; }
.side-nav a.nav-divider::after { content: ''; position: absolute; top: -13px; left: 0; right: 30px; height: 1px; background: #daae4547; }
.sidebar-bottom { display: grid; gap: 12px; margin-top: auto; padding: 32px 10px 0; }
.sidebar-bottom .button { min-height: 42px; font-size: 13px; padding: 10px; border-radius: 11px; }
.sidebar-language { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #d5d4cf; }
.ru-flag { display: inline-block; width: 23px; height: 23px; border-radius: 50%; background: linear-gradient(#fff 0 33%,#2365bf 33% 66%,#d32235 66%); }
.sidebar-language .age { margin-left: auto; color: #9c9684; font-size: 14px; }
.responsible-link { font-size: 10px; color: #96929b; text-align: center; }
.responsible-link:hover { color: var(--gold); }
.site-main { margin-left: var(--side); min-width: 0; }
.container { width: 100%; max-width: 1650px; margin-inline: auto; padding: 12px 16px 0; }
.interior .container { max-width: 1180px; padding-top: 26px; }

/* Source proportions: a two-to-one main banner with two stacked offers. */
.hero-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 10px; align-items: stretch; }
.hero-main { width: 100%; max-width: 100%; position: relative; overflow: hidden; isolation: isolate; min-width: 0; min-height: 344px; aspect-ratio: 2 / 1; border: 1px solid #ffffff26; border-radius: 28px; background: #151315; }
.hero-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.hero-main::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0a090b78 0%,#0a090b2e 47%,transparent 69%); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 100%; width: 62%; padding: 28px 32px; }
.hero-badge { display: inline-block; color: #ddd2b3; background: #0b0b0fb3; border: 1px solid #92712170; padding: 4px 12px; border-radius: 30px; font-size: 10px; line-height: 1.4; font-weight: 700; letter-spacing: 1px; }
.hero-copy h1 { margin: 21px 0 19px; font-size: clamp(30px,2.65vw,46px); line-height: 1.08; letter-spacing: -.7px; }
.hero-copy h1 span { display: block; color: var(--gold); font-size: .58em; letter-spacing: 0; margin-top: 7px; }
.welcome-line { display: flex; flex-direction: column; gap: 9px; }
.welcome-line strong { font-size: clamp(43px,4.4vw,66px); color: var(--gold); line-height: .96; letter-spacing: -1px; }
.welcome-line > span { font-size: 12px; line-height: 1.55; color: #e3d5bb; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 22px; }
.hero-actions .button { font-size: 13px; min-height: 40px; padding: 9px 19px; }
.hero-details { color: #e7dbc2; font-size: 11px; white-space: nowrap; }
.hero-details:hover { color: #fff; text-decoration: underline; }
.hero-details span { padding-left: 4px; }
.hero-aside { display: grid; grid-template-rows: minmax(0,1fr) minmax(0,1fr); gap: 10px; min-width: 0; }
.small-banner { position: relative; display: block; overflow: hidden; isolation: isolate; border: 1px solid #ffffff26; border-radius: 12px; min-width: 0; background: #101115; }
.small-banner > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.small-banner:hover { border-color: #d6aa4180; }
.cashback-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#11111455,transparent 78%); }
.small-copy { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; height: 100%; padding: 24px 20px 18px; width: 72%; gap: 16px; }
.small-copy strong { font-size: clamp(18px,1.45vw,25px); font-weight: 700; line-height: 1.3; }
.banner-action { display: inline-block; font-size: 12px; line-height: 1.2; padding: 9px 14px; border-radius: 7px; color: #211b0e; background: var(--gold); font-weight: 700; }
.telegram-banner > img { object-fit: cover; object-position: center; }
.telegram-mobile-copy { display: none; }
.telegram-handle { position: absolute; left: 5%; bottom: 8%; padding: 3px 9px; border: 1px solid #8a713966; border-radius: 6px; background: #101013cc; color: #f8e5a2; font-size: 11px; font-weight: 700; line-height: 1.5; }
.hero-context { color: #adaab3; font-size: 12px; line-height: 1.5; margin: 14px 2px 13px; max-width: 1150px; }

/* Compact original-style category bar; all controls perform real filtering. */
.catalog-section { margin-top: 0; margin-bottom: 32px; scroll-margin-top: 90px; }
.catalog-controls { display: grid; grid-template-columns: minmax(420px,1.75fr) minmax(130px,.65fr) minmax(165px,.72fr); gap: 10px; align-items: center; }
.category-tabs { display: flex; align-items: center; min-width: 0; padding: 3px; border: 1px solid #25242b; border-radius: 12px; background: #111217; }
.category-tabs a { display: flex; align-items: center; justify-content: center; gap: 7px; flex: 1; white-space: nowrap; font-size: 12px; font-weight: 700; line-height: 1.25; min-height: 43px; padding: 6px 9px; border: 1px solid transparent; border-radius: 10px; }
.category-tabs a.selected { background: linear-gradient(115deg,#544115,#211d11); border-color: #ad822d; box-shadow: inset 0 0 12px #fde48a0d; color: #ffeab2; }
.category-tabs a:not(.selected):hover { background: #ffffff06; }
.category-tabs .category-icon { width: 24px; height: 24px; flex-basis: 24px; }
.category-tabs .icon { width: 20px; height: 20px; flex-basis: 20px; }
.category-tabs a:not(.selected) .category-icon { filter: grayscale(1); opacity: .75; }
input, select, textarea { background: #191a22; color: #e9e8eb; border: 1px solid #2a2a33; padding: 11px 13px; border-radius: 8px; min-width: 0; max-width: 100%; }
input::placeholder { color: #a1a1aa; }
input:focus, select:focus, textarea:focus { border-color: var(--gold-dark); }
.search-field { display: flex; position: relative; min-width: 0; }
.search-field > .icon { position: absolute; top: 15px; left: 12px; color: #a2a3ad; width: 18px; height: 18px; }
.search-field input { width: 100%; height: 49px; padding-left: 38px; font-size: 13px; border-color: transparent; }
.provider-field { display: flex; align-items: center; position: relative; min-width: 0; }
.provider-field > .category-icon { position: absolute; left: 11px; width: 22px; height: 22px; pointer-events: none; opacity: .75; }
.provider-field select { height: 49px; padding-left: 42px; width: 100%; font-size: 13px; border-color: transparent; }
.category-select select { width: 100%; height: 44px; font-size: 13px; }
.catalog-controls .search-submit { min-height: 44px; font-size: 13px; }
.js-ready .category-select, .js-ready .search-submit { display: none; }
.catalog-meta { display: flex; gap: 10px; justify-content: space-between; align-items: center; min-height: 20px; margin: 8px 1px 15px; font-size: 10px; line-height: 1.5; color: #8d8d98; }
.reset-filter { font-size: 11px; color: #b3af9d; background: transparent; border: 0; padding: 1px; }
.reset-filter:hover { color: var(--gold); }
.game-group { min-width: 0; margin-bottom: 23px; }
.group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.group-heading h2 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 16px; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.group-heading .category-icon { width: 24px; height: 24px; flex-basis: 24px; }
.group-heading .icon { width: 21px; height: 21px; flex-basis: 21px; }
.group-actions { display: flex; align-items: center; gap: 5px; }
.group-actions > a { color: #a7a4ad; font-size: 12px; padding: 5px 9px; }
.group-actions > a:hover { color: var(--gold); }
.round-control { width: 29px; height: 29px; border: 1px solid #22222b; border-radius: 50%; align-items: center; justify-content: center; line-height: 1; font-size: 22px; background: #191a22; color: #d3b570; }
.round-control:disabled { opacity: .32; cursor: default; }
.round-control:not(:disabled):hover { color: #fff; border-color: #917235; }
.games-grid { --columns: 7; display: grid; grid-template-columns: repeat(var(--columns),minmax(0,1fr)); gap: 18px; min-width: 0; }
.game-card { min-width: 0; }
.game-art { aspect-ratio: 300 / 404; display: block; position: relative; overflow: hidden; border-radius: 10px; background: #191a22; }
.game-art img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .2s ease; }
.game-art:hover img { transform: scale(1.025); }
.game-overlay { display: flex; flex-direction: column; position: absolute; inset: 0; align-items: center; justify-content: center; gap: 10px; opacity: 0; background: #080a0dc2; transition: opacity .18s; font-size: 12px; font-weight: 700; }
.game-art:hover .game-overlay, .game-art:focus-visible .game-overlay { opacity: 1; }
.play-circle { width: 45px; height: 45px; border-radius: 50%; background: var(--gold); color: #181510; display: grid; place-items: center; padding-left: 3px; }
.game-card h3 { margin: 7px 0 2px; font-size: 11px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.game-card > p { color: #93909d; font-size: 10px; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.show-more { display: flex; margin: 23px auto 0; min-width: 205px; font-size: 13px; }
.empty-results { padding: 28px 16px; text-align: center; color: #c7c7ce; border: 1px dashed #35343b; border-radius: 10px; }
.js-only { display: none; }
.js-ready .js-only:not([hidden]) { display: inline-flex; }
.js-ready .show-more:not([hidden]) { display: flex; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading h2 { font-size: 23px; margin: 0; }
.section-heading h2::before { content: ''; display: inline-block; width: 3px; height: 17px; margin-right: 10px; background: var(--gold-dark); border-radius: 2px; }
.providers { padding: 22px 0 32px; border-top: 1px solid #29282d; }
.providers-row { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 10px; }
.providers-row img { width: 100%; height: 65px; object-fit: contain; border-radius: 8px; background: #141519; }
.about-intro { padding: 25px 0 0; }
.about-intro h2 { margin-bottom: 12px; }
.about-intro > p { color: var(--muted); margin-bottom: 13px; }
.jump-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--gold); padding: 9px 0 22px; }
.jump-links a { text-decoration: underline; text-decoration-color: #64583c; text-underline-offset: 5px; }
.content-stack { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; width: 100%; }
.content-block { width: 100%; min-width: 0; border: 1px solid #daae4533; border-radius: 12px; padding: 29px 32px; background: #111217; scroll-margin-top: 95px; }
.content-block h2 { max-width: 900px; margin-bottom: 19px; }
.content-block > p { max-width: 91ch; color: #c8c7cf; font-size: 15px; line-height: 1.8; margin-bottom: 16px; overflow-wrap: break-word; }
.content-block > p:last-child { margin-bottom: 0; }
.section-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px 25px; margin-top: 23px; }
.section-actions .button { font-size: 13px; }
.table-box { margin-top: 24px; border: 1px solid #3a393e; border-radius: 10px; overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.6; }
th { background: #2a2821; color: #f1e9cc; font-size: 12px; text-align: left; }
th, td { padding: 14px 17px; border-bottom: 1px solid #323239; vertical-align: top; overflow-wrap: anywhere; }
td { color: #d1cfd7; }
td:first-child { color: #f1efe8; }
tr:last-child td { border-bottom: 0; }
tr:nth-child(even) td { background: #ffffff03; }
.mirror-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 23px; }
.mirror-list a { padding: 13px 16px; background: #1e1f26; border: 1px solid #393940; display: flex; gap: 12px; justify-content: space-between; border-radius: 8px; font-size: 14px; min-width: 0; }
.mirror-list a:hover { border-color: var(--gold-dark); color: var(--gold); }
.mirror-list a > span:first-child { overflow-wrap: anywhere; }
.mirror-list a > span:last-child { color: var(--gold); }
.calc { margin-top: 25px; padding: 20px; background: #101115; border: 1px solid #36333b; border-radius: 10px; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) auto; gap: 16px; align-items: end; }
.calc > div { min-width: 0; }
.calc label { display: block; color: #bebbc6; font-size: 12px; margin-bottom: 6px; }
.calc input, .calc select { width: 100%; height: 46px; font-size: 14px; }
.calc .button { font-size: 13px; }
.calc output { display: block; grid-column: 1/-1; background: #ffe48b09; border-left: 3px solid var(--gold-dark); padding: 13px; color: #f4e1a4; font-size: 14px; }
.calc noscript { grid-column: 1/-1; }
.page-heading { padding: 0 0 30px; }
.breadcrumbs { font-size: 12px; display: flex; gap: 12px; flex-wrap: wrap; color: #aaa6b4; margin: 3px 0 35px; }
.breadcrumbs a { color: #e7d8ad; }
.page-heading h1 { margin: 0 0 21px; }
.page-heading > p { font-size: 17px; max-width: 850px; color: #c8c5cf; line-height: 1.75; margin-bottom: 25px; }
.page-heading .button { font-size: 14px; }

.related-pages { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.related-pages a { padding: 9px 14px; font-size: 13px; background: #1c1d22; border: 1px solid #34333b; border-radius: 7px; }
.related-pages a:hover { border-color: #9a8659; }
.faq-section { margin: 40px 0 0; }
details { border-bottom: 1px solid #302f35; padding: 2px 0; }
summary { padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 22px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--gold); font-size: 22px; }
details[open] summary span { transform: rotate(45deg); }
details p { color: #b7b4c1; font-size: 14px; max-width: 88ch; padding-right: 40px; }
.review { border-left: 3px solid var(--gold); padding: 12px 18px; background: #101115; margin: 18px 0; }
.review footer { color: var(--gold); font-size: 12px; }
.promo-code { padding: 20px; border: 1px dashed var(--gold-dark); border-radius: 12px; margin-top: 22px; }
.promo-code strong { color: var(--gold); font-size: 22px; }
.promo-code .button { margin-right: 12px; }
.site-footer { margin-top: 48px; padding: 28px 0 25px; border-top: 1px solid #333037; }
.footer-top { display: flex; align-items: center; gap: 40px; margin-bottom: 25px; }
.footer-logo { flex: 0 0 102px; }
.footer-nav { display: flex; gap: 11px 23px; flex-wrap: wrap; font-size: 12px; color: #c7c3cc; }
.site-footer p { font-size: 11px; color: #8e8b97; max-width: 110ch; margin-bottom: 10px; line-height: 1.75; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; margin-top: 20px; font-size: 11px; color: #aaa4b0; }
.footer-bottom a { color: var(--gold); }
.mobile-actions { display: none; }
.mobile-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(330px,90vw); background: #111217; z-index: 80; padding: 20px; overflow-y: auto; overscroll-behavior: contain; box-shadow: -20px 0 60px #0007; }
.drawer-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer-bar button { background: transparent; border: 1px solid #45424a; border-radius: 6px; font-size: 27px; width: 38px; height: 38px; line-height: 1; }
.mobile-drawer > .button { width: 100%; margin-top: 15px; }
.drawer-shade { position: fixed; inset: 0; z-index: 70; background: #000a; }
body.menu-open { overflow: hidden; }
.toast { position: fixed; bottom: 94px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #16140e; padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; z-index: 100; }

.footer-logo .brand-image { width: 140px; }
.drawer-bar > a { display: block; }
.drawer-bar .brand-image { width: 122px; }
.mobile-drawer .side-nav a { min-height: 41px; }
.mobile-drawer .side-nav { gap: 5px; }
.mobile-drawer .mode-switch { margin-top: 8px; }
.interior .catalog-controls { grid-template-columns: minmax(360px,1.6fr) minmax(100px,.6fr) minmax(150px,.7fr); }

@media (min-width:1600px) {
    .top-shortcuts a { padding-inline: 24px; }
    .hero-copy { padding: 34px 42px; }
    .hero-copy h1 { margin-top: 25px; }
    .hero-actions { margin-top: 26px; }
    .hero-actions .button { min-height: 46px; padding-inline: 26px; }
    .hero-details { font-size: 12px; }
}
@media (max-width:1279px) {
    :root { --side: 205px; }
    .top-shortcuts a { padding: 8px 12px; }
    .top-shortcuts .icon { display: none; }
    .header-telegram { display: none; }
    .catalog-controls, .interior .catalog-controls { grid-template-columns: minmax(355px,1.6fr) minmax(115px,.6fr) minmax(135px,.7fr); gap: 8px; }
    .category-tabs a { gap: 5px; padding-inline: 7px; font-size: 11px; }
    .category-tabs .category-icon { width: 21px; height: 21px; flex-basis: 21px; }
    .games-grid { --columns: 6; gap: 14px; }
    .hero-main { min-height: 324px; aspect-ratio: auto; }
    .hero-copy { width: 70%; padding: 25px; }
    .hero-copy h1 { font-size: 33px; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
    .small-copy { padding: 18px 15px; width: 79%; gap: 10px; }
    .small-copy strong { font-size: 18px; }
    .banner-action { font-size: 10px; padding: 8px 10px; }
    .providers-row { grid-template-columns: repeat(6,minmax(0,1fr)); }
}
@media (max-width:1023px) {
    :root { --side: 0px; --header: 66px; }
    .sidebar { display: none; }
    .site-header { padding: 0 16px; border-bottom: 1px solid #daae4526; }
    .site-header .logo { flex: 0 0 134px; width: 134px; border: 0; background: transparent; justify-content: flex-start; }
    .site-header .brand-image { width: 128px; }
    .header-inner { padding: 0 0 0 16px; }
    .top-shortcuts { padding-block: 4px; }
    .top-shortcuts a { padding-inline: 11px; }
    .top-shortcuts a:last-child { display: none; }
    .header-actions { gap: 8px; }
    .menu-button { display: grid; }
    .games-grid { --columns: 5; gap: 13px; }
    .hero-main { min-height: 328px; }
    .hero-copy { width: 66%; padding: 27px; }
    .hero-aside { min-width: 0; }
    .catalog-controls, .interior .catalog-controls { grid-template-columns: minmax(350px,1.5fr) minmax(110px,.6fr) minmax(155px,.7fr); }
    .content-block { padding: 25px; }
}
@media (max-width:767px) {
    :root { --header: 62px; }
    body { font-size: 15px; padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
    html { scroll-padding-top: 80px; }
    .site-header { padding-inline: 12px; }
    .site-header .logo { width: 114px; flex-basis: 114px; }
    .site-header .brand-image { width: 110px; }
    .header-inner { padding-left: 8px; }
    .top-shortcuts { display: none; }
    .header-actions { gap: 7px; }
    .header-actions .button { font-size: 12px; padding: 9px 13px; min-height: 38px; }
    .menu-button { width: 36px; height: 38px; }
    .container { padding: 12px 12px 0; }
    .interior .container { padding-top: 20px; }
    .hero-layout { grid-template-columns: minmax(0,1fr); gap: 9px; }
    .hero-main { min-height: 286px; aspect-ratio: 2 / 1; border-radius: 18px; }
    .hero-copy { width: 64%; padding: 23px; }
    .hero-copy h1 { font-size: 34px; margin: 15px 0 15px; }
    .hero-badge { font-size: 9px; padding: 3px 9px; }
    .welcome-line { flex-direction: row; align-items: center; gap: 13px; }
    .welcome-line strong { font-size: 46px; }
    .welcome-line > span { font-size: 11px; }
    .hero-actions { margin-top: 19px; flex-direction: row; align-items: center; gap: 10px 15px; }
    .hero-actions .button { min-height: 38px; padding: 9px 16px; font-size: 12px; }
    .hero-aside { grid-template-rows: auto; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 9px; }
    .small-banner { aspect-ratio: 2 / 1; border-radius: 9px; }
    .small-copy { padding: 13px 12px 11px; gap: 8px; width: 75%; }
    .small-copy strong { font-size: clamp(13px,2.6vw,18px); line-height: 1.2; }
    .banner-action { font-size: 10px; padding: 6px 9px; }
    .telegram-handle { font-size: 10px; padding: 2px 7px; bottom: 8%; }
    .hero-context { margin: 11px 1px; font-size: 11px; line-height: 1.55; }
    .catalog-controls, .interior .catalog-controls { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
    .category-tabs { grid-column: 1 / -1; }
    .category-tabs a { font-size: 12px; padding-inline: 10px; min-height: 42px; }
    .category-tabs .category-icon { width: 22px; height: 22px; flex-basis: 22px; }
    .search-field input, .provider-field select { height: 42px; font-size: 12px; }
    .search-field > .icon { top: 12px; }
    .catalog-meta { margin: 7px 0 12px; }
    .games-grid { --columns: 4; gap: 10px; }
    .group-heading h2 { font-size: 15px; }
    .game-group { margin-bottom: 19px; }
    .group-heading { margin-bottom: 11px; }
    .group-actions { gap: 5px; }
    .round-control { width: 30px; height: 30px; }
    .group-actions a { font-size: 11px; }
    .game-card h3 { font-size: 11px; }
    .game-card > p { font-size: 9px; }
    .providers-row { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
    .providers-row img { height: 48px; }
    .content-block { padding: 23px; border-radius: 10px; scroll-margin-top: 80px; }
    .content-block > p { font-size: 14px; line-height: 1.8; }
    .section-actions { gap: 15px; }
    .section-actions .text-link { font-size: 12px; }
    .calc { grid-template-columns: minmax(0,1fr); padding: 15px; }
    .calc .button, .calc output { grid-column: 1; }
    .page-heading { padding-bottom: 24px; }
    .page-heading h1 { font-size: 32px; }
    .page-heading > p { font-size: 15px; }
    .breadcrumbs { margin-bottom: 26px; }
    .footer-top { align-items: flex-start; flex-direction: column; gap: 18px; }
    .footer-logo { flex-basis: auto; }
    .footer-nav { gap: 12px 17px; }
    .footer-logo .brand-image { width: 125px; }
    .mobile-actions { position: fixed; bottom: 0; left: 0; right: 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #111217f5; border-top: 1px solid #daae4547; display: grid; grid-template-columns: 1fr 1.4fr; gap: 9px; z-index: 50; }
    .mobile-actions .button { font-size: 13px; min-height: 43px; padding: 10px; }
    .section-heading h2 { font-size: 22px; }
}
@media (max-width:539px) {
    .hero-main { min-height: 257px; aspect-ratio: auto; }
    .hero-backdrop { object-position: 78% center; }
    .hero-main::before { background: linear-gradient(90deg,#0a090b9c,#0a090b12 75%); }
    .hero-copy { width: 65%; padding: 19px 17px; }
    .hero-copy h1 { font-size: 29px; margin-top: 14px; margin-bottom: 15px; }
    .hero-copy h1 span { font-size: .59em; }
    .welcome-line { flex-direction: column; align-items: flex-start; gap: 7px; }
    .welcome-line strong { font-size: 44px; }
    .welcome-line > span { font-size: 10px; line-height: 1.5; }
    .hero-actions { margin-top: 15px; gap: 8px; }
    .hero-details { font-size: 10px; }
    .hero-actions .button { min-height: 36px; font-size: 12px; padding: 8px 15px; }
    .small-copy { padding: 10px 9px 9px; width: 82%; }
    .small-copy strong { font-size: 13px; line-height: 1.25; }
    .banner-action { padding: 4px 7px; font-size: 8px; border-radius: 5px; }
    .telegram-banner > img { width: 200%; max-width: none; height: 200%; left: -100%; top: -50%; opacity: .65; }
    .telegram-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0a0b0eed,#0a0b0e90 65%,transparent); }
    .telegram-mobile-copy { display: flex; flex-direction: column; gap: 4px; padding: 10px; }
    .telegram-mobile-copy strong { font-size: 12px; line-height: 1.25; }
    .telegram-mobile-copy > span { font-size: 10px; line-height: 1.25; color: #e4d292; }
    .telegram-handle { font-size: 8px; padding: 1px 5px; border-radius: 4px; bottom: 8%; }
    .category-tabs { padding: 2px; }
    .category-tabs a { font-size: 10px; gap: 5px; min-height: 42px; padding: 5px 6px; }
    .category-tabs .category-icon { width: 20px; height: 20px; flex-basis: 20px; }
    .category-tabs .icon { width: 17px; height: 17px; flex-basis: 17px; }
    .games-grid { --columns: 3; gap: 9px; }
    .game-art { border-radius: 8px; }
    .content-block { padding: 20px 17px; }
    .content-block h2 { font-size: 23px; }
    .section-actions .button { width: 100%; }
    .mirror-list { grid-template-columns: minmax(0,1fr); }
    .table-box { border: 0; border-radius: 0; }
    table, tbody, tr, td { display: block; width: 100%; }
    thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    tr { border: 1px solid #3a3630; border-radius: 8px; overflow: hidden; margin-bottom: 10px; background: #15161a; }
    tr:last-child { margin-bottom: 0; }
    td { display: grid; grid-template-columns: minmax(85px,.8fr) minmax(0,1.2fr); align-items: start; gap: 10px; padding: 10px 12px; font-size: 12px; border-bottom: 1px solid #303038; }
    td::before { content: attr(data-label); color: #a8a3ad; font-size: 11px; }
    td:first-child { background: #26231b; color: #ffedb8; font-weight: 700; }
    tr td:last-child { border-bottom: 0; }
    .page-heading h1 { font-size: 29px; }
    .about-intro h2 { font-size: 26px; }
    .providers-row img { height: 39px; }
}
@media (max-width:359px) {
    .site-header { padding-inline: 9px; }
    .site-header .logo { width: 94px; flex-basis: 94px; }
    .site-header .brand-image { width: 94px; }
    .header-inner { padding-left: 6px; }
    .header-actions { gap: 5px; }
    .header-actions .button { padding-inline: 9px; font-size: 11px; }
    .menu-button { width: 32px; }
    .container { padding-inline: 10px; }
    .hero-copy { padding-left: 14px; width: 68%; }
    .hero-copy h1 { font-size: 26px; }
    .hero-main { min-height: 266px; }
    .hero-badge { font-size: 8px; }
    .small-copy strong { font-size: 11px; }
    .small-copy { gap: 6px; }
    .banner-action { font-size: 8px; padding: 4px 5px; }
    .category-tabs a { font-size: 9px; padding-inline: 4px; gap: 4px; }
    .category-tabs .category-icon { width: 17px; height: 17px; flex-basis: 17px; }
    .category-tabs .icon { width: 16px; height: 16px; flex-basis: 16px; }
    .game-card h3 { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
