/* Токены из макета business empire landing.fig (фрейм Desktop - 1, 1440 px) */
:root {
  --bg: #0c111c;
  --card: #11172f;
  --card-2: #1d2132;
  --stroke: #202a4b;
  --stroke-gold: #775d2c;
  --line: #b9d4ec;
  --gold: #e2a833;
  --gold-hi: #fed76e;
  --gold-lo: #e59a19;
  --ink: #ffffff;
  --ink-2: #ebebeb;
  --ink-dim: rgba(255, 255, 255, .64);
  --dark: #221a02;
  --glass: rgba(255, 255, 255, .15);
  --gold-grad: linear-gradient(90deg, var(--gold-hi), var(--gold-lo));

  --font: 'Space Grotesk', 'Manrope', system-ui, sans-serif; /* у Space Grotesk нет кириллицы — русские буквы берёт Manrope */
  --font-num: 'Manrope', system-ui, sans-serif;
  --container: 1312px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
/* лендинг-витрина: текст и картинки не выделяются (в т.ч. двойным кликом) и не перетаскиваются */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
img, svg, video, canvas { -webkit-user-drag: none; user-drag: none; }
::selection { background: transparent; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.skip { position: fixed; left: -999px; top: 10px; z-index: 300; padding: 8px 14px; border-radius: 8px; background: var(--gold); color: var(--dark); font-weight: 700; }
.skip:focus { left: 12px; }

/* ---------- прелоадер ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: #070a12; z-index: -1; }
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__logo { width: 190px; height: auto; filter: drop-shadow(0 10px 40px rgba(226, 168, 51, .45)); animation: loaderPulse 1.6s ease-in-out infinite; }
@keyframes loaderPulse { 50% { transform: scale(1.04); filter: drop-shadow(0 10px 60px rgba(226, 168, 51, .7)); } }
.loader__bar { width: 220px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--gold-grad); box-shadow: 0 0 12px var(--gold); }
.loader__pct { font: 800 14px/1 var(--font-num); color: var(--gold-hi); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.no-js .loader, .loader.is-done { display: none; }

/* ---------- курсор ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--gold-hi); }
.cursor__ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(254, 215, 110, .6);
  transition: width .35s var(--ease), height .35s var(--ease), background .35s ease, border-color .35s ease;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(254, 215, 110, .12); border-color: var(--gold-hi); }
.cursor.is-off .cursor__dot, .cursor.is-off .cursor__ring { opacity: 0; }
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--gold-grad); box-shadow: 0 0 10px var(--gold); }

/* ---------- кнопки ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 0 24px; border-radius: 8px;
  font: 700 15px/1 var(--font); text-transform: uppercase; white-space: nowrap;
  transition: box-shadow .3s ease, background .3s ease;
}
.btn svg { width: 24px; height: 24px; flex: none; }
.btn--gold { background: var(--gold-grad); color: var(--dark); box-shadow: 0 8px 24px -10px rgba(229, 154, 25, .8); }
.btn--gold:hover { box-shadow: 0 14px 34px -8px rgba(229, 154, 25, 1); }
.btn--glass { background: var(--glass); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }
.btn--white { background: #fff; color: var(--dark); }
.btn--sm { height: 35px; padding: 0 24px; }
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--shine::after {
  content: ""; position: absolute; z-index: -1; inset: 0 auto 0 -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-20deg); animation: shine 3.8s ease-in-out infinite;
}
@keyframes shine { 0%, 62% { left: -60%; } 100% { left: 130%; } }

/* ---------- шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .4s ease, backdrop-filter .4s ease, transform .5s var(--ease); }
.header__row { display: flex; align-items: center; gap: 32px; height: 128px; transition: height .4s var(--ease); }
.header__row > .btn { transition: opacity .3s ease, box-shadow .3s ease, background .3s ease; }
.header__logo img { width: 148px; height: 74px; transition: width .4s var(--ease), height .4s var(--ease); }
.header.is-scrolled { background: rgba(12, 17, 28, .72); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header.is-scrolled .header__row { height: 76px; }
.header.is-scrolled .header__logo img { width: 104px; height: 52px; }
.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav a, .nav__watch { position: relative; display: inline-flex; align-items: center; gap: 4px; font: 700 16px/20px var(--font); text-transform: uppercase; }
.nav__watch svg { width: 24px; height: 24px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__foot { display: none; }
/* ---------- переключатель языка ---------- */
.lang-switch { position: relative; }
.lang-switch__btn { display: grid; place-items: center; width: 35px; height: 35px; color: #fff; transition: color .3s ease; }
.lang-switch__btn svg { width: 24px; height: 24px; transition: transform .6s var(--ease); }
.lang-switch__btn:hover, .lang-switch.is-open .lang-switch__btn { color: var(--gold-hi); }
.lang-switch.is-open .lang-switch__btn svg { transform: rotate(180deg); }
.lang-switch__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; padding: 6px; border-radius: 12px;
  background: rgba(17, 23, 47, .97); box-shadow: inset 0 0 0 1px var(--stroke), 0 20px 40px -10px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s ease, transform .25s var(--ease), visibility .25s;
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: none; }
.lang-switch__menu a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; font: 500 15px/1 var(--font); transition: background .2s ease, color .2s ease; }
.lang-switch__menu a img { width: 24px; height: 16px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.lang-switch__menu a:hover { background: rgba(255, 255, 255, .06); }
.lang-switch__menu a.is-active { color: var(--gold-hi); background: rgba(226, 168, 51, .1); }
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.langs a img { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.langs a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; font: 700 14px/1 var(--font); color: var(--ink-dim); box-shadow: inset 0 0 0 1px var(--stroke); transition: color .2s ease, box-shadow .2s ease; }
.langs a:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--gold); }
.langs a.is-active { color: var(--dark); background: var(--gold-grad); box-shadow: none; }
.section__note { display: block; margin-top: 6px; font-size: 13px; opacity: .7; }
.narrow-only { display: none; }
.burger { display: none; position: relative; width: 44px; height: 44px; margin-left: 4px; border-radius: 10px; background: var(--glass); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, top .3s ease; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; height: 677px; min-height: 620px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__img { position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; object-position: 70% 40%; will-change: transform; }
.hero__video { display: none; opacity: 0; transition: opacity .4s ease; }
.hero__video.is-on { opacity: 1; }
.hero__lamp, .hero__moon { position: absolute; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; }
.hero__lamp { left: 47%; top: 43%; width: 320px; height: 320px; margin: -160px; background: radial-gradient(circle, rgba(255, 190, 90, .5), rgba(255, 150, 40, .15) 40%, transparent 70%); animation: flicker 4s ease-in-out infinite; }
.hero__moon { left: 89%; top: 20%; width: 220px; height: 220px; margin: -110px; background: radial-gradient(circle, rgba(220, 235, 255, .45), transparent 65%); animation: breathe 6s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: .9; } 8% { opacity: .65; } 10% { opacity: .95; } 45% { opacity: .8; } 70% { opacity: 1; } }
@keyframes breathe { 50% { opacity: .55; transform: scale(1.12); } }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__vignette { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 17, 28, .55), transparent 22%, transparent 70%, rgba(12, 17, 28, .7)); }
.hero__inner { position: relative; height: 100%; }
.hero__card {
  position: absolute; left: 0; top: 181px; width: 601px; min-height: 439px; padding: 64px 40px 64px 64px;
  border-radius: 32px; background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.hero__card::before { /* золотая кромка, бегущая по периметру */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  /* приглушённо: даже если браузер не применит маску, блик едва заметен */
  background: conic-gradient(from var(--a, 0deg), transparent 0 76%, rgba(254, 215, 110, .32) 80%, transparent 84%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: edge 12s linear infinite;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes edge { to { --a: 360deg; } }
.hero__eyebrow { min-height: 15px; font: 300 12px/1.25 var(--font); text-transform: uppercase; letter-spacing: .02em; }
.hero__title { margin-top: 16px; max-width: 520px; font: 700 40px/1.02 var(--font); text-transform: uppercase; letter-spacing: -.005em; }
.hero__text { margin-top: 16px; max-width: 489px; font: 400 15px/1.3 var(--font); letter-spacing: .01em; }
.hero__text:first-of-type { margin-top: 16px; }
.hero__title + .hero__text { margin-top: 16px; }
.hero__text--strong { margin-top: 10px; }
.hero__actions { display: flex; gap: 16px; margin-top: 32px; }
.hero__scroll { position: absolute; right: 64px; bottom: 34px; display: flex; align-items: center; gap: 10px; font: 700 12px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); }
.hero__scroll span { position: relative; width: 1px; height: 40px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold-hi); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { to { top: 100%; } }

/* разбивка заголовков на буквы */
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-word { display: inline-block; white-space: nowrap; }
.split-char { display: inline-block; will-change: transform; }

/* ---------- бегущая строка ---------- */
.ticker { position: relative; z-index: 2; height: 41px; overflow: hidden; background: var(--gold-grad); box-shadow: 0 0 40px rgba(229, 154, 25, .35); }
.ticker__track { display: flex; align-items: center; height: 100%; width: max-content; will-change: transform; }
.ticker__track span { display: inline-flex; align-items: center; gap: 0; padding: 0 46px; font: 700 16px/20px var(--font); text-transform: uppercase; color: var(--dark); white-space: nowrap; }
.ticker__track span::after { content: "✦"; margin-left: 46px; font-size: 12px; opacity: .55; }

/* ---------- секции ---------- */
.section { position: relative; padding: 64px 0; }
.section__title { font: 700 20px/26px var(--font); text-transform: uppercase; text-align: center; }
.section__title--left { text-align: left; }
.section__sub { max-width: 620px; margin: 14px auto 0; text-align: center; color: var(--ink-dim); }

.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt::after { /* блик, следующий за курсором */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(254, 215, 110, .16), transparent 45%);
}
.tilt:hover::after { opacity: 1; }

/* trusted */
.trusted { padding-top: 64px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 64px; margin-top: 64px; }
.stat {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 16px;
  height: 182px; padding: 32px 16px 0; border-radius: 8px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--stroke);
  text-align: center; transition: box-shadow .4s ease;
}
.stat:hover { box-shadow: inset 0 0 0 1px rgba(226, 168, 51, .55), 0 30px 60px -30px rgba(226, 168, 51, .5); }
.stat__icon { position: relative; width: 64px; height: 64px; color: var(--gold); }
.stat__icon svg { width: 64px; height: 64px; }
.stat__icon::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 168, 51, .3), transparent 70%); opacity: 0; transform: scale(.6); transition: opacity .4s ease, transform .4s var(--ease); }
.stat:hover .stat__icon::before { opacity: 1; transform: scale(1); }
.stat p { font: 400 15px/1.25 var(--font); }

