:root {
  color-scheme: dark;
  --bg: #000c24;
  --surface: #06162f;
  --surface-2: #0b2041;
  --line: #1b3152;
  --text: #f7f8fc;
  --muted: #b6bfd1;
  --pink: #dc0874;
  --pink-bright: #ca006c;
  --focus: #ffcf40;
  --header-h: 66px;
  --rail-w: 72px;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
button { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: -100px; padding: 10px 16px; border-radius: 6px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; gap: 14px; padding: 7px 18px; background: #000c24; border-bottom: 1px solid rgba(255,255,255,.04); }
.brand { flex: 0 0 112px; display: flex; align-items: center; min-height: 48px; }
.brand img { width: 108px; height: 40px; object-fit: contain; }
.sponsor { display: flex; align-items: center; gap: 8px; max-width: 150px; color: #fff; font-size: 9px; line-height: 1.15; }
.sponsor img { flex: 0 0 auto; }
.gift-link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 5px; background: var(--pink); }
.gift-link:hover { background: var(--pink-bright); }
.gift-link svg { width: 24px; height: 24px; }
.account-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.login-button, .register-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 15px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.login-button { border: 1px solid #6c7484; }
.register-button { background: var(--pink); }
.login-button:hover { border-color: #fff; }
.register-button:hover { background: var(--pink-bright); }
.language-switch { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 8px; font-size: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: #fff; }
.site-rail { position: fixed; z-index: 40; inset: var(--header-h) auto 0 0; width: var(--rail-w); background: #000c24; border-right: 1px solid rgba(255,255,255,.04); }
.site-rail nav { display: flex; flex-direction: column; gap: 6px; padding: 14px 8px; }
.rail-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 56px; min-height: 52px; padding: 4px 2px; border: 0; border-radius: 12px; background: #142442; color: #d9e1f1; cursor: pointer; }
.rail-link > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #31435f; }
.rail-link svg { width: 20px; height: 20px; }
.rail-link small { display: none; font-size: 8px; line-height: 1.1; }
.rail-link:hover, .rail-link.active { background: #253858; color: #fff; }
.rail-link.active > span { background: var(--pink); }
.site-main, .site-footer { margin-left: var(--rail-w); }
.site-main { min-height: 70vh; padding: 0 16px 48px; overflow: hidden; }
.hero { display: grid; grid-template-columns: minmax(0, 3fr) minmax(230px, 1fr); gap: 14px; }
.hero a { overflow: hidden; background: #4c1136; }
.hero-main { border-radius: 0 0 3px 3px; }
.hero-side { border-radius: 0 0 3px 3px; }
.hero img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.hero a:hover img { transform: scale(1.01); }
.hero-main img { aspect-ratio: 1644/492; }
.hero-side img { aspect-ratio: auto; }
.age-notice { display: flex; align-items: center; gap: 12px; max-width: 1100px; margin: 16px auto 0; color: var(--muted); font-size: 12px; }
.age-notice p { margin: 0; }
.age-badge { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; border: 2px solid var(--pink); border-radius: 50%; color: #fff; font-weight: 800; }
.category-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(92px, 1fr); gap: 12px; padding: 20px 0 14px; overflow-x: auto; scrollbar-width: thin; }
.category-strip a { min-width: 0; text-align: center; font-size: 11px; letter-spacing: .02em; }
.category-strip img { width: 100%; height: auto; max-width: 112px; aspect-ratio: 1; margin: 0 auto 7px; border: 2px solid #b7156c; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #4f1745; transition: transform .2s ease; }
.category-strip a:hover img { transform: translateY(-3px); }
.section-heading { display: flex; align-items: center; gap: 10px; margin: 20px 0 12px; }
.section-heading h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.game-count { color: var(--muted); font-size: 13px; }
.game-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.game-filters button { min-height: 44px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--muted); cursor: pointer; }
.game-filters button:hover, .game-filters button.active { border-color: var(--pink); background: #32133a; color: #fff; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.game-card { position: relative; min-width: 0; border-radius: 7px; background: var(--surface); }
.game-main { display: block; border-radius: 7px 7px 0 0; overflow: hidden; }
.game-art { position: relative; display: block; aspect-ratio: 448/598; overflow: hidden; background: #101d3b; }
.game-art > img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, filter .25s ease; }
.game-main:hover .game-art > img { transform: scale(1.035); filter: brightness(.78); }
.game-shade { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,5,20,.94)); }
.game-copy { position: absolute; inset: auto 8px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; text-transform: uppercase; text-shadow: 0 2px 4px #000; }
.game-copy strong { max-width: 100%; font-size: 13px; line-height: 1.15; overflow-wrap: anywhere; }
.game-copy small { margin-top: 3px; font-size: 9px; line-height: 1.1; }
.game-details { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; min-height: 44px; color: #e4e8f2; font-size: 12px; }
.game-details:hover { color: #ff7eba; }
.game-card[hidden] { display: none; }
.no-results { padding: 24px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.trust-panel { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; align-items: center; margin: 34px 0; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.trust-panel > div { display: flex; flex-direction: column; }
.trust-panel strong { color: #fff; font-size: 18px; }
.trust-panel span { color: var(--muted); font-size: 12px; }
.trust-panel > a { min-height: 44px; padding: 10px 14px; border-radius: 5px; background: var(--pink); text-align: center; font-size: 13px; }
.home-heading, .page-intro { max-width: 1100px; margin: 40px auto 24px; }
.page-intro { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(120deg, #0a1e3d, #160f31); }
.eyebrow { margin: 0 0 8px; color: #ff77b7; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1 { max-width: 950px; margin: 0 0 14px; font-size: clamp(27px, 3vw, 44px); line-height: 1.15; letter-spacing: -.025em; }
.lead { max-width: 900px; margin: 0 0 22px; color: #d4dbe8; font-size: 18px; line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 5px; font-weight: 700; cursor: pointer; }
.button.primary { background: var(--pink); color: #fff; }
.button.primary:hover { background: var(--pink-bright); }
.button.secondary { border: 1px solid #66738b; background: transparent; color: #fff; }
.breadcrumbs { margin-bottom: 22px; font-size: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; gap: 5px; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: '/'; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.content-sections { max-width: 1100px; margin: 0 auto; }
.content-section { margin: 20px 0; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: 10px; background: rgba(6,22,47,.75); }
.content-section h2, .faq-section h2, .related-games h2 { margin: 0 0 15px; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.25; }
.content-section h3 { margin: 24px 0 8px; color: #fff; font-size: 19px; }
.content-section p { margin: 0 0 14px; color: #d2d9e5; }
.content-section p:last-child { margin-bottom: 0; }
.content-section ul, .content-section ol { margin: 10px 0 16px; padding-left: 24px; color: #d2d9e5; }
.content-section li { margin: 7px 0; }
.content-section a { color: #ff83bd; text-decoration: underline; text-underline-offset: 3px; }
.content-section a:hover { color: #fff; }
table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px; border: 1px solid #2a3e5c; text-align: left; vertical-align: top; }
th { background: #102342; color: #fff; }
td { color: #d2d9e5; }
.faq-section { max-width: 1100px; margin: 30px auto; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.faq-list summary { position: relative; min-height: 52px; padding: 15px 52px 15px 18px; font-weight: 700; cursor: pointer; }
.faq-list summary::after { content: '+'; position: absolute; right: 18px; top: 10px; color: #ff77b7; font-size: 26px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
.final-cta { display: flex; align-items: center; gap: 18px; max-width: 1100px; margin: 34px auto 0; padding: 24px; border-radius: 10px; background: linear-gradient(100deg, #391035, #101c3d); }
.final-cta h2 { margin: 0; }
.final-cta p { margin: 4px 0 0; color: #d2d9e5; font-size: 13px; }
.final-cta .button { margin-left: auto; flex: 0 0 auto; }
.site-footer { padding: 38px 26px 20px; border-top: 1px solid var(--line); background: #020a1d; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.6fr; gap: 32px; max-width: 1400px; margin: auto; }
.footer-grid h2 { margin: 0 0 12px; color: #fff; font-size: 12px; letter-spacing: .06em; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid nav a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); font-size: 13px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.operator p, .operator a { color: var(--muted); font-size: 12px; line-height: 1.5; }
.operator a { display: inline-block; margin: 6px 0; }
.footer-bottom { display: flex; align-items: center; gap: 16px; max-width: 1400px; margin: 28px auto 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom > span:last-child { margin-left: auto; white-space: nowrap; }
.site-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 32px; border: 1px solid #493355; border-radius: 14px; background: #0b1730; color: #fff; box-shadow: 0 25px 80px #000; }
.site-dialog::backdrop { background: rgba(0,4,15,.82); backdrop-filter: blur(3px); }
.site-dialog h2 { margin: 8px 0 12px; font-size: 28px; }
.site-dialog p { color: #d2d9e5; }
.dialog-close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 30px; cursor: pointer; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sticky-cta { display: none; }
.game-detail-hero { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 40px; align-items: center; max-width: 1100px; margin: 30px auto; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(120deg, #0a1e3d, #1d1034); }
.game-detail-hero > img { width: 100%; border-radius: 10px; }
.game-provider { color: var(--muted); }
.age-inline { color: var(--muted); font-size: 12px; }
.related-games { max-width: 1100px; margin: 34px auto; }
.game-grid.compact { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100dvh; padding: 30px; text-align: center; }
.error-page > img { width: 130px; }
.error-code { margin: 20px 0 -10px; color: var(--pink); font-size: 80px; font-weight: 900; line-height: 1; }
a, button, summary { touch-action: manipulation; }
h1, h2, h3 { text-wrap: balance; }
.site-dialog { overscroll-behavior: contain; }
@media (min-width: 1600px) {
  .site-main { padding-inline: 24px; }
  .game-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .sponsor { display: none; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-panel { grid-template-columns: repeat(3, 1fr); }
  .trust-panel > a { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --rail-w: 58px; }
  .site-header { gap: 7px; padding-inline: 10px; }
  .brand { flex-basis: 90px; }
  .brand img { width: 88px; }
  .gift-link { display: none; }
  .login-button, .register-button { padding-inline: 10px; font-size: 11px; }
  .site-rail nav { padding-inline: 5px; }
  .rail-link { width: 48px; min-height: 48px; border-radius: 10px; }
  .rail-link > span { width: 28px; height: 28px; }
  .site-main { padding-inline: 10px; }
  .hero { grid-template-columns: minmax(0, 3fr) minmax(120px, 1fr); gap: 8px; }
  .category-strip { grid-auto-columns: 90px; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); gap: 10px; }
  .game-copy strong { font-size: 11px; }
  .game-copy small { font-size: 8px; }
  .page-intro { padding: 20px; }
  .lead { font-size: 16px; }
  .content-section { padding: 18px; }
  table { display: block; overflow-x: auto; }
  .final-cta { align-items: flex-start; flex-wrap: wrap; }
  .final-cta .button { margin-left: 0; }
  .game-detail-hero { grid-template-columns: 150px 1fr; gap: 20px; padding: 18px; }
  .game-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sticky-cta { position: fixed; z-index: 35; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: none; }
  .sticky-cta.visible { display: block; }
  .sticky-cta .button { min-height: 48px; box-shadow: 0 8px 25px #000; }
}
@media (max-width: 520px) {
  :root { --header-h: 60px; }
  .site-header { gap: 4px; padding: 6px; }
  .brand { flex-basis: 72px; }
  .brand img { width: 72px; }
  .account-actions { gap: 4px; }
  .login-button, .register-button { min-height: 42px; padding-inline: 7px; font-size: 9px; }
  .language-switch { min-height: 42px; padding-inline: 4px; font-size: 10px; }
  .language-switch img { display: none; }
  .nav-toggle { display: block; width: 36px; padding-inline: 8px; }
  .site-rail.expanded { width: 190px; box-shadow: 12px 0 30px #000; }
  .site-rail.expanded .rail-link { flex-direction: row; justify-content: flex-start; gap: 10px; width: 174px; padding-inline: 10px; }
  .site-rail.expanded .rail-link small { display: block; font-size: 11px; }
  .hero-main img { aspect-ratio: 1.9; }
  .hero-side img { height: 100%; object-fit: cover; }
  .age-notice { align-items: flex-start; font-size: 11px; }
  .age-notice .age-badge { flex-basis: 42px; width: 42px; height: 42px; }
  .category-strip { grid-auto-columns: 82px; gap: 8px; }
  .category-strip a { font-size: 9px; }
  .section-heading h2 { font-size: 18px; }
  .game-filters { gap: 6px; }
  .game-filters button { padding-inline: 10px; font-size: 12px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .game-copy { inset-inline: 4px; bottom: 7px; }
  .game-copy strong { font-size: 10px; }
  .game-copy small { display: none; }
  .game-details { min-height: 40px; font-size: 10px; }
  .trust-panel { grid-template-columns: 1fr; text-align: center; }
  .home-heading, .page-intro { margin-top: 26px; }
  h1 { font-size: 27px; }
  .page-intro { padding: 17px; }
  .content-section { padding: 16px; }
  .content-section h2 { font-size: 21px; }
  th, td { padding: 9px; }
  .site-footer { padding: 28px 16px 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .operator { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-bottom > span:last-child { margin-left: 0; }
  .site-dialog { padding: 26px 20px; }
  .game-detail-hero { grid-template-columns: 1fr; }
  .game-detail-hero > img { max-width: 240px; margin: auto; }
  .game-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 350px) {
  .brand { flex-basis: 64px; }
  .brand img { width: 64px; }
  .login-button { display: none; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.promo-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); overflow: hidden; border: 1px solid var(--line); border-radius: 0 0 10px 10px; background: var(--surface); }
.promo-hero-copy { padding: clamp(26px, 4vw, 58px); background: radial-gradient(circle at 90% 10%, rgba(220,8,116,.23), transparent 42%), linear-gradient(125deg, #071c3c, #160f31); }
.promo-hero-copy h1 { max-width: 800px; }
.promo-code-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 40px); border-left: 1px solid var(--line); background: #08162e; }
.promo-code-panel h2 { margin: 0 0 18px; font-size: clamp(21px, 2vw, 29px); line-height: 1.25; }
.promo-code-panel ol { margin: 0 0 24px; padding-left: 22px; color: #d2d9e5; }
.promo-code-panel li { margin: 11px 0; padding-left: 4px; }
.promo-code-panel > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hero-legal { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--muted); font-size: 12px; }
.category-strip .category-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 8px; border: 2px solid #b7156c; border-radius: 50%; background: #142442; color: #fff; box-shadow: 0 0 0 3px #4f1745; transition: transform .2s ease, background .2s ease; }
.category-icon svg { width: 28px; height: 28px; }
.category-strip a:hover .category-icon { transform: translateY(-3px); background: #32133a; }
.section-heading > a { margin-left: auto; color: #ff83bd; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.catalog-tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.catalog-tools label { display: flex; align-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.search-field { flex: 1 1 240px; gap: 8px; padding: 0 12px; }
.search-field > span:first-child { display: grid; place-items: center; color: var(--muted); }
.search-field svg { width: 19px; height: 19px; }
.catalog-tools input, .catalog-tools select { width: 100%; min-height: 42px; border: 0; background: transparent; color: #fff; outline: 0; }
.catalog-tools select { min-width: 190px; padding: 0 12px; }
.catalog-tools select option { background: var(--surface); color: #fff; }
.catalog-tools label:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.game-actions { display: flex; align-items: stretch; min-height: 44px; }
.game-actions .game-details, .game-play { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 50%; min-width: 0; min-height: 44px; padding: 5px; font-size: 11px; text-align: center; }
.game-play { background: var(--pink); color: #fff; }
.game-play:hover { background: var(--pink-bright); }
.more-games { margin-top: 16px; }
.more-games summary { width: fit-content; margin: 0 auto; list-style: none; }
.more-games summary::-webkit-details-marker { display: none; }
.more-games[open] summary { margin-bottom: 18px; }
.dialog-open .sticky-cta { display: none !important; }
@media (max-width: 900px) {
  .promo-hero { grid-template-columns: 1fr; }
  .promo-code-panel { border-top: 1px solid var(--line); border-left: 0; }
}
@media (max-width: 768px) {
  .promo-hero-copy { padding: 26px 22px; }
  .promo-code-panel { padding: 24px 22px; }
  .catalog-tools label { flex: 1 1 220px; }
  .catalog-tools select { min-width: 0; }
}
@media (max-width: 520px) {
  .category-strip .category-icon { width: 58px; height: 58px; }
  .category-icon svg { width: 23px; height: 23px; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-legal { align-items: flex-start; }
  .game-actions .game-details, .game-play { font-size: 9px; }
}
.no-js .game-filters, .no-js .catalog-tools, .no-js .nav-toggle, .no-js .sticky-cta, .no-js [data-dialog-open] { display: none; }
