/* SpinGreen Deutschland — дизайн «Spin Lobby» (v2, 21.11.2026: «чуть больше похоже на официал»): тёмный графит лобби SpinGreen,
   боковое меню слева, промо-баннер и карточки-истории, шрифт Akrobat как у оператора. Раньше («Spin Lab»): светлый контент,
   фирменный лайм SpinGreen (#95FE2C) и фиолетовый акцент промо-карточек. Шрифты Unbounded (заголовки) + DM Sans (текст).
   В стиле бренда, но не копия интерфейса оператора и не шаблон прошлых сайтов (kingparicanada — navy+лайм+Saira). */

@font-face { font-family: "Akrobat"; src: url("/assets/fonts/akrobat-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Akrobat"; src: url("/assets/fonts/akrobat-extrabold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Akrobat"; src: url("/assets/fonts/akrobat-black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dmsans-latin-var.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }

:root {
  --ink: #121315;          /* фирменный графит SpinGreen */
  --ink-2: #1a1c1f;
  --ink-3: #25282c;
  --bg: #121315;           /* фон страницы — графит лобби SpinGreen */
  --panel: #1a1c1f;        /* разделы */
  --panel-2: #222529;      /* карточки внутри разделов */
  --panel-3: #2c3035;
  --line: #2b2f34;
  --line-2: #3a3f45;
  --text: #d8ddd5;
  --muted: #a3aba4;
  --head: #ffffff;
  --lime: #95fe2c;         /* знак SpinGreen */
  --lime-hi: #b4ff6a;
  --lime-deep: #95fe2c;    /* на тёмном фоне — тот же лайм */
  --lime-soft: rgba(149, 254, 44, .14);
  --lime-ink: #121315;
  --violet: #6b34ef;       /* акцент промо-карточек оператора */
  --violet-soft: rgba(107, 52, 239, .16);
  --link: #b4ff6a;
  --warn: #d93d42;
  --r-s: 10px; --r-m: 16px; --r-l: 24px;
  --top: 72px;
  --gutter: 24px;
  --pad: 36px;
  --shadow: 0 14px 36px rgba(0, 0, 0, .35);
  --shadow-dark: 0 18px 44px rgba(0, 0, 0, .45);
  --ff-head: "Akrobat", "Arial Narrow", "DM Sans", system-ui, sans-serif;
  --ff-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
/* тёмные зоны: шапка, первый экран, меню, подвал, нижний бар, плашки CTA */
.topbar, .hero, .drawer, .site-footer, .bottom-bar, .cta-box {
  --panel: #1a1c1f; --panel-2: #222529; --panel-3: #2c3035;
  --line: #2b2f34; --line-2: #3a3f45;
  --text: #d8ddd5; --muted: #a3aba4; --head: #ffffff; --link: #b4ff6a;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 64px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--ff-body); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violet); }
.hero a:hover, .site-footer a:hover, .drawer a:hover { color: var(--lime); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 4px; }
.topbar :focus-visible, .hero :focus-visible, .drawer :focus-visible, .site-footer :focus-visible, .bottom-bar :focus-visible { outline-color: var(--lime); }
h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--head); line-height: 1.22; margin: 0 0 14px; letter-spacing: -.02em; hyphens: manual; overflow-wrap: break-word; }
h1 { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.35rem); font-weight: 700; }
h2 { font-size: clamp(1.22rem, 1.02rem + .75vw, 1.6rem); font-weight: 650; }
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 14px; }
b, strong { color: var(--head); font-weight: 700; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin: 4px 0; }
.ico { width: 20px; height: 20px; flex: none; }
.wrap { max-width: 1248px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- кнопки: «таблетки» как кнопка Registrieren у оператора ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 28px; border: 0; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font: 700 1.02rem/1 var(--ff-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(149, 254, 44, .28), inset 0 -2px 0 rgba(0, 0, 0, .12); transition: background .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.btn:hover { color: var(--lime-ink); background: var(--lime-hi); box-shadow: 0 8px 24px rgba(149, 254, 44, .4), inset 0 -2px 0 rgba(0, 0, 0, .12); transform: translateY(-1px); }
.btn-ghost, .btn-dark, .btn-alt { background: transparent; color: var(--head); box-shadow: inset 0 0 0 2px var(--line-2); }
.btn-ghost:hover, .btn-dark:hover, .btn-alt:hover { color: var(--head); background: rgba(149, 254, 44, .1); box-shadow: inset 0 0 0 2px var(--lime); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }

/* ---------- шапка ---------- */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 999; background: var(--lime); color: var(--lime-ink); padding: 12px 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: var(--r-s); }
.topbar { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1248px; margin: 0 auto; height: var(--top); padding: 0 calc(var(--gutter) + var(--pad)); display: flex; align-items: center; gap: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 48px; text-decoration: none; }
.logo-mark { display: block; width: 34px; height: 34px; }
.logo-text { font: 800 .92rem/1 var(--ff-head); letter-spacing: .01em; color: #fff; }
.logo-text span { color: var(--lime); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--panel-2); color: var(--head); cursor: pointer; }
.burger .ico { width: 22px; height: 22px; }
.main-nav { flex: 1; min-width: 0; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 15px; height: var(--top); }
.main-nav li { margin: 0; position: relative; }
.main-nav > ul > li { display: flex; align-items: stretch; }
.main-nav a, .main-nav .sub-toggle { color: var(--text); text-decoration: none; font: 600 .92rem/1 var(--ff-body); }
.main-nav > ul > li > a, .main-nav .sub-head > a, .main-nav > ul > li > .sub-toggle { position: relative; display: inline-flex; align-items: center; min-height: 44px; }
.main-nav > ul > li > a .ico, .main-nav .sub-head > a .ico, .main-nav > ul > li > .sub-toggle .ico:first-child { display: none; }
.main-nav .sub-head { display: inline-flex; align-items: center; gap: 2px; }
.main-nav .sub-toggle { background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.main-nav .sub-chev { width: 20px; height: 44px; justify-content: center; color: var(--muted); }
.main-nav .sub-chev .ico, .main-nav .sub-toggle .ico:last-child { width: 16px; height: 16px; transition: transform .15s; }
.main-nav .has-sub.open .sub-chev .ico, .main-nav .has-sub.open > .sub-toggle .ico:last-child { transform: rotate(180deg); }
/* активный раздел — лаймовая точка под пунктом (как «кнопка вращения» в знаке) */
.main-nav > ul > li > a::after, .main-nav .sub-head > a::after, .main-nav > ul > li > .sub-toggle::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--lime); transform: scale(0); transition: transform .2s; }
.main-nav > ul > li > .sub-toggle::after { margin-left: -13px; }
.main-nav > ul > li > a:hover::after, .main-nav .sub-head > a:hover::after { transform: scale(1); }
.main-nav > ul > li > a[aria-current]::after, .main-nav .sub-head > a[aria-current]::after, .main-nav .has-sub.active > .sub-toggle::after { transform: scale(1); }
.main-nav > ul > li > a[aria-current], .main-nav .sub-head > a[aria-current], .main-nav .has-sub.active > .sub-toggle { color: var(--head); }
.main-nav a:hover, .main-nav .sub-toggle:hover { color: var(--head); }
/* подменю: мост над зазором + задержка закрытия (site.js) */
.main-nav .sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% - 10px); left: -14px; min-width: 230px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-m); box-shadow: var(--shadow-dark); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s .15s; z-index: 60; }
.main-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.main-nav .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
.main-nav .sub li { margin: 0; }
.main-nav .sub a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 44px; border-radius: var(--r-s); color: var(--text); font-weight: 600; font-size: .96rem; }
.main-nav .sub a .ico { color: var(--lime); }
.main-nav .sub a:hover, .main-nav .sub a[aria-current] { background: var(--panel-2); color: var(--head); }
.top-actions { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.top-actions .btn-sm { padding: 10px 16px; font-size: .92rem; }
.nav-compact .main-nav { display: none; }
.nav-compact .burger { display: inline-flex; align-items: center; justify-content: center; }
.nav-compact .topbar-in { gap: 14px; }

/* мобильное меню */
.drawer { position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw); background: var(--ink); z-index: 70; overflow-y: auto; padding: 0 16px 28px; box-shadow: 8px 0 30px rgba(0, 0, 0, .5); transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s; border-right: 1px solid var(--line-2); }
body.menu-open .drawer { transform: none; visibility: visible; transition: transform .2s ease; }
.drawer-head { height: var(--top); display: flex; align-items: center; justify-content: space-between; }
.drawer-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--panel-2); color: var(--head); cursor: pointer; display: grid; place-items: center; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav li { margin: 0; }
.drawer-nav a, .drawer-nav .sub-toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 8px 10px; border: 0; border-radius: var(--r-s); background: none; color: var(--text); font: 600 1rem/1.2 var(--ff-body); text-decoration: none; text-align: left; cursor: pointer; }
.drawer-nav .ico { color: var(--lime); }
.drawer-nav a[aria-current="page"] { background: var(--panel-2); color: var(--head); }
.drawer-nav .sub-head { display: flex; align-items: center; }
.drawer-nav .sub-head > a { flex: 1; }
.drawer-nav .sub-chev { width: 48px; justify-content: center; flex: none; }
.drawer-nav .sub-toggle .ico:last-child { margin-left: auto; width: 18px; height: 18px; transition: transform .15s; }
.drawer-nav .has-sub.open .sub-toggle .ico:last-child { transform: rotate(180deg); }
.drawer-nav .sub { display: none; padding-left: 22px; border-left: 2px solid var(--line-2); margin-left: 19px; }
.drawer-nav .has-sub.open .sub { display: block; }
.drawer-cta { display: grid; gap: 10px; margin: 20px 0 14px; }
.drawer-note { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.scrim { position: fixed; inset: 0; background: rgba(10, 11, 12, .7); z-index: 65; }
.scrim[hidden] { display: none; }

/* ---------- первый экран: графитовая полоса во всю ширину, «кольца вращения» и фиолетовое свечение ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 16px 0 0; background: radial-gradient(60% 90% at 88% 10%, rgba(107, 52, 239, .32), transparent 60%), radial-gradient(45% 70% at 8% 100%, rgba(149, 254, 44, .12), transparent 70%), var(--ink); color: var(--text); }
.hero::before { content: ""; position: absolute; z-index: -1; right: -180px; top: -160px; width: 620px; height: 620px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 46px, rgba(149, 254, 44, .09) 47px 49px); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--lime), var(--violet)); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 6px; padding: 0 var(--pad); font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a:hover { color: var(--head); }
.crumbs [aria-current] { color: var(--text); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 26px var(--pad) 60px; }
.hero-grid.single { grid-template-columns: minmax(0, 1fr); }
.hero-text { min-width: 0; }
.hero h1 { margin-bottom: 18px; color: #fff; }
.lead { font-size: 1.07rem; color: var(--text); max-width: 640px; }
.lead a { color: var(--lime); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.hero-actions .btn-ghost { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.hero-actions .btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--lime); }
.hero-note { margin: 10px 0 0; color: var(--muted); font-size: .87rem; display: flex; align-items: center; gap: 8px; }
.badge-18 { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 999px; border: 2px solid var(--warn); color: var(--head); font: 700 .76rem/1 var(--ff-head); }
.hero-legal .hero-grid { padding: 22px var(--pad) 44px; }
.hero-legal h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); }

/* картинка/макет справа */
.hero-art2 { position: relative; margin: 0; min-width: 0; display: grid; gap: 14px; justify-items: stretch; }
.art-chip, .shot-tag { justify-self: start; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid var(--line-2); font-size: .85rem; color: var(--text); }
.ui-card { background: rgba(26, 28, 31, .92); border: 1px solid var(--line-2); border-radius: var(--r-l); padding: 20px; box-shadow: var(--shadow-dark); }
.ui-eyebrow { margin: 0 0 12px; font: 600 .78rem/1.3 var(--ff-head); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.ui-title { margin: 0 0 12px; font: 600 1rem/1.25 var(--ff-head); color: var(--head); display: flex; align-items: center; gap: 8px; }
.ui-field { margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--muted); font-size: .92rem; }
.ui-btn { margin: 12px 0 0; padding: 13px; border-radius: 999px; text-align: center; background: var(--lime); color: var(--lime-ink); font: 700 .95rem/1 var(--ff-body); }
.ui-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.ui-methods span, .mk-chips span { padding: 6px 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: .84rem; color: var(--text); }
/* лестница из 4 депозитов: фиолетовые карточки как промо оператора */
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offer { margin: 0; display: grid; gap: 4px; padding: 14px; border-radius: var(--r-m); background: linear-gradient(150deg, #3a1d8f, #22114f); border: 1px solid rgba(180, 150, 255, .28); }
.offer.o2, .offer.o4 { background: linear-gradient(150deg, #2b2f12, #1a1c10); border-color: rgba(149, 254, 44, .3); }
.offer-kicker { font: 600 .76rem/1.2 var(--ff-head); text-transform: uppercase; color: #cbbcff; letter-spacing: .06em; }
.offer.o2 .offer-kicker, .offer.o4 .offer-kicker { color: var(--lime); }
.offer b { font: 700 1.02rem/1.25 var(--ff-head); color: #fff; }
.offer-sub { font-size: .84rem; color: var(--text); }
.coupon-note { margin: 12px 0 0; font-size: .85rem; color: var(--muted); }
/* таймлайн вывода */
.timeline { list-style: none; margin: 0 0 14px; padding: 0; counter-reset: t; display: grid; gap: 10px; }
.timeline li { counter-increment: t; position: relative; margin: 0; padding: 8px 0 8px 46px; display: grid; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 6px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font: 700 .9rem/1 var(--ff-head); }
.timeline li span { color: var(--muted); font-size: .9rem; }
/* чат поддержки */
.ui-chat .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(149, 254, 44, .2); }
.bubble { margin: 0 0 10px; padding: 10px 14px; border-radius: 16px; max-width: 88%; font-size: .93rem; }
.bubble.in { background: var(--panel-2); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
.bubble.out { margin-left: auto; background: var(--violet); color: #fff; border-bottom-right-radius: 4px; font-weight: 600; }
.ui-toast { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-m); background: var(--panel); border: 1px solid var(--line-2); }
.ui-toast .ok { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); font-weight: 800; }
.ui-toast b { display: block; }
/* лицензия */
.ui-license { position: relative; }
.lic-mark { position: absolute; right: 18px; top: 16px; width: 48px; height: auto; }
.ui-dl, .ui-dl div { margin: 0; }
.ui-dl { display: grid; gap: 10px; }
.ui-dl div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); }
.ui-dl dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ui-dl dd { margin: 0; color: var(--head); font-weight: 700; }
/* приложение: телефон + способы установки */
.kind-app { grid-template-columns: 170px 1fr; align-items: center; }
.art-phone { position: relative; border-radius: 34px; padding: 9px; background: #050506; border: 2px solid #3a3f45; box-shadow: var(--shadow-dark); }
.art-phone .notch { position: absolute; z-index: 2; top: 14px; left: 50%; width: 54px; height: 14px; margin-left: -27px; border-radius: 10px; background: #050506; }
.art-phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
.home-screen { position: relative; aspect-ratio: 9 / 18; border-radius: 26px; overflow: hidden; background: radial-gradient(120% 80% at 20% 0%, #4a2aa6, #121315 70%); padding: 34px 14px 14px; }
.home-time { display: block; text-align: center; font: 600 1.15rem/1 var(--ff-head); color: #fff; margin-bottom: 18px; }
.home-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.home-apps > span:not(.is-loco) { aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, .12); }
.is-loco { grid-column: span 2; grid-row: span 2; display: grid; place-items: center; gap: 4px; padding: 8px; border-radius: 16px; background: var(--ink); border: 1px solid var(--lime); }
.is-loco .home-mark { width: 48px; height: auto; }
.is-loco span { font: 700 .78rem/1 var(--ff-head); color: #fff; }
.ui-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.opt { margin: 0; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2); }
.opt-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--panel-3); color: var(--lime); }
.opt-ico svg { width: 20px; height: 20px; }
.opt b { display: block; color: var(--head); }
.opt-sub { font-size: .85rem; color: var(--muted); }
.opt-steps { font: 600 .76rem/1 var(--ff-head); color: var(--lime-ink); background: var(--lime); padding: 6px 9px; border-radius: 999px; }
.app-gift { margin: 12px 0 0; font-size: .9rem; color: var(--lime); font-weight: 700; }
/* карточки фактов, рынки, плитки, скриншоты */
.mk-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mk-rows li { margin: 0; display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: var(--panel-2); }
.mk-label { color: var(--muted); font-size: .88rem; }
.mk-val { color: var(--head); font-weight: 700; }
.mk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ui-tile img, .ui-minis img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line-2); }
.ui-cover2 img { display: block; width: 100%; height: auto; border-radius: var(--r-l); border: 1px solid var(--line-2); }
.kind-cover { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
.kind-cover .ui-minis { display: none; }
.ui-screen { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-dark); background: #050506; }
.ui-screen img { display: block; width: 100%; height: auto; }
.kind-screencard { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.kind-screencard.wide { grid-template-columns: minmax(0, 1fr); }
.kind-phonecard { grid-template-columns: 210px minmax(0, 1fr); align-items: center; }
.art-404 { display: grid; place-items: center; gap: 4px; }
.mark-404 { width: 120px; height: auto; }
.big-404 { margin: 0; font: 800 6.5rem/1 var(--ff-head); color: transparent; -webkit-text-stroke: 2px var(--lime); }

/* ---------- оглавление под первым экраном ---------- */
.tabs { position: sticky; top: var(--top); z-index: 40; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(18, 19, 21, .05); }
.tabs ul { list-style: none; margin: 0 auto; max-width: 1248px; padding: 10px calc(var(--gutter) + var(--pad)); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs li { margin: 0; flex: none; }
.tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.tabs a:hover { border-color: var(--line-2); color: var(--head); }
.tabs a.active { background: var(--ink); border-color: var(--ink); color: var(--lime); }

/* ---------- содержимое ---------- */
.page { max-width: 1248px; margin: 0 auto; padding: 40px var(--gutter) 96px; }
.content > section { position: relative; background: var(--panel); border-radius: var(--r-l); padding: 42px var(--pad) 30px; margin: 0 0 30px; box-shadow: var(--shadow); }
.content > section > h2 { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
/* маркер H2 — «кнопка вращения»: лаймовый диск с графитовым центром */
.content > section > h2::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: .14em; border-radius: 50%; background: radial-gradient(circle, var(--ink) 0 30%, var(--lime) 32% 100%); box-shadow: 0 0 0 4px var(--lime-soft); }
.content > section > h2 .h-ico { display: none; }
.content h3 { margin-top: 26px; }
.content > section > *:last-child { margin-bottom: 8px; }
.content p, .content li { max-width: 860px; }
.content ul:not([class]) { list-style: none; padding-left: 0; }
.content ul:not([class]) > li { position: relative; padding-left: 26px; }
.content ul:not([class]) > li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 11px; height: 11px; border-radius: 50%; border: 3px solid var(--lime-deep); }
.content ol:not([class]) > li::marker { color: var(--lime-deep); font-weight: 700; }
.content.legal > section { padding-top: 36px; }
.meta-line { margin: 8px 0 0; padding: 0 var(--pad); color: var(--muted); font-size: .9rem; }

/* таблицы */
.table-wrap { overflow-x: auto; margin: 22px 0 26px; border-radius: var(--r-m); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
thead th { background: var(--ink); color: #fff; font: 600 .8rem/1.3 var(--ff-head); letter-spacing: .03em; text-align: left; padding: 14px 16px; }
thead th:first-child { box-shadow: inset 4px 0 0 var(--lime); }
tbody th, tbody td { text-align: left; vertical-align: top; padding: 13px 16px; border-top: 1px solid var(--line); }
tbody th { color: var(--head); font-weight: 700; }
tbody tr:nth-child(even) { background: var(--panel-2); }
/* сетка фактов */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 22px 0 26px; }
.facts div { margin: 0; padding: 16px 18px; border-radius: var(--r-m); background: var(--panel-2); border: 1px solid var(--line); border-left: 4px solid var(--lime); }
.facts dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--head); font: 600 1rem/1.35 var(--ff-head); }
/* карточки */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px; margin: 22px 0 26px; }
.card { position: relative; padding: 22px 20px 18px; border-radius: var(--r-m); background: var(--panel-2); border: 1px solid var(--line); }
.card-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; background: var(--ink); color: var(--lime); }
.card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.card p:last-child { margin-bottom: 0; }
.card .big { display: block; font: 700 1.45rem/1.1 var(--ff-head); color: var(--violet); margin-bottom: 6px; }
/* шаги */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.steps > li { counter-increment: s; position: relative; margin: 0; padding: 16px 18px 16px 70px; border-radius: var(--r-m); background: var(--panel-2); border: 1px solid var(--line); max-width: none; }
.steps > li::before { content: counter(s); position: absolute; left: 18px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font: 700 .95rem/1 var(--ff-head); box-shadow: 0 0 0 4px var(--lime-soft); }
.steps.from-2 { counter-reset: s 1; } .steps.from-3 { counter-reset: s 2; } .steps.from-4 { counter-reset: s 3; } .steps.from-5 { counter-reset: s 4; } .steps.from-6 { counter-reset: s 5; } .steps.from-7 { counter-reset: s 6; } .steps.from-8 { counter-reset: s 7; }
.steps > li.has-shot { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 24px; align-items: start; }
.step-text { display: block; }
.step-shot { display: block; }
.step-shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line-2); }
.howto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; margin: 22px 0 26px; }
.howto-card { padding: 20px; border-radius: var(--r-m); background: var(--panel-2); border: 1px solid var(--line); border-top: 4px solid var(--violet); }
.howto-card:nth-child(odd) { border-top-color: var(--lime); }
.howto-card h3 { margin-top: 0; }
.howto-card ol { margin: 0; padding-left: 22px; }
.howto-card li::marker { color: var(--lime-deep); font-weight: 700; }
/* чипы, галочки, выноски */
.chips { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: .93rem; color: var(--text); }
.check { list-style: none; padding: 0; }
.check li { position: relative; padding-left: 32px; }
.check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23121315' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.note { margin: 22px 0 26px; padding: 16px 20px; border-radius: var(--r-m); background: var(--violet-soft); border: 1px solid #d9cdfb; border-left: 4px solid var(--violet); }
.note p:last-child { margin-bottom: 0; }
.note.tip { background: var(--lime-soft); border-color: #cdeea8; border-left-color: var(--lime-deep); }
.note.warn { background: #fdecec; border-color: #f4c2c3; border-left-color: var(--warn); }
/* блок с партнёрской кнопкой: графитовая плашка с кольцами */
.cta-box { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; margin: 30px 0; padding: 26px 30px; border-radius: var(--r-l); background: radial-gradient(70% 140% at 100% 0%, rgba(107, 52, 239, .45), transparent 60%), var(--ink); color: var(--text); }
.cta-box::after { content: ""; position: absolute; z-index: -1; right: -70px; bottom: -150px; width: 300px; height: 300px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 26px, rgba(149, 254, 44, .14) 27px 29px); pointer-events: none; }
.cta-box p { margin: 0; max-width: 640px; }
.cta-title { display: block; color: #fff; font: 700 1.15rem/1.3 var(--ff-head); margin-bottom: 4px; }
.cta-sub { color: var(--text); }
/* плитки игр */
.games { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 22px 0 26px; }
.game { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); }
.game .art { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--ink); box-shadow: 0 6px 16px rgba(18, 19, 21, .14); }
.game .art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.game .art::after { content: attr(data-play); position: absolute; inset: auto 10px 10px; padding: 9px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font: 700 .85rem/1 var(--ff-body); text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
a.game:hover .art img { transform: scale(1.05); }
a.game:hover .art::after, a.game:focus-visible .art::after { opacity: 1; transform: none; }
.game-name { font-weight: 700; font-size: .92rem; line-height: 1.3; color: var(--head); }
.game-prov { font-size: .8rem; color: var(--muted); }
.game .art.g1 { background: linear-gradient(150deg, var(--violet), var(--ink)); }
.game .art.g2, .game .art.g3, .game .art.g4, .game .art.g5, .game .art.g6, .game .art.g7, .game .art.g8 { background: linear-gradient(150deg, #2b2f12, var(--ink)); }
/* скриншоты в рамке телефона */
.phones { display: flex; flex-wrap: wrap; gap: 22px; margin: 22px 0 26px; }
.phone-shot { margin: 0; width: min(250px, 100%); }
.phone-shot .pf { display: block; padding: 9px; border-radius: 34px; background: #050506; border: 2px solid #3a3f45; box-shadow: var(--shadow); }
.phone-shot img { display: block; width: 100%; height: auto; border-radius: 26px; }
.phone-shot figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); text-align: center; }
/* FAQ */
.faq details { margin: 0 0 10px; border-radius: var(--r-m); background: var(--panel-2); border: 1px solid var(--line); }
.faq details[open] { background: var(--panel); border-color: var(--line-2); box-shadow: 0 6px 18px rgba(18, 19, 21, .06); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 17px 58px 17px 20px; min-height: 44px; font: 700 1.03rem/1.4 var(--ff-body); color: var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font: 700 1.15rem/1 var(--ff-body); }
.faq details[open] summary::after { content: "−"; background: var(--lime); color: var(--lime-ink); }
.faq details > div { padding: 0 20px 14px; }

/* ---------- подвал ---------- */
.site-footer { background: var(--ink); padding: 56px 0 120px; color: var(--muted); font-size: .94rem; }
.site-footer .wrap > * { padding-left: var(--pad); padding-right: var(--pad); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.footer-about p { margin: 14px 0; max-width: 340px; }
.site-footer h2 { font: 600 .8rem/1.3 var(--ff-head); text-transform: uppercase; letter-spacing: .08em; color: var(--lime); margin: 8px 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--lime); }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--panel); border: 1px solid var(--line-2); }
.socials svg { width: 20px; height: 20px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .82rem; color: var(--text); }
.badge-y { border-color: var(--warn); color: var(--head); font-weight: 800; }
.disclaimer { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .87rem; }
.disclaimer a { display: inline; min-height: 0; text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; color: var(--text); text-decoration: underline; font: inherit; cursor: pointer; min-height: 44px; }