/* features */
.features { padding-top: 128px; }
.features__head { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.features__head p { max-width: 980px; font: 400 15px/1.3 var(--font); color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 64px; perspective: 1200px; }
.card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px;
  min-height: 363px; padding: 16px 16px 32px; border-radius: 8px; background: var(--card);
  text-align: center; overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(180deg, rgba(254, 215, 110, .5), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s ease; }
.card:hover::before { opacity: 1; }
.card__shot { width: 100%; height: 165px; display: grid; place-items: center; overflow: hidden; border-radius: 6px; }
.card__shot img { width: auto; max-width: 92%; max-height: 165px; object-fit: contain; border-radius: 6px; transition: transform .6s var(--ease); }
.card:hover .card__shot img { transform: scale(1.08) translateY(-4px); }
.card h3 { margin-top: 8px; font: 700 15px/1.25 var(--font); text-transform: uppercase; }
.card p { font: 400 15px/1.25 var(--font); color: var(--ink-2); }

/* how it works */
.how { padding-top: 128px; overflow-x: clip; }
.how__grid { position: relative; display: grid; grid-template-columns: 489px 1fr; align-items: start; margin-top: 32px; }
.steps { position: relative; list-style: none; margin: 0 0 0 74px; padding: 16px 16px 0; width: 353px; }
.step { position: relative; display: grid; justify-items: center; gap: 8px; height: 150px; margin-bottom: 32px; text-align: center; opacity: .35; transition: opacity .5s ease; }
.step:last-of-type { margin-bottom: 0; }
.step.is-active, .step.is-done { opacity: 1; }
.step__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--card); color: var(--gold); font: 800 20px/1 var(--font-num);
  box-shadow: inset 0 0 0 2px var(--gold);
  transition: background .5s ease, color .5s ease, box-shadow .5s ease, transform .5s var(--ease);
}
.step.is-active .step__num, .step.is-done .step__num { background: var(--gold); color: var(--dark); }
.step.is-active .step__num { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(226, 168, 51, .18), 0 0 40px rgba(226, 168, 51, .6); }
.step h3 { font: 700 20px/32px var(--font); }
.step p { max-width: 321px; font: 300 14px/1.6 var(--font); color: var(--ink-2); }
.steps__line { position: absolute; left: -24px; top: 16px; bottom: 0; width: 2px; border-radius: 2px; background: rgba(226, 168, 51, .18); z-index: 0; }
.steps__line i { display: block; width: 100%; height: 100%; background: linear-gradient(var(--gold-hi), var(--gold)); transform-origin: 50% 0; transform: scaleY(0); box-shadow: 0 0 10px var(--gold); }
.how__stage { position: relative; height: 728px; }
.how__note {
  position: absolute; left: 89px; top: 264px; width: 657px; min-height: 189px; padding: 32px; z-index: 1;
  border-radius: 8px; background: rgba(29, 33, 50, .82); box-shadow: inset 0 0 0 1px var(--stroke-gold), 0 30px 60px -30px rgba(0, 0, 0, .8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.how__note h3 { max-width: 316px; font: 700 20px/26px var(--font); text-transform: uppercase; }
.how__note p { max-width: 393px; margin-top: 16px; font: 400 15px/1.25 var(--font); }
.phone {
  position: absolute; left: 589px; top: 72px; width: 274px; height: 568px; z-index: 2;
  padding: 5px 7px; border-radius: 46px; background: #292d31;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), inset 0 0 0 2px #3a3f45, inset 0 0 0 5px #15181b;
  transform: rotate(10.3deg); transform-origin: 0 0;
}
/* отдельный слой с маской скругления: без него Safari рвёт отрисовку повёрнутого экрана
   при смене картинок (оранжевая заливка и полосы) */
.phone__screen {
  position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #000;
  isolation: isolate; transform: translateZ(0); -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s ease; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.phone__screen img.is-active { opacity: 1; }
.phone__glare { position: absolute; inset: 5px 7px; border-radius: 40px; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .18), transparent 30%, transparent 70%, rgba(255, 255, 255, .06)); }

/* gameplay */
.gameplay { padding-top: 128px; }
.player { position: relative; margin: 48px auto 0; width: 82%; max-width: 1076px; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--stroke), 0 60px 120px -40px rgba(226, 168, 51, .35); will-change: transform; }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(5, 7, 14, .75)); pointer-events: none; transition: opacity .4s ease; }
.player__play {
  position: absolute; left: 32px; bottom: 28px; z-index: 1; display: flex; align-items: center; gap: 16px;
  padding: 8px 26px 8px 8px; border-radius: 999px; color: #fff;
  background: rgba(10, 13, 24, .45); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .4s var(--ease), opacity .4s ease, background .3s ease;
}
.player__icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold-grad); color: var(--dark); box-shadow: 0 10px 30px -8px rgba(229, 154, 25, .9); transition: transform .4s var(--ease); }
.player__icon svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.player__label { display: flex; align-items: baseline; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.player__label small { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.player:hover .player__play { background: rgba(10, 13, 24, .65); }
.player:hover .player__icon { transform: scale(1.08); }
.player__pulse, .player__pulse::after { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(254, 215, 110, .7); animation: ring 2.4s ease-out infinite; }
.player__pulse::after { content: ""; animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.player.is-playing .player__play { opacity: 0; transform: translateY(12px); pointer-events: none; }
.player.is-playing::after { opacity: 0; }
/* во время просмотра — системный курсор, чтобы пользоваться нативными контролами */
.has-cursor .player.is-playing, .has-cursor .player.is-playing video { cursor: auto; }

/* why */
.why { padding-top: 128px; }
.why__grid { display: grid; grid-template-columns: 647px 648px; justify-content: space-between; align-items: center; margin-top: 64px; }
.why__cards { display: grid; grid-template-columns: repeat(3, 205px); gap: 16px 16px; }
.mini { position: relative; display: grid; align-content: start; gap: 16px; height: 175px; padding: 32px 16px; border-radius: 8px; background: var(--card); text-align: center; transition: box-shadow .4s ease; }
.mini:hover { box-shadow: inset 0 0 0 1px rgba(226, 168, 51, .5); }
.mini h3 { font: 700 15px/1.25 var(--font); text-transform: uppercase; }
.mini p { font: 400 15px/1.25 var(--font); color: var(--ink-2); }
.why__art { position: relative; margin: 0; height: 376px; overflow: hidden; clip-path: inset(0 0 0 0 round 0); }
.why__art img { width: 100%; height: 115%; object-fit: cover; object-position: center 30%; will-change: transform; }
.why__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 17, 28, .25), transparent 30%); pointer-events: none; }

