:root {
  color-scheme: dark;
  --bg: #0c111c;
  --nav: #101521;
  --panel: #171f31;
  --panel-hi: #1e2c45;
  --text: #f4f7ff;
  --secondary: #b7c5da;
  --line: #293a56;
  --blue: #89d3ff;
  --action: #287bff;
  --radius: 18px;
  --width: 1320px;
  --nav-offset: 133px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--nav-offset); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 48% 0, #162845 0%, transparent 660px), var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: white; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(calc(100% - 40px), var(--width)); margin-inline: auto; }
.skip { position: fixed; top: -6rem; left: 12px; z-index: 20; background: var(--panel); padding: 8px 14px; }
.skip:focus { top: 12px; }
.site-top { position: sticky; top: 0; z-index: 8; background: #101622; border-bottom: 1px solid #293851; }
.top { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; width: max-content; flex-shrink: 0; }
.wordmark span { color: #a9cfff; font-weight: 750; font-size: .73rem; background: #1a2942; padding: 2px 8px; border-radius: 6px; }
.top-actions { display: flex; align-items: center; gap: 9px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 17px; border-radius: 12px;
  border: 1px solid transparent; font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap;
}
.button.primary { background: linear-gradient(180deg, #1575d3, #164cc4); border-color: #4aa2ff; color: white; box-shadow: 0 4px 18px #1476ff3b, inset 0 1px #ffffff37; }
.button.primary:hover { background: linear-gradient(180deg, #237ad2, #2057d2); }
.button.ghost { background: #1b263b; border-color: #334764; color: var(--text); }
.button.ghost:hover { background: var(--panel-hi); }
.nav-bar { display: flex; align-items: center; gap: 14px; padding-block: 0 10px; }
.nav-control { gap: 9px; }
.search-toggle { margin-left: auto; }
.search-icon { position: relative; width: 14px; height: 14px; border: 2px solid var(--blue); border-radius: 50%; margin: -2px 3px 0 0; }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; background: var(--blue); border-radius: 2px; transform: rotate(45deg); left: 9px; top: 10px; }
.menu-icon { width: 15px; height: 13px; border-block: 2px solid var(--blue); background: linear-gradient(var(--blue), var(--blue)) center / 100% 2px no-repeat; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.site-nav a { color: var(--secondary); padding: 7px 12px; border-radius: 9px; text-decoration: none; font-size: .9rem; font-weight: 700; }
.site-nav a[data-current], .site-nav a:hover { color: white; background: #233b65; }
main { padding-bottom: 54px; }
h1, h2, h3 { line-height: 1.17; text-wrap: balance; letter-spacing: -.025em; margin: 0 0 14px; }
h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 22ch; }
h2 { font-size: clamp(1.4rem, 2.3vw, 2.1rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1.1em; }
.lead { color: var(--secondary); font-size: clamp(1.03rem, 1.5vw, 1.22rem); max-width: 64ch; }
.eyebrow, figcaption, .date, .crumb { color: var(--secondary); font-size: .86rem; }
.hero {
  position: relative; display: flex; align-items: center;
  min-height: clamp(390px, 32vw, 454px); margin: 22px 0 15px;
  isolation: isolate; overflow: hidden; padding: clamp(28px, 5vw, 68px);
  border: 1px solid #305c87; border-radius: 24px; background: #122447;
  box-shadow: 0 20px 65px #040a1f99, inset 0 1px #ffffff24;
}
.hero-scene, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scene { object-fit: cover; object-position: center; z-index: -3; }
.hero::after { content: ""; z-index: -2; background: linear-gradient(90deg, #080f20f5 0%, #0b193ada 34%, #112e5573 64%, #1125480a 100%); }
.hero-copy { max-width: min(58%, 610px); z-index: 1; }
.hero .eyebrow { font-weight: 750; color: #addefe; margin-bottom: .72em; }
.hero h1 { font-size: clamp(2.35rem, 6vw, 5rem); font-weight: 850; letter-spacing: -.055em; max-width: none; line-height: .99; text-wrap: wrap; margin-bottom: 20px; }
.hero-name { display: block; text-shadow: 0 3px 16px #2b7ebf55; }
.hero-russian { display: block; margin-top: 8px; font-size: .45em; line-height: 1.15; color: #8cd4ff; letter-spacing: -.02em; }
.hero .lead { color: #edf5ff; margin-bottom: 20px; }
.hero .ghost { background: #132449d9; }
.hero-art { position: absolute; bottom: -13%; right: 5.2%; height: 111%; width: 38%; max-width: 430px; object-fit: contain; object-position: center bottom; z-index: -1; filter: drop-shadow(0 17px 23px #07132473); }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-grid, .more-links, .gallery { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick-grid a, .more-links a {
  display: block; padding: 18px 21px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); text-decoration: none;
}
.quick-grid a:hover, .more-links a:hover { border-color: var(--blue); background: var(--panel-hi); }
.quick-grid strong { display: block; color: var(--text); margin-bottom: 5px; }
.quick-grid span { display: block; color: var(--secondary); font-size: .92rem; }
.section-switcher { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section-switcher a { background: linear-gradient(120deg, #1e3254, #171f31 72%); border-color: #304464; }
.section-switcher a:nth-child(2) { background: linear-gradient(120deg, #362846, #171f31 72%); }
.section-switcher a:nth-child(3) { background: linear-gradient(120deg, #26395c, #171f31 72%); }
.home-section { margin-top: clamp(32px, 5vw, 58px); }
.home-section p { max-width: 72ch; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.slot-rail { display: grid; grid-template-columns: repeat(7, minmax(132px, 1fr)); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; padding: 4px 4px 10px; margin: 0 -4px; }
.slot-tile { display: grid; grid-template-rows: auto 1fr; gap: 0; border-radius: 15px; overflow: hidden; border: 1px solid #344561; background: var(--panel); text-decoration: none; scroll-snap-align: start; }
.slot-tile img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: top; background: #121924; }
.slot-tile span { color: var(--text); padding: 11px 10px; font-weight: 750; font-size: .9rem; line-height: 1.25; overflow-wrap: anywhere; }
.slot-tile:hover { border-color: var(--blue); }
.home-section .catalog-evidence { margin-top: 15px; }
.home-evidence { display: grid; grid-template-columns: 1.28fr .72fr; gap: 17px; align-items: start; }
.home-evidence > div { min-width: 0; }
.home-evidence .quick-grid { grid-template-columns: 1fr; gap: 9px; }
.home-evidence .quick-grid a { padding-block: 12px; }
.home-evidence .screen { padding: 9px 9px 0; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.home-evidence .screen img { width: 100%; }
.article-head { padding: clamp(21px, 4vw, 39px); margin: 23px 0 23px; background: radial-gradient(ellipse at 100% 0, #254472 0%, transparent 64%), #161f33; border: 1px solid #334466; border-radius: 20px; }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.crumb a { text-decoration: none; }
.crumb [aria-current="page"] { color: var(--secondary); }
.article-head h1 { max-width: 27ch; font-weight: 820; }
.article-head .date { margin: 0; }
.article-head .lead-detail { color: var(--secondary); margin: 12px 0 0; max-width: 68ch; }
.article-grid { display: grid; grid-template-columns: minmax(0, 790px) minmax(190px, 1fr); gap: clamp(22px, 4vw, 52px); align-items: start; }
.article-copy { min-width: 0; max-width: 790px; }
.article-copy section { margin: 0 0 34px; }
.article-copy p, .article-copy li { max-width: 77ch; }
.article-copy ol, .article-copy ul { padding-left: 23px; margin: 0 0 1.2em; }
.article-copy li + li { margin-top: 8px; }
.article-copy strong { color: var(--text); }
.toc { grid-column: 2; grid-row: 1; position: sticky; top: var(--nav-offset); background: var(--panel); border: 1px solid var(--line); border-left: 3px solid #368cff; border-radius: var(--radius); padding: 8px 17px; }
.toc summary, .section-directory summary { cursor: pointer; font-weight: 750; }
.toc summary { padding-block: 7px; }
.toc a { display: block; padding-block: 5px; text-decoration: none; line-height: 1.35; }
.bottom-links { padding: 23px 0 0; border-top: 1px solid var(--line); }
.bottom-links .more-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.callout { padding: 15px 19px; background: #15263a; border: 1px solid #355773; border-radius: 12px; }
.callout p:last-child { margin-bottom: 0; }
.quick-answer { background: #172741; border: 1px solid #35527a; border-left: 3px solid #368cff; border-radius: 14px; padding: 16px 19px; }
.quick-answer h2 { font-size: clamp(1.22rem, 2vw, 1.52rem); }
.quick-answer ol:last-child, .quick-answer p:last-child { margin-bottom: 0; }
.field-shots { display: grid; gap: 11px; margin-bottom: 18px; }
.field-shots figure { margin: 0; }
.screen--detail figcaption { font-size: .84rem; }
.source-links { font-size: .9rem; color: var(--secondary); padding-top: 12px; }
.source-links a { display: inline-block; margin: 0 10px 6px 0; }
figure { margin: 0 0 22px; }
.screen img { width: auto; max-width: 100%; max-height: 620px; border: 1px solid var(--line); border-radius: 13px; object-fit: contain; background: #0e1420; }
.screen-open { display: block; width: fit-content; max-width: 100%; border-radius: 13px; }
.screen-open:hover img { border-color: var(--blue); }
.screen.wide .screen-open { width: 100%; }
.screen.wide img { width: 100%; }
.screen figcaption { margin-top: 8px; }
.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rules-gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 22px; }
.rules-gallery figure { margin: 0; padding: 9px; border-radius: 13px; border: 1px solid var(--line); background: var(--panel); }
.rules-gallery .screen-open, .rules-gallery img { width: 100%; }
.rules-gallery figcaption, .home-evidence figcaption { padding-inline: 5px; padding-bottom: 9px; }
.rules-gallery .screen-open { position: relative; }
.rules-gallery .screen-open::after { content: "+"; position: absolute; right: 7px; bottom: 7px; font-weight: 700; display: grid; place-items: center; width: 26px; height: 26px; background: #0c172be8; color: white; border: 1px solid #5f92c0; border-radius: 8px; }
#wiki-image { width: fit-content; max-width: calc(100% - 20px); max-height: calc(100% - 20px); padding: 12px; background: var(--nav); color: var(--text); border: 1px solid var(--line); border-radius: 16px; }
#wiki-image::backdrop { background: rgba(4, 8, 16, .88); }
#wiki-image figure { margin: 9px 0 0; }
#wiki-image-view { display: block; margin-inline: auto; max-width: 100%; max-height: 77dvh; object-fit: contain; border-radius: 8px; }
#wiki-image-caption { margin-top: 8px; }
.image-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.image-toolbar .button { min-width: 40px; padding: 4px; font-size: 1.3rem; }
.game-shot img { width: 185px; }
.table-wrap { overflow-x: auto; margin-bottom: 1.25em; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; text-align: left; background: var(--panel); }
caption { padding: 12px 13px; text-align: left; color: var(--text); background: #152238; font-weight: 750; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 13px; vertical-align: top; }
th { font-weight: 700; background: var(--panel-hi); }
tbody tr:last-child td { border-bottom: 0; }
.promo-code { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.promo-code code { font-size: 1.2rem; padding: 4px 12px; border: 1px dashed var(--blue); color: var(--text); border-radius: 8px; letter-spacing: .06em; }
.promo-actions [role="status"]:empty, .copy-example [role="status"]:empty { position: absolute; }
.promo-actions [role="status"], .copy-example [role="status"] { color: var(--secondary); font-size: .88rem; }
.promo-actions [role="status"] { flex-basis: 100%; }
.copy-example [role="status"] { margin-inline-start: 10px; }
.site-footer { color: var(--secondary); background: var(--nav); border-top: 1px solid var(--line); padding: 32px 0 88px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.footer-grid p { max-width: 66ch; margin-top: 8px; }
.footer-grid nav { display: grid; align-content: start; gap: 5px; }
.navigation-dialog { width: min(590px, calc(100% - 24px)); max-height: min(86dvh, 760px); overflow-y: auto; overscroll-behavior: contain; background: var(--nav); color: var(--text); border: 1px solid #3a5273; border-radius: 18px; padding: 0 clamp(12px, 3vw, 23px) 18px; }
#wiki-sections { width: min(940px, calc(100% - 24px)); }
.navigation-dialog::backdrop { background: #040810d9; }
body:has(.navigation-dialog[open]) { overflow: hidden; }
.navigation-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 12px; position: sticky; top: 0; z-index: 1; background: var(--nav); }
.navigation-heading h2 { margin: 0; }
.navigation-heading .button { min-width: 44px; padding-inline: 8px; font-size: 1.35rem; }
.navigation-dialog > .button { margin-top: 14px; }
.section-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 10px; }
@media (min-width: 760px) {
  .section-directory { grid-template-areas: "payments bonuses games" "payments account games" "payments help games"; }
  .section-directory [data-section="payments"] { grid-area: payments; }
  .section-directory [data-section="bonuses"] { grid-area: bonuses; }
  .section-directory [data-section="games"] { grid-area: games; }
  .section-directory [data-section="account"] { grid-area: account; }
  .section-directory [data-section="help"] { grid-area: help; }
}
.section-directory details { min-width: 0; background: #172235; border: 1px solid var(--line); border-radius: 12px; }
.section-directory details[data-current] { border-color: #4a82bf; }
.section-directory summary { padding: 10px 12px; }
.section-directory summary::marker { color: var(--blue); }
.section-directory ul { margin: 0; list-style: none; padding: 0 6px 6px; }
.section-directory a, .search-results a { display: block; padding: 8px 10px; border-radius: 7px; text-decoration: none; line-height: 1.35; overflow-wrap: anywhere; }
.section-directory a:hover, .search-results a:hover, .section-directory [aria-current="page"] { background: #28436b; color: white; }
#wiki-query { display: block; width: 100%; margin-bottom: 12px; padding: 11px 12px; border: 1px solid #4c6890; border-radius: 10px; background: var(--bg); color: var(--text); }
.search-results nav { display: grid; gap: 4px; }
.search-results a { background: #172235; }
#search-empty { margin-block: 12px; color: var(--secondary); }
#floating-cta { background: #14243a; color: var(--text); }
@media (max-width: 759px) {
  :root { --nav-offset: 122px; }
  .navigation-ready .site-nav { display: none; }
  .navigation-ready .nav-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .nav-control { width: 100%; }
  .section-directory { grid-template-columns: 1fr; gap: 7px; }
  .section-directory a { padding-block: 10px; }
  html:not(.navigation-ready) { --nav-offset: 163px; }
}
@media (max-width: 840px) {
  .article-grid { display: flex; flex-direction: column; gap: 22px; }
  .article-copy { width: 100%; }
  .toc { width: 100%; position: static; }
  .hero-copy { max-width: 65%; }
  .hero-art { right: -1%; width: 43%; }
  .home-evidence { grid-template-columns: 1fr; }
  .home-evidence .screen img { max-height: 360px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 26px); }
  .top { min-height: 62px; gap: 6px; }
  .wordmark img { width: clamp(76px, 22vw, 110px); }
  .wordmark { gap: 5px; }
  .wordmark span { padding: 1px 4px; font-size: .64rem; }
  .top-actions { gap: 4px; }
  .top-actions .button { min-height: 39px; padding-inline: 7px; font-size: .74rem; }
  .site-nav { gap: 5px; }
  .site-nav a { font-size: .8rem; padding-inline: 9px; }
  .hero { align-items: flex-start; min-height: 392px; margin-top: 13px; padding: 23px 17px 146px; border-radius: 19px; }
  .hero::after { background: linear-gradient(180deg, #0c1833ee 0%, #0c1833e6 39%, #0c183394 64%, #10234713 100%); }
  .hero-scene { object-position: 66% 50%; }
  .hero-copy { max-width: 100%; }
  .hero-art { bottom: -10%; right: -1%; height: 57%; width: 70%; max-width: 215px; }
  .hero .eyebrow { font-size: .76rem; }
  .hero .lead { max-width: 38ch; font-size: .94rem; margin-bottom: 14px; }
  .hero h1 { margin-bottom: 14px; }
  .hero .button-row { gap: 7px; }
  .hero .button { min-height: 39px; font-size: .8rem; padding-inline: 10px; }
  .quick-grid, .more-links, .footer-grid, .bottom-links .more-links, .rules-gallery { grid-template-columns: 1fr; }
  .section-switcher { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .section-switcher a { padding: 10px; border-radius: 11px; }
  .section-switcher strong { margin: 0; font-size: .86rem; }
  .section-switcher span { font-size: .77rem; line-height: 1.3; margin-top: 3px; }
  .slot-rail { grid-template-columns: repeat(7, minmax(115px, 40%)); gap: 9px; }
  .gallery { gap: 10px; }
  .article-head { margin-top: 14px; }
  .article-head--practical h1 { font-size: clamp(1.65rem, 7vw, 2rem); }
  .article-head--practical .lead { font-size: 1rem; }
  .promo-actions { gap: 7px; }
  .promo-actions .button { padding-inline: 10px; }
  .section-heading { align-items: flex-start; }
  .section-heading > a { text-align: right; font-size: .85rem; }
}
@media (max-width: 365px) {
  .site-top .wordmark span { display: none; }
}
