:root {
  --brand-primary: #d67414;
  --brand-primary-hover: #ff9832;
  --brand-background: #171a28;
  --brand-tab-bar: #1b1f2e;
  --brand-bage-primary: #2b2f42;
  --neutral-1000: #0d1520;
  --neutral-900: #212535;
  --neutral-900-85: #212535d8;
  --neutral-800: #33374c;
  --neutral-700: #3d4353;
  --neutral-600: #6a7e8b;
  --neutral-500: #a7b4d5;
  --neutral-400: #95b6c9;
  --white: #fff;
  --black: #000;
  --system-red: #fb4b4b;
  --system-green: #06b85a;
  --system-blue: #00a0ff;
  --system-orange: #d67414;
  --bg-main: var(--brand-background);
  --bg-tabbar: var(--brand-tab-bar);
  --bg-surface: var(--brand-bage-primary);
  --bg-surface-2: var(--neutral-900);
  --bg-tooltip: var(--neutral-800);
  --bg-hover: var(--neutral-700);
  --bg-input: var(--neutral-1000);
  --bg-light-opacity: #ffffff1a;
  --bg-tag: rgba(255, 255, 255, .15);
  --backdrop: #000000b3;
  --text-primary: var(--white);
  --text-secondary: var(--neutral-400);
  --text-brand: var(--brand-primary);
  --text-success: var(--system-green);
  --text-error: var(--system-red);
  --text-warning: var(--system-orange);
  --text-link: var(--system-blue);
  --input-placeholder: color-mix(in srgb, var(--text-secondary), #0000 50%);
  --icon-default: var(--neutral-500);
  --icon-brand: var(--brand-primary);
  --border-default: var(--brand-bage-primary);
  --border-secondary: var(--neutral-700);
  --border-tertiary: var(--neutral-500);
  --border-input: var(--brand-bage-primary);
  --border-input-focused: var(--neutral-600);
  --border-input-error: var(--system-red);
  --border-ghost-hover: var(--white);
  --gradient-hero: linear-gradient(180deg, #1b244c, #171a28);
  --gradient-purple: linear-gradient(180deg, #48358d, #302162);
  --gradient-purple-h: linear-gradient(90deg, #48358d, #302162);
  --gradient-bonus-blue: linear-gradient(90deg, #001745, #2a6acb 50%, #001745);
  --gradient-bonus-welcome: linear-gradient(90deg, #2a0132, #ae29ba 50%, #2a0132);
  --gradient-gold: linear-gradient(270deg, #f3e700, #c38300 6%, #aa4f00 22%, #c78b00 43%, #f5eb00 60%, #c28000 86%, #c78b00);
  --gradient-progress: linear-gradient(90deg, #875726, #fbefa5);
  --gradient-popup: linear-gradient(180deg, #101625, #171631 25%, #25122a 65%, #0d1520);
  --gradient-vip: linear-gradient(180deg, #101625, #25122a 50%, #0d1520);
  --gradient-fade-right: linear-gradient(270deg, #171a28 0, rgba(23, 26, 40, .75) 50%, transparent 100%);
  --vip-gold: #d3d77c;
  --vip-platinum: #e8e8e8;
  --vip-diamond: #38d5f8;
  --font-primary: "Roboto", sans-serif;
  --font-secondary: "Rubik", "Roboto", sans-serif;
  --fs-promo: 48px;
  --fs-display: 28px;
  --fs-modal-title: 24px;
  --fs-h2: 18px;
  --fs-lg: 18px;
  --fs-input: 16px;
  --fs-md: 15px;
  --fs-base: 14px;
  --fs-sm: 12px;
  --fs-xs: 10px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-input: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-pill: 99px;
  --radius-round: 50%;
  --shadow-popover: 0 8px 16px rgba(0, 0, 0, .25);
  --header-h: 61px;
  --sidebar-w-closed: 72px;
  --content-pad: 76px 16px 28px;
  --content-max: 1104px;
  --game-card: 124px;
  --grid-gap: 8px;
  --tabbar-h: 73px;
  --t-fast: .2s;
  --t-base: .3s;
  --ease-sidebar: .24s ease-in-out .2s;
  --tooltip: bg;
  --secondary-alt: #2b2f42;
  --tertiary: #6a7e8b;
  --cashier-small: #d67414;
  --radius: 14px;
  --font-heading: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg-main); color: var(--text-primary); font: 16px/1.55 system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand-primary-hover); outline-offset: 4px; }
.wrap { width: min(1280px, 100% - 80px); margin-inline: auto; }
.skip { position: absolute; z-index: 3; background: #fff; color: #111; padding: 10px; transform: translateY(-140%); }
.skip:focus { transform: translateY(0); }
.header { position: sticky; top: 0; z-index: 2; background: var(--bg-tabbar); border-bottom: 1px solid var(--border-default); }
.top { display: flex; align-items: center; gap: clamp(24px, 5vw, 70px); min-height: 70px; }
.wordmark { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; color: var(--brand-primary-hover); font-size: 33px; font-weight: 950; font-style: italic; letter-spacing: -.08em; line-height: 1; }
.wordmark span { color: #fff; font-size: 16px; letter-spacing: -.045em; }
.nav, .account { display: flex; align-items: center; gap: 24px; }
.nav a, .account a { text-decoration: none; font-size: 14px; font-weight: 650; white-space: nowrap; }
.nav a { color: #bbc5dc; padding: 23px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: #fff; border-bottom-color: var(--brand-primary-hover); }
.account { margin-left: auto; }
.button { display: inline-flex; gap: 14px; align-items: center; padding: 13px 20px; border-radius: 16px; background: var(--brand-primary-hover); color: #171a28; text-decoration: none; font-weight: 800; }
.button:hover { background: #ffb569; }
.button.small { padding: 9px 14px; border-radius: 12px; }
.hero { background: linear-gradient(90deg, #171a28 0%, #171a28e8 30%, #171a2840 68%, #171a2820), var(--gradient-hero); background-size: cover; background-position: center, right 52%; }
.hero.has-art { background-image: linear-gradient(90deg, #171a28 0%, #171a28f0 29%, #171a2840 69%, #171a2810), url('/assets/hero.webp'); }
.hero-inner { display: flex; align-items: center; min-height: 370px; }
.hero-inner > div { max-width: 510px; padding-block: 40px; }
h1, h2 { line-height: 1.1; letter-spacing: -.04em; }
h1 { font-size: clamp(34px, 6vw, 66px); margin: 0 0 18px; }
h2 { font-size: clamp(23px, 3vw, 32px); margin: 0; }
.hero p, .intro { color: #d3daed; font-size: clamp(16px, 2vw, 19px); max-width: 58ch; margin: 0 0 25px; }
.lobby { padding-block: 28px 18px; }
.section-head { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; margin-bottom: 15px; }
.section-head a, .back, .article a { color: #ffac62; }
.filters { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.filters button { cursor: pointer; padding: 9px 16px; border: 1px solid var(--border-secondary); border-radius: 8px; background: var(--bg-surface-2); color: #d3daed; font: inherit; font-size: 14px; }
.filters button[aria-pressed="true"] { background: #633c25; border-color: #d67414; color: #fff; }
.games { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.game { position: relative; min-width: 0; overflow: hidden; border-radius: 14px; background: var(--bg-surface-2); text-decoration: none; }
.game:hover .game-cover { filter: brightness(1.13); }
.game-cover { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.game-label { display: grid; padding: 12px; gap: 2px; }
.game-label small { color: #bac5da; font-size: 12px; }
.body { padding-top: 34px; }
.back { display: inline-block; margin-bottom: 15px; }
.article { max-width: 77ch; padding-bottom: 52px; }
.article section + section { margin-top: 31px; }
.article p { margin: 10px 0 0; color: #d3daed; }
[id] { scroll-margin-top: 125px; }
.footer { margin-top: 14px; border-top: 1px solid var(--border-secondary); background: var(--bg-tabbar); padding: 30px 0; color: #bdc7da; font-size: 14px; }
.footer-head { display: flex; align-items: center; gap: 14px; }
.age { border: 1px solid currentColor; border-radius: 50%; padding: 4px; font-weight: 700; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0; }
.footer nav a { text-decoration: none; }
.footer a:hover { color: #fff; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 40px); }
  .top { gap: 20px; }
  .nav, .account { gap: 14px; }
  .games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .top { flex-wrap: wrap; gap: 0; padding-top: 10px; }
  .nav { width: 100%; order: 3; overflow-x: auto; }
  .nav a { padding: 12px 0; }
  .hero-inner { min-height: 300px; }
  .hero.has-art { background-image: linear-gradient(90deg, #171a28f5 0%, #171a28c9 50%, #171a285c), url('/assets/hero.webp'); }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .nav { gap: 12px; }
  .account { gap: 8px; }
  .account a { font-size: 12px; }
}
.section-head a { white-space: nowrap; }
@media (max-width: 400px) {
  .nav { justify-content: space-between; gap: 8px; }
  .nav a { font-size: 12px; }
}

.source-note { border-left: 3px solid var(--brand-primary); padding-left: 13px; font-size: 14px; }
.article-title { margin: 25px 0; }
.article h3 { font-size: 22px; margin: 0; line-height: 1.2; }

body { font-family: Roboto, system-ui, sans-serif; }
.wrap { width: min(1104px, 100% - 32px); }
.header { background: var(--bg-main); border-bottom: 0; }
.top { min-height: 75px; gap: clamp(16px, 3vw, 42px); }
.nav a, .account a { font-weight: 400; }
.nav a { text-transform: uppercase; color: var(--text-secondary); }
.nav a:hover, .nav a[aria-current] { color: var(--brand-primary-hover); }
.account { gap: 8px; }
.button, .button.small { border-radius: 99px; font-weight: 400; }
.button { background: var(--brand-primary); min-height: 44px; padding: 9px 24px; }
.button:hover { background: var(--brand-primary-hover); }
.button.small { min-height: 34px; padding: 6px 14px; }
.button.secondary { background: var(--bg-surface); color: var(--text-primary); }
.button.secondary:hover { background: var(--bg-hover); }
.hero-inner { min-height: 340px; }
h1, h2 { letter-spacing: normal; }
h1 { font-size: clamp(28px, 4vw, 40px); }
.hero h1 { font-family: Rubik, Roboto, sans-serif; font-weight: 900; }
h2 { font-size: 22px; font-weight: 400; }
.filters { flex-wrap: nowrap; overflow-x: auto; }
.filters button { flex: none; min-height: 36px; border: 0; border-radius: 99px; background: var(--bg-surface); color: var(--text-secondary); }
.filters button[aria-pressed="true"] { background: var(--brand-primary); color: var(--bg-input); }
.games { gap: 24px; }
.game-cover { border-radius: 4px; }
.game-label { padding: 8px 10px; }
.home-content { padding-block: 22px 30px; }
.home-content > * { max-width: 78ch; margin: 0 0 32px; }
.home-content .article { padding-bottom: 0; }
.home-topic h2 { margin-bottom: 14px; }
.home-topic a { color: #ffac62; }
.home-topic li { margin-block: 5px; }
.facts { width: 100%; border-collapse: collapse; background: var(--bg-surface-2); }
.facts th, .facts td { padding: 10px 12px; border-bottom: 1px solid var(--border-default); text-align: left; overflow-wrap: anywhere; }
.facts tbody th { font-weight: 400; }
.facts td { color: #d3daed; }
.app-teaser img { display: block; max-width: min(100%, 500px); border-radius: 16px; }
#faq details { border-bottom: 1px solid var(--border-default); }
#faq summary { padding: 10px 0; cursor: pointer; }
#faq p { color: #d3daed; margin: 0 0 12px; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.trust img { display: block; height: 24px; width: auto; max-width: 135px; object-fit: contain; }
@media (max-width: 900px) {
  .nav, .account { gap: 8px; }
  .nav a { font-size: 12px; }
}
@media (max-width: 760px) {
  .top { min-height: 61px; padding-top: 8px; row-gap: 4px; }
  .nav { justify-content: space-between; gap: 8px; }
  .nav a { flex: none; padding: 8px 0; font-size: 10px; }
  .hero-inner { min-height: 240px; }
  h2 { font-size: 18px; }
  .games { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 124px; gap: 8px; overflow-x: auto; padding: 4px 0 8px; }
  .game-label strong { font-size: 13px; }
  .facts th, .facts td { padding: 8px; }
}
.studio-strip { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.studio-strip li { margin: 0; padding: 5px 12px; border-radius: 99px; background: var(--bg-surface); color: var(--text-secondary); }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-bar { position: fixed; z-index: 2; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--bg-tabbar); border-top: 1px solid var(--border-default); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: grid; place-items: center; min-height: 64px; padding: 4px; color: var(--text-secondary); font-size: 11px; text-decoration: none; }
  .mobile-bar a[aria-current="page"] { color: var(--brand-primary-hover); }
  .mobile-bar a[href="/register/"] { background: var(--bg-surface-2); color: var(--text-primary); }
}

.app-hero { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 45%); align-items: center; min-height: 390px; padding: clamp(24px, 5vw, 60px); border-radius: 16px; overflow: hidden; background: var(--bg-surface-2) url('/assets/app-promo.webp') center / cover; }
.app-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #171a28 10%, #171a28e8 43%, #171a2840 100%); }
.app-hero-copy, .app-hero img { position: relative; }
.app-hero h1 { font-family: Rubik, Roboto, sans-serif; }
.app-hero img { align-self: end; width: 100%; height: auto; max-width: 420px; margin: 0 auto calc(-1 * clamp(24px, 5vw, 60px)); }
.app-article { padding-top: 18px; }
.payment-details { max-width: 79ch; }
.payment-details > p, .payment-details li { color: #d3daed; }
.payment-details .home-topic, .payment-details > h2:not(:first-child) { margin-top: 28px; }
.payment-details a, .bonus-terms-link { color: #ffac62; }
.payment-details li + li { margin-top: 8px; }
.payment-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0 0; padding: 14px; gap: 14px; border-radius: 14px; background: var(--bg-surface-2); }
.payment-summary dt { color: var(--text-secondary); font-size: 14px; }
.payment-summary dd { margin: 4px 0 0; font-size: 24px; font-weight: 700; }
.bonus-offers { padding-bottom: 36px; }
.bonus-offers > p { color: var(--text-secondary); }
.bonus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.bonus-card { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border-radius: 16px; background: var(--bg-surface-2); }
.bonus-card.welcome { background: #37254d; }
.bonus-card.reload { background: #23344b; }
.bonus-card.cashback { background: #303343; }
.bonus-card h3 { margin: 0; font-size: 22px; }
.bonus-card p { color: #d3daed; margin: 0 0 18px; }
.bonus-card .bonus-type { color: #ffba83; margin: 5px 0 14px; }
.bonus-card .button { margin-top: auto; }
@media (max-width: 700px) {
  .app-hero { grid-template-columns: 1fr; padding: 22px 20px 0; min-height: auto; }
  .app-hero::before { background: linear-gradient(180deg, #171a28 8%, #171a28df 45%, #171a2840 100%); }
  .app-hero .intro { margin-bottom: 16px; }
  .app-hero img { max-width: 245px; margin: 12px auto 0; }
  .bonus-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .payment-summary { grid-template-columns: 1fr; gap: 8px; }
  .payment-summary div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .payment-summary dd { flex: none; font-size: 18px; }
}