/* faq */
.faq { padding-top: 128px; }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.faq__col { padding: 32px; border-radius: 8px; background: var(--card); }
.qa { position: relative; padding-bottom: 32px; margin-bottom: 32px; }
.qa:last-child { padding-bottom: 0; margin-bottom: 0; }
.qa:not(:last-child)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); opacity: .9; transform-origin: 0 50%; }
.qa h3 { font: 700 15px/1.25 var(--font); }
.qa p { margin-top: 32px; font: 400 15px/1.25 var(--font); }

/* cta */
.cta { padding-top: 192px; padding-bottom: 96px; overflow-x: clip; }
.cta__grid { display: grid; grid-template-columns: 647px 1fr; gap: 128px; align-items: center; }
.cta__art { position: relative; height: 396px; }
.cta__bg { position: absolute; inset: 0; border-radius: 68px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(226, 168, 51, .45); }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.cta__coins { position: absolute; inset: -80px -40px; width: calc(100% + 80px); height: calc(100% + 160px); pointer-events: none; z-index: 1; }
.cta__raccoon { position: absolute; left: -132px; top: -186px; width: 872px; height: 581px; max-width: none; z-index: 2; transform-origin: 50% 100%; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; pointer-events: none; }
.cta__title { max-width: 415px; font: 700 40px/1.02 var(--font); text-transform: uppercase; letter-spacing: -.005em; }
.cta__copy > p { max-width: 392px; margin-top: 16px; font: 400 20px/1.2 var(--font); }
.cta__copy > p:first-of-type { margin-top: 32px; }
.cta__actions { display: grid; gap: 16px; width: max-content; max-width: 100%; margin-top: 32px; }
.cta__actions .btn { min-width: 247px; } /* ширина по самому длинному переводу, обе кнопки одинаковые */