/* нижний бар на телефоне */
.bottom-bar { display: none; }
/* cookie-баннер */
.consent { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; max-width: 540px; margin-left: auto; background: var(--panel); border: 1px solid var(--line-2); border-top: 3px solid var(--lime); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 18px; font-size: .93rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; }
.consent-btns { display: flex; gap: 10px; }
.consent-btns .btn { flex: 1; }
body.menu-open .consent { z-index: 60; }
/* кнопка «наверх» */
.to-top { position: fixed; z-index: 44; right: 24px; bottom: 24px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: var(--lime); cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.to-top:hover { background: var(--lime); color: var(--lime-ink); }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-art2 { max-width: 560px; }
}
@media (max-width: 899px) {
  :root { --top: 62px; --gutter: 0px; --pad: 16px; }
  body { font-size: 16px; }
  .topbar-in { padding: 0 var(--pad); gap: 12px; }
  .main-nav { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-text { font-size: .9rem; }
  .hero { padding-top: 4px; }
  .hero::before { width: 420px; height: 420px; right: -200px; top: -120px; }
  .hero-grid { padding: 18px var(--pad) 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .page { padding-top: 18px; }
  .content > section { border-radius: 0; padding: 30px var(--pad) 22px; margin-bottom: 12px; box-shadow: none; }
  .site-footer { padding-bottom: 110px; }
  .bottom-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(18, 19, 21, .97); border-top: 1px solid var(--line-2); padding-bottom: env(safe-area-inset-bottom); }
  .bottom-bar ul { list-style: none; margin: 0 auto; padding: 0 4px; max-width: 520px; display: grid; grid-template-columns: repeat(5, 1fr); }
  .bottom-bar li { margin: 0; }
  .bottom-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; color: var(--muted); text-decoration: none; font-size: .8rem; font-weight: 600; }
  .bottom-bar a[aria-current] { color: var(--lime); }
  .bottom-bar .bb-btn { width: 48px; height: 48px; margin-top: -20px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 0 5px var(--ink), 0 6px 18px rgba(149, 254, 44, .35); }
  .bottom-bar .bb-main a { color: var(--head); }
  .to-top { bottom: 84px; right: 14px; }
  .consent { bottom: 76px; }
  .tabs ul { padding: 8px var(--pad); }
  .steps > li.has-shot { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .step-shot { max-width: 240px; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.34rem; hyphens: auto; -webkit-hyphens: auto; }
  h2 { font-size: 1.15rem; hyphens: auto; -webkit-hyphens: auto; }
  .kind-app, .kind-screencard, .kind-phonecard, .kind-cover { grid-template-columns: minmax(0, 1fr); }
  .kind-app .art-phone, .kind-phonecard .art-phone { width: 170px; justify-self: center; }
  .ui-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .cta-box { padding: 22px 18px; }
  .cta-box .btn { flex: 1 1 100%; }
  .offers { grid-template-columns: 1fr 1fr; }
  .mk-rows li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  /* таблицы от 3 колонок → карточки «метка — значение» */
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 12px 14px; border-top: 1px solid var(--line); }
  table.stack tbody th { padding: 0 0 6px; border: 0; font-size: 1.02rem; }
  table.stack td { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 10px; padding: 5px 0; border: 0; }
  table.stack td::before { content: attr(data-label); color: var(--muted); font-size: .86rem; }
  table.stack td > .cv { min-width: 0; }
}
@media (max-width: 380px) { .offers { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- макеты первого экрана: вход, баннер, знак ---------- */
.kind-login { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.ui-login-form .ui-title { justify-content: center; font-size: 1.05rem; }
.login-mark { width: 28px; height: auto; }
.ui-banner { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-dark); }
.ui-banner img { display: block; width: 100%; height: auto; }
.kind-facts { position: relative; }
.ui-crown { justify-self: start; padding: 14px; border-radius: 50%; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); }
.crown-mark { display: block; width: 64px; height: auto; }
@media (max-width: 640px) { .kind-login { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .top-actions .hide-sm { display: none; } }
/* зоны нажатия ≥ 44×44 */
.site-footer a, .crumbs a { min-width: 44px; }

/* шаги со скриншотами: карточки в ряд (картинка, номер, текст); на телефоне — лента со свайпом */
.steps.shots { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.steps.shots > li.has-shot { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 16px; }
.steps.shots > li::before { left: 20px; top: 20px; z-index: 2; box-shadow: 0 0 0 4px rgba(18, 19, 21, .55); }
.steps.shots .step-shot { order: -1; }
.steps.shots .step-shot img { height: 320px; width: 100%; object-fit: contain; background: var(--ink); }
.steps.shots .step-text { font-size: .95rem; line-height: 1.55; }
@media (max-width: 1100px) { .steps.shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .steps.shots { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .steps.shots > li { scroll-snap-align: start; }
  .steps.shots .step-shot { max-width: none; }
  .steps.shots .step-shot img { height: 340px; }
}
@media (max-width: 640px) { .kind-tiles .under-tiles { display: none; } }

/* первый экран «браузер + телефон»: десктопный скриншот в рамке окна и мобильный экран поверх справа снизу */
.lay-browser { padding: 0 44px 46px 0; }
.shot-main { border-radius: 14px; overflow: hidden; background: #050506; border: 1px solid var(--line-2); box-shadow: var(--shadow-dark); }
.shot-bar { display: flex; gap: 6px; padding: 9px 12px; background: #24272b; }
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: #4a4f56; }
.shot-bar span:first-child { background: var(--lime); }
.shot-main img { display: block; width: 100%; height: auto; }
.art-phone-side { position: absolute; right: 0; bottom: 0; width: 31%; max-width: 172px; padding: 6px; border-radius: 26px; }
.art-phone-side .notch { top: 10px; width: 40px; height: 10px; margin-left: -20px; }
.art-phone-side img { border-radius: 20px; }
@media (max-width: 640px) { .lay-browser { padding: 0 26px 34px 0; } .art-phone-side { width: 34%; border-radius: 20px; padding: 5px; } .art-phone-side img { border-radius: 15px; } }

/* crash-макет: карточка с кривой множителя + обложка Aviator рядом */
.kind-crash { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; }
.ui-cover { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-dark); }
.ui-cover img { display: block; width: 100%; height: auto; }
.crash-curve { display: block; width: 100%; height: 110px; margin: 4px 0 14px; color: var(--lime); }
@media (max-width: 640px) { .kind-crash { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; } }
/* длинные немецкие слова в карточках и таблицах — переносом, а не за край */
.facts dd, .card h3, .card p, td, tbody th, .chips li, .ui-dl dd, .mk-val, .opt b { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* переносы на телефоне только в длинных словах; бренд в заголовках не переносится */
h1, h2 { hyphenate-limit-chars: 11 5 4; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 4; }
.nb { white-space: nowrap; hyphens: none; -webkit-hyphens: none; }


/* =====================================================================================================================
   v2 «Spin Lobby» — ближе к лобби SpinGreen: левое меню, тёмные блоки, Akrobat, промо-баннер, карточки-истории
   ===================================================================================================================== */
:root { --side: 252px; --gutter: 24px; --pad: 32px; --shell: 1480px; }
body { background: var(--bg); }
a:hover { color: var(--lime-hi); }
:focus-visible { outline-color: var(--lime); }
h1, h2, h3, h4 { font-family: var(--ff-head); letter-spacing: 0; line-height: 1.08; }
h1 { font-size: clamp(2.1rem, 1.45rem + 2vw, 3.15rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1vw, 2.15rem); font-weight: 800; }
h3 { font-size: 1.32rem; font-weight: 800; }
/* кнопки как у оператора: заглавные, Akrobat, «таблетка»; у «Registrieren» в шапке — галочка в кружке */
.btn { font: 900 1.06rem/1 var(--ff-head); text-transform: uppercase; letter-spacing: .04em; min-height: 48px; padding: 12px 26px; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .98rem; }
.btn-ghost, .btn-dark, .btn-alt { box-shadow: inset 0 0 0 2px #4a4f56; color: #fff; }
.btn-check { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--lime); }
.btn-check .ico { width: 14px; height: 14px; stroke-width: 3; }
.btn-reg { padding-left: 12px; }

/* шапка: на всю ширину, логотип над левой колонкой */
.topbar { background: var(--ink); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: var(--shell); padding: 0 var(--gutter); gap: 16px; }
.burger { display: none; }

/* каркас: левая колонка меню + основная колонка */
.shell { max-width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); align-items: start; }
.sidebar { position: sticky; top: var(--top); max-height: calc(100vh - var(--top)); overflow-y: auto; scrollbar-width: thin; padding: 18px 14px 28px var(--gutter); }
.sidebar-in { display: grid; gap: 14px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sidebar li { margin: 0; }
.sidebar a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
.sidebar .sn-item > a { background: var(--panel); font: 800 1.04rem/1.1 var(--ff-head); text-transform: uppercase; letter-spacing: .03em; }
.sidebar .sn-item > a .ico { color: var(--lime); }
.sidebar .sn-sub > a { margin-left: 18px; padding-left: 14px; min-height: 40px; border-left: 2px solid var(--line-2); border-radius: 0 10px 10px 0; font: 600 .95rem/1.2 var(--ff-body); color: var(--muted); }
.sidebar .sn-sub > a .ico { width: 17px; height: 17px; color: var(--muted); }
.sidebar .sn-group { margin: 10px 0 2px 12px; font: 800 .82rem/1 var(--ff-head); letter-spacing: .1em; text-transform: uppercase; color: #737b75; }
.sidebar a:hover { background: var(--panel-2); color: #fff; }
.sidebar a[aria-current="page"] { background: var(--lime-soft); color: #fff; box-shadow: inset 3px 0 0 var(--lime); }
.sidebar .sn-sub > a[aria-current="page"] { border-left-color: var(--lime); box-shadow: none; }
.sn-app { display: grid !important; grid-template-columns: 34px 1fr; gap: 10px !important; padding: 12px !important; border-radius: 14px !important; background: linear-gradient(140deg, #2a2f14, #1a1c1f) !important; border: 1px solid rgba(149, 254, 44, .45); }
.sn-app img { width: 34px; height: 34px; }
.sn-app b { display: block; font: 900 1.02rem/1.05 var(--ff-head); text-transform: uppercase; color: #fff; }
.sn-app span { font-size: .84rem; line-height: 1.3; color: var(--muted); }
.sn-note { margin: 6px 0 0 12px; display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }

/* первый экран — промо-баннер в основной колонке (как баннеры «Welcome Package» у оператора) */
main { min-width: 0; padding: 18px var(--gutter) 0 6px; }
.hero { margin: 0; border-radius: 22px; padding: 6px 0 0; background: radial-gradient(70% 120% at 92% 0%, rgba(107, 52, 239, .55), transparent 62%), radial-gradient(60% 90% at 0% 100%, rgba(149, 254, 44, .14), transparent 70%), linear-gradient(160deg, #1e1a2e, #141417 60%); border: 1px solid #2c2a3a; }
.hero::before { right: -160px; top: -200px; }
.hero::after { display: none; }
.hero .wrap { max-width: none; padding: 0; }
.crumbs { padding: 10px var(--pad) 0; }
.hero-grid { padding: 18px var(--pad) 40px; gap: 40px; }
.hero h1 { text-transform: none; }
.lead { font-size: 1.04rem; }
/* карточки-истории на главной */
.stories { list-style: none; margin: 0; padding: 0 var(--pad) 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stories li { margin: 0; }
.story { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 360 / 230; text-decoration: none; border: 1px solid rgba(255, 255, 255, .08); }
.story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; transition: transform .25s; }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 19, 21, .92) 0%, rgba(18, 19, 21, .55) 52%, transparent 80%); }
.story-txt { position: absolute; z-index: 1; left: 14px; right: 40%; bottom: 14px; display: grid; gap: 2px; }
.story-kicker { justify-self: start; padding: 4px 9px; border-radius: 6px; background: var(--violet); color: #fff; font: 800 .8rem/1 var(--ff-head); letter-spacing: .06em; text-transform: uppercase; }
.stories li:nth-child(2) .story-kicker { background: #ffd400; color: var(--ink); }
.story b { margin-top: 6px; font: 900 1.28rem/1.02 var(--ff-head); text-transform: uppercase; color: #fff; }
.story-sub { font-size: .84rem; color: #e3e6df; }
a.story:hover img { transform: scale(1.05); }

/* оглавление — «категории» как в лобби: тёмные плашки, заглавные */
.tabs { top: var(--top); margin: 0 0 4px; background: var(--bg); border: 0; box-shadow: 0 10px 18px rgba(0, 0, 0, .35); }
.tabs ul { max-width: none; padding: 12px var(--pad) 12px var(--pad); gap: 8px; }
.tabs a { min-height: 44px; padding: 0 16px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font: 800 .98rem/1 var(--ff-head); letter-spacing: .04em; text-transform: uppercase; }
.tabs a:hover { background: var(--panel-2); color: #fff; }
.tabs a.active { background: var(--lime); border-color: var(--lime); color: var(--ink); }

/* содержимое: тёмные блоки, как витрины лобби */
.page { max-width: none; margin: 0; padding: 14px 0 80px; }
.content > section { background: var(--panel); border: 1px solid var(--line); box-shadow: none; border-radius: 18px; padding: 34px var(--pad) 24px; margin-bottom: 16px; }
.content > section > h2::before { margin-top: .05em; box-shadow: 0 0 0 4px var(--lime-soft); }
.meta-line { padding: 0 var(--pad); }
thead th { background: var(--panel-3); color: #fff; font: 800 .98rem/1.2 var(--ff-head); letter-spacing: .04em; text-transform: uppercase; }
thead th:first-child { box-shadow: inset 4px 0 0 var(--lime); }
.table-wrap { border-color: var(--line-2); }
.facts div { background: var(--panel-2); border-color: var(--line); }
.facts dd { font: 800 1.16rem/1.25 var(--ff-head); }
.card { background: var(--panel-2); border-color: var(--line); }
.card h3 { font-size: 1.22rem; }
.card .big { color: var(--lime); font-family: var(--ff-head); font-weight: 900; font-size: 1.8rem; }
.card-ico { background: var(--lime-soft); color: var(--lime); }
.steps > li { background: var(--panel-2); border-color: var(--line); }
.steps > li::before { font: 900 1.1rem/1 var(--ff-head); }
.howto-card { background: var(--panel-2); border-color: var(--line); }
.chips li { background: var(--panel-2); border-color: var(--line-2); }
.note { background: var(--violet-soft); border-color: rgba(140, 100, 255, .35); }
.note.tip { background: var(--lime-soft); border-color: rgba(149, 254, 44, .3); border-left-color: var(--lime); }
.note.warn { background: rgba(217, 61, 66, .12); border-color: rgba(217, 61, 66, .4); }
/* плашка CTA — фиолетовый промо-баннер */
.cta-box { background: radial-gradient(80% 160% at 100% 0%, rgba(149, 254, 44, .18), transparent 55%), linear-gradient(115deg, #4b22b8, #26114f 70%); border: 1px solid rgba(180, 150, 255, .3); }
.cta-title { font: 900 1.5rem/1.1 var(--ff-head); text-transform: uppercase; }
.game .art { border-radius: 12px; }
.game-name { font: 800 1.02rem/1.15 var(--ff-head); color: #fff; }
.faq details { background: var(--panel-2); border-color: var(--line); }
.faq details[open] { background: var(--panel-3); border-color: var(--line-2); box-shadow: none; }
.faq summary { font-weight: 700; color: #fff; }
.faq summary::after { background: var(--panel-3); }
.ui-card { background: rgba(18, 19, 21, .88); }
.ui-eyebrow, .offer-kicker { font-family: var(--ff-head); font-weight: 800; font-size: .86rem; letter-spacing: .08em; }
.ui-title { font-family: var(--ff-head); font-weight: 800; font-size: 1.15rem; }
.facts dt, .ui-dl dt { letter-spacing: .05em; }
.badge-18 { font: 900 .82rem/1 var(--ff-head); }
.big-404 { font: 900 7rem/1 var(--ff-head); }
.site-footer h2 { font: 800 .95rem/1.2 var(--ff-head); letter-spacing: .1em; }
.site-footer .wrap { max-width: var(--shell); }
.to-top { background: var(--panel-3); }
.bottom-bar .bb-menu { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 100%; min-height: 58px; border: 0; background: none; color: var(--muted); font: 600 .8rem/1.2 var(--ff-body); cursor: pointer; }
.bottom-bar .bb-btn { border-radius: 50%; }

@media (max-width: 1240px) { .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* до 1100 px: меню слева прячется, бургер открывает панель */
@media (max-width: 1099px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  main { padding: 14px var(--gutter) 0; }
}
@media (max-width: 899px) {
  :root { --gutter: 0px; --pad: 16px; }
  main { padding: 0; }
  .hero { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
  .content > section { border-radius: 0; border-left: 0; border-right: 0; margin-bottom: 10px; }
  .tabs ul { padding: 8px var(--pad); }
  .stories { gap: 10px; padding-bottom: 22px; }
  .story b { font-size: 1.12rem; }
  .story-txt { right: 30%; }
}
@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .stories { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: var(--pad); scrollbar-width: none; }
  .stories::-webkit-scrollbar { display: none; }
  .stories li { scroll-snap-align: start; }
}
/* логотип крупнее — как надпись SPINGREEN в шапке оператора */
.logo-text { font: 900 1.55rem/1 var(--ff-head); letter-spacing: .01em; }
.logo-mark { width: 36px; height: 36px; }
@media (max-width: 899px) { .logo-text { font-size: 1.35rem; } .logo-mark { width: 32px; height: 32px; } }
/* зоны нажатия ≥ 44 px: бургер не сжимается, подпункты бокового меню — 44 px */
.burger { flex: none; width: 44px; min-width: 44px; }
.sidebar .sn-sub > a { min-height: 44px; }
/* H2 не flex: иначе текст и <span class="nb"> становятся отдельными flex-элементами и не переносятся */
.content > section > h2 { display: block; position: relative; padding-left: 36px; }
.content > section > h2::before { position: absolute; left: 0; top: .12em; margin: 0; }
/* узкие телефоны: кнопка в шапке без галочки, логотип компактнее */
@media (max-width: 400px) {
  .btn-reg .btn-check { display: none; }
  .btn-reg { padding: 10px 14px; }
  .logo-text { font-size: 1.22rem; }
  .topbar-in { gap: 10px; }
}
/* переносы в карточках и таблицах — только для действительно длинных слов */
.facts dd, .card h3, .card p, td, tbody th, .chips li, .ui-dl dd, .mk-val, .opt b { hyphenate-limit-chars: 14 6 5; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 5; }