/* footer */
.footer { position: relative; padding: 32px 0 40px; overflow: hidden; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer__logo img { width: 316px; height: auto; }
.footer__nav { display: flex; align-items: center; gap: 32px; }
.footer__nav a:not(.btn), .footer__nav .nav__watch { display: inline-flex; align-items: center; gap: 4px; font: 700 16px/20px var(--font); text-transform: uppercase; transition: color .3s ease; }
.footer__nav a:not(.btn):hover, .footer__nav .nav__watch:hover { color: var(--gold-hi); }
.footer__nav .nav__watch svg { width: 24px; height: 24px; }
.footer__copy { margin-top: 64px; text-align: center; font: 400 12px/1.6 var(--font); }
.footer__giant {
  margin-top: 30px; text-align: center; white-space: nowrap; pointer-events: none;
  font: 700 clamp(60px, 13.5vw, 196px)/.85 var(--font); text-transform: uppercase; letter-spacing: -.03em;
  background: linear-gradient(180deg, rgba(226, 168, 51, .22), rgba(226, 168, 51, 0) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* modal */
.modal { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 7, 12, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.modal__box { position: relative; width: min(1200px, 100%); aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--stroke), 0 60px 160px rgba(226, 168, 51, .25); }
.modal__box video { width: 100%; height: 100%; }
.modal__close { position: absolute; right: 14px; top: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, .55); font-size: 28px; line-height: 1; }
.modal__close:hover { background: var(--gold); color: var(--dark); }

/* ---------- адаптив (в макете только десктоп — переразложение по сетке) ---------- */
@media (max-width: 1360px) {
  .stats { gap: 24px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: 1fr; gap: 32px; }
  .why__cards { grid-template-columns: repeat(3, 1fr); }
  .why__art { height: 480px; border-radius: 16px; }
  .cta__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .cta__raccoon { left: -15%; width: 130%; height: auto; top: -40%; }
  .how__note { width: 520px; }
}
@media (max-width: 1100px) {
  /* меню на весь экран: раскрывается кругом от бургера */
  .nav {
    position: fixed; top: 0; left: 0; z-index: -1; width: 100%; height: 100vh; height: 100dvh;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: 96px 24px calc(32px + env(safe-area-inset-bottom)); margin: 0; overflow-y: auto;
    background:
      radial-gradient(70% 45% at 85% 10%, rgba(226, 168, 51, .22), transparent 70%),
      radial-gradient(60% 40% at 0% 100%, rgba(226, 168, 51, .12), transparent 70%),
      #0a0e18;
    clip-path: circle(0 at calc(100% - 46px) 38px); visibility: hidden;
    transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .7s;
    counter-reset: nav;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 46px) 38px); visibility: visible; transition: clip-path .8s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
  .nav > a, .nav > .nav__watch {
    counter-increment: nav; display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 14px 0;
    justify-content: flex-start; text-align: left; white-space: normal;
    font-size: clamp(26px, 7.4vw, 42px); line-height: 1.05; letter-spacing: -.01em;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    opacity: 0; transform: translateY(30px); transition: opacity .4s ease, transform .4s ease, color .3s ease;
  }
  .nav > a::before, .nav > .nav__watch::before { content: "0" counter(nav); font: 800 13px/1 var(--font-num); color: var(--gold); letter-spacing: .05em; }
  .nav > .nav__watch svg { width: .8em; height: .8em; align-self: center; color: var(--gold-hi); }
  .nav > a:hover, .nav > a:active, .nav > .nav__watch:hover { color: var(--gold-hi); }
  .nav a::after { display: none; }
  .nav__foot { display: grid; gap: 14px; width: 100%; margin-top: auto; padding-top: 36px; opacity: 0; transform: translateY(30px); transition: opacity .4s ease, transform .4s ease; }
  .nav__foot .btn { width: 100%; height: 52px; font-size: 16px; }
  .nav__foot p { color: var(--ink-dim); font-size: 14px; text-align: center; }
  .nav > :first-child { margin-top: auto; }
  .nav.is-open > a, .nav.is-open > .nav__watch, .nav.is-open .nav__foot { opacity: 1; transform: none; transition: opacity .6s ease, transform .7s var(--ease); }
  .nav.is-open > :nth-child(1) { transition-delay: .25s; }
  .nav.is-open > :nth-child(2) { transition-delay: .31s; }
  .nav.is-open > :nth-child(3) { transition-delay: .37s; }
  .nav.is-open > :nth-child(4) { transition-delay: .43s; }
  .nav.is-open > :nth-child(5) { transition-delay: .49s; }
  .nav.is-open > :nth-child(6) { transition-delay: .58s; }
  .header.menu-open { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; transform: none; }
  .header.menu-open .header__row > .btn { opacity: 0; pointer-events: none; }
  .burger { display: block; }
  .lang-switch { display: none; }
  .nav__foot .langs { justify-content: flex-start; }
  .header__row, .header.is-scrolled .header__row { height: 76px; }
  .header__logo img, .header.is-scrolled .header__logo img { width: 104px; height: 52px; }
  .header .btn { margin-left: auto; }
  .header { background: rgba(12, 17, 28, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features__head { grid-template-columns: 1fr; gap: 16px; }
  /* шаги слева, телефон справа и «прилипает» по центру экрана — смена экранов видна во время прокрутки шагов */
  .how__grid { grid-template-columns: 1fr auto; column-gap: 32px; align-items: start; }
  .how__stage { display: contents; }
  .steps { margin: 0; width: auto; max-width: 420px; padding-left: 24px; }
  .steps__line { left: 0; }
  .step { justify-items: start; text-align: left; height: auto; min-height: 150px; }
  .phone { position: sticky; left: auto; top: calc(50vh - 239px); grid-column: 2; grid-row: 2; align-self: start; margin: 0 8px 0 0; transform: rotate(4deg); transform-origin: 50% 50%; }
  .how__note { position: relative; left: auto; top: auto; grid-column: 1 / -1; grid-row: 1; width: 100%; max-width: none; margin: 0 0 48px; }
  .steps { grid-column: 1; grid-row: 2; }
  .cta__grid { grid-template-columns: 1fr; gap: 72px; }
  .cta__art { max-width: 647px; width: 100%; margin: 120px auto 0; }
  .cta__copy { text-align: center; }
  .cta__title, .cta__copy > p { margin-inline: auto; }
  .cta__actions { margin-inline: auto; }
  .footer__row { flex-direction: column; }
  .footer__nav { flex-wrap: wrap; justify-content: center; gap: 20px 28px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 48px 0; }
  .features, .how, .gameplay, .why, .faq { padding-top: 80px; }
  /* видео — на весь первый экран, карточка начинается у его нижнего края */
  .hero { height: auto; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(70svh - 190px) 0 32px; }
  .hero__media { bottom: auto; height: 100svh; }
  .hero__vignette { background: linear-gradient(180deg, rgba(12, 17, 28, .55), transparent 22%, transparent 62%, var(--bg)); }
  .hero__img { top: -12%; object-position: 60% 30%; }
  .hero__video { display: block; }
  .hero__lamp { left: 22%; top: 40%; }
  .hero__moon { left: 85%; top: 18%; }
  .hero__inner { height: auto; }
  .hero__card { position: relative; top: 0; width: 100%; min-height: 0; padding: 28px 22px; border-radius: 24px; background: rgba(0, 0, 0, .38); backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px); }
  .hero__title { font-size: 30px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .stats { gap: 12px; margin-top: 32px; }
  .stat { height: auto; padding: 24px 10px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
  .card { min-height: 0; padding: 12px 12px 20px; }
  .card__shot { height: 130px; }
  .card__shot img { max-height: 130px; }
  .card h3, .card p { font-size: 13px; }
  .how__grid { column-gap: 14px; }
  .steps { padding-left: 16px; padding-top: 4px; }
  .step { min-height: 0; gap: 6px; margin-bottom: 28px; }
  .step__num { width: 44px; height: 44px; font-size: 16px; }
  .step h3 { font-size: 16px; line-height: 22px; }
  .step p { font-size: 13px; line-height: 1.5; }
  .phone { width: 132px; height: 274px; padding: 3px 4px; border-radius: 24px; top: calc(50vh - 137px); margin-right: 4px; }
  .phone__screen { border-radius: 21px; }
  .phone__glare { inset: 3px 4px; border-radius: 21px; }
  .how__note { padding: 24px; }
  .player { width: 100%; border-radius: 14px; margin-top: 28px; }
  .player__play { left: 14px; bottom: 14px; gap: 10px; padding: 5px 16px 5px 5px; }
  .player__icon { width: 40px; height: 40px; }
  .player__icon svg { width: 16px; height: 16px; margin-left: 2px; }
  .player__label { font-size: 13px; gap: 8px; }
  .player__label small { font-size: 11px; }
  .why__cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mini { height: auto; padding: 22px 12px; }
  .mini h3, .mini p { font-size: 13px; }
  .why__art { height: 300px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__col { padding: 24px; }
  .qa p { margin-top: 14px; }
  .qa { padding-bottom: 22px; margin-bottom: 22px; }
  .cta { padding-top: 120px; }
  .cta__art { height: 260px; margin-top: 90px; }
  .wide-only { display: none; }
  .narrow-only { display: inline; }
  /* енот стоит ногами на нижнем крае карточки и чуть крупнее — без просвета под ногами */
  .cta__raccoon { left: -22%; width: 144%; top: auto; bottom: 0; }
  .cta__bg { border-radius: 40px; }
  .cta__title { font-size: 30px; }
  .cta__copy > p { font-size: 17px; }
  .footer__logo img { width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
