/* Главная страница THPoker: та же палитра, что у игры, но своя лёгкая вёрстка —
   страница для поиска должна открываться быстро и без скриптов игры. */

:root {
  /* Палитра: почти чёрный графит и благородное золото. */
  --ink: #0a0a0c;
  --ink-2: #121215;
  --ink-3: #1a1a1f;
  --line: #24242a;
  --line-2: #34343c;
  --felt: #17463f;
  --felt-deep: #0c2622;
  --gold: #d4a017;
  --gold-hi: #f5c518;
  --gold-deep: #8a6510;
  --brass: var(--gold);
  --brass-dim: #6b5216;
  --bone: #f5f0e4;
  --clay: #ad4a3c;
  --muted: #8f8a80;
  --text: #e6e1d7;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gold-grad: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 100%);
  --glow: 0 0 0 1px rgba(245, 197, 24, 0.22), 0 18px 50px -18px rgba(212, 160, 23, 0.55);
  color-scheme: dark;
}

* { box-sizing: border-box; }

/* Двойной тап не увеличивает страницу; прокрутка и щипок работают как обычно. */
html, body, * { touch-action: manipulation; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background-color: var(--ink);
  /* Мягкие золотые пятна света по всей длине страницы — фон не «пустой». */
  background-image:
    radial-gradient(900px 620px at 82% 0%, rgba(212, 160, 23, 0.11) 0%, transparent 70%),
    radial-gradient(760px 560px at -6% 16%, rgba(245, 197, 24, 0.05) 0%, transparent 70%),
    radial-gradient(820px 620px at 104% 34%, rgba(212, 160, 23, 0.06) 0%, transparent 70%),
    radial-gradient(760px 560px at -4% 54%, rgba(245, 197, 24, 0.05) 0%, transparent 70%),
    radial-gradient(900px 640px at 100% 74%, rgba(212, 160, 23, 0.06) 0%, transparent 70%),
    radial-gradient(1000px 600px at 50% 100%, rgba(245, 197, 24, 0.07) 0%, transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
/* Плёночное зерно поверх фона (под содержимым): тёмные пустоты получают фактуру. */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 0.92  0 0 0 0 0.75  0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  color: var(--bone);
}
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 19px; }
p { margin: 0; }
a { color: var(--brass); }

.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 22px; }
.wrap--narrow { width: min(800px, 100%); }
.center { text-align: center; margin-top: 36px; }

/* кнопки */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 600; text-decoration: none; white-space: nowrap;
  color: var(--text); background: var(--ink-3); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 10px 18px; cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}
.btn:hover { background-color: #222228; border-color: #44444d; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 80ms; }
.btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.btn--primary {
  color: #1a1204; background: var(--gold-grad); border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.15), 0 10px 30px -12px rgba(212, 160, 23, 0.7);
}
/* Блик, пробегающий по золотой кнопке при наведении. */
.btn--primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  transform: translateX(-120%);
}
.btn--primary:hover {
  background: var(--gold-grad); border-color: transparent; transform: translateY(-2px) scale(1.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 0 1px rgba(245, 197, 24, 0.4), 0 16px 44px -12px rgba(245, 197, 24, 0.75);
}
.btn--primary:hover::after { transform: translateX(120%); transition: transform 750ms var(--ease); }
.btn--primary:active { transform: scale(0.98); }
.btn--ghost { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(245, 197, 24, 0.06); border-color: rgba(245, 197, 24, 0.45); color: var(--bone); }
.btn--sm { padding: 7px 14px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 14px 26px; font-size: 17px; }
.btn--xl { padding: 17px 30px; font-size: 18px; border-radius: 14px; }
.btn__arrow { width: 20px; height: 20px; flex: 0 0 auto; transition: transform 220ms var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* шапка: прозрачная над первым экраном, «стекло» после прокрутки */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 10, 12, 0); border-bottom: 1px solid transparent;
  transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.nav--scrolled { backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); background: rgba(10, 10, 12, 0.82); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.9); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: Fraunces, Georgia, serif; font-size: 21px; color: var(--bone); text-decoration: none;
}
.logo__mark {
  width: 32px; height: 32px; border-radius: 50%; display: block; flex: 0 0 auto;
  font-size: 0; color: transparent; overflow: hidden;
  background: url("/img/logo.webp") center / cover no-repeat;
  box-shadow: 0 0 16px -2px rgba(245, 197, 24, 0.55);
  transition: transform 500ms var(--ease), box-shadow 300ms ease;
}
.logo:hover .logo__mark { transform: rotate(-30deg) scale(1.06); box-shadow: 0 0 22px 0 rgba(245, 197, 24, 0.7); }
.logo--sm { font-size: 18px; }
.logo--sm .logo__mark { width: 28px; height: 28px; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { position: relative; color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 0; transition: color 180ms ease; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease);
}
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; border-radius: 3px; }
.nav__burger { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* первый экран */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); margin-top: -64px; padding-top: calc(64px + clamp(40px, 7vw, 88px)); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
/* Тонкая точечная сетка за первым экраном, как гравировка; гаснет к краям. */
.hero__bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245, 197, 24, 0.16) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 80% at 70% 45%, #000 0%, transparent 75%);
  opacity: 0.55;
}
/* Золотые искры: медленно всплывают и гаснут. Только transform и opacity. */
.spark {
  position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold-hi); box-shadow: 0 0 8px 2px rgba(245, 197, 24, 0.55);
  opacity: 0; animation: spark var(--t, 10s) var(--d, 0s) ease-in-out infinite;
}
@keyframes spark {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.6); }
  20% { opacity: 0.85; }
  70% { opacity: 0.35; }
  100% { opacity: 0; transform: translate3d(12px, -90px, 0) scale(1); }
}
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-hi);
  padding: 7px 14px 7px 12px; margin-bottom: 22px; border-radius: 999px;
  background: rgba(245, 197, 24, 0.07); border: 1px solid rgba(245, 197, 24, 0.22);
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 10px 2px rgba(245, 197, 24, 0.6); }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); font-weight: 300; line-height: 1.04; letter-spacing: -0.025em; }
.gold-text {
  font-style: italic; font-weight: 400;
  background: linear-gradient(100deg, #ffe58a 0%, var(--gold-hi) 35%, var(--gold) 70%, #f7d76a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: goldShift 8s ease-in-out infinite alternate;
}
@keyframes goldShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.lede { color: #b9b4aa; font-size: clamp(16px, 1.5vw, 19px); margin-top: 22px; max-width: 52ch; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero__facts {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--muted);
}
.hero__facts b { color: var(--bone); font-weight: 600; }
.hero__facts li::before { content: '♦'; color: var(--gold); margin-right: 8px; font-size: 11px; }
/* Живой индикатор: «Сейчас за столами: N игроков» с пульсирующей точкой. */
.live-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--bone);
  background: rgba(79, 191, 117, 0.08); border: 1px solid rgba(79, 191, 117, 0.28);
}
.live-pill b { color: #8fe0a9; font-weight: 600; font-variant-numeric: tabular-nums; }
#live::before { content: ''; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #4fbf75; box-shadow: 0 0 0 0 rgba(79, 191, 117, 0.6); animation: livePulse 2.2s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(79, 191, 117, 0.55); } 100% { box-shadow: 0 0 0 9px rgba(79, 191, 117, 0); } }

/* картинка первого экрана: свечение — слоями прямо за картами */
.hero__art { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; isolation: isolate; }
/* 1) широкое тёплое облако; 2) медленно вращающиеся лучи; 3) яркое ядро за тузом; 4) отсвет на «столе» под картами */
.hero__halo, .hero__rays, .hero__core, .hero__floor { position: absolute; pointer-events: none; z-index: -1; }
.hero__halo {
  inset: -18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245, 197, 24, 0.26) 0%, rgba(212, 160, 23, 0.12) 40%, rgba(212, 160, 23, 0.03) 65%, transparent 100%);
  animation: halo 8s ease-in-out infinite alternate;
}
.hero__rays {
  inset: -8%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(245, 197, 24, 0.07) 0deg 2deg, transparent 2deg 15deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 18%, transparent 78%);
  mask-image: radial-gradient(closest-side, #000 18%, transparent 78%);
  animation: rays 90s linear infinite;
}
.hero__core {
  left: 30%; top: 26%; width: 50%; height: 50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 90, 0.5), rgba(245, 197, 24, 0.15) 55%, transparent 100%);
  animation: halo 6s ease-in-out infinite alternate-reverse;
}
.hero__floor {
  left: 14%; right: 6%; bottom: 6%; height: 16%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245, 197, 24, 0.30), rgba(212, 160, 23, 0.08) 60%, transparent 100%);
}
@keyframes halo { from { opacity: 0.7; transform: scale(0.95); } to { opacity: 1; transform: scale(1.04); } }
@keyframes rays { to { transform: rotate(360deg); } }
.hero__cards {
  position: relative; display: block; width: 100%; height: auto;
  /* Чёрный фон снимка растворяется в странице. */
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  /* «Экран»: чёрный фон снимка становится прозрачным, свечение видно прямо за картами. */
  mix-blend-mode: screen;
  animation: float 9s ease-in-out infinite;
}
.hero__chips {
  position: absolute; left: 0; bottom: 4%; width: 36%; height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.6));
  animation: float 7s -2s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -12px, 0) rotate(0.6deg); } }

/* Карточки-подсказки поверх картинки: спин с множителем и вечерний фриролл. */
.hero__tile {
  position: absolute; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px; white-space: nowrap;
  background: linear-gradient(180deg, rgba(28, 28, 33, 0.82), rgba(14, 14, 17, 0.86));
  border: 1px solid rgba(245, 197, 24, 0.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9), 0 0 30px -12px rgba(245, 197, 24, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: float 8s ease-in-out infinite;
}
.hero__tile small { grid-column: 2; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.hero__tile strong { grid-column: 2; font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 20px; color: var(--bone); line-height: 1.15; }
.hero__tile-ico {
  grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, #2a2a31, #141417);
  box-shadow: inset 0 0 0 1px rgba(245, 197, 24, 0.3);
}
.hero__tile-ico img { width: 34px; height: 34px; display: block; }
.hero__tile--spin { right: -2%; top: 8%; animation-delay: -3s; }
.hero__tile--free { right: 4%; bottom: 8%; animation-delay: -5.5s; }
.hero__tile--free strong b { color: var(--gold-hi); font-weight: 500; }
/* Множитель спина «прокручивается»: ×2 → ×3 → ×5 → ×10 → ×100. */
.mult { display: inline-block; height: 1.15em; overflow: hidden; vertical-align: bottom; }
.mult__reel { display: flex; flex-direction: column; animation: reel 7.5s cubic-bezier(0.7, 0, 0.3, 1) infinite; }
.mult__reel span { height: 1.15em; line-height: 1.15em; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
@keyframes reel {
  0%, 14% { transform: translateY(0); }
  20%, 34% { transform: translateY(-1.15em); }
  40%, 54% { transform: translateY(-2.3em); }
  60%, 74% { transform: translateY(-3.45em); }
  80%, 94% { transform: translateY(-4.6em); }
  100% { transform: translateY(-5.75em); }
}

.chip {
  width: 20px; height: 20px; border-radius: 50%;
  background:
    radial-gradient(circle, var(--face) 0 38%, transparent 39%),
    repeating-conic-gradient(var(--edge) 0 18deg, var(--face) 18deg 36deg);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}
.chip--gold { --face: #d4a017; --edge: #6e510c; }
.chip--red { --face: #b23b32; --edge: #7a251f; }
.chip--green { --face: #2f7d54; --edge: #1b4c33; }

/* разделы */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--alt {
  background: linear-gradient(180deg, rgba(22, 22, 26, 0.75), rgba(14, 14, 17, 0.3));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section h2 { margin-bottom: 12px; }
/* Короткая золотая черта под заголовками разделов. */
.section > .wrap > h2::after, .rules__text > h2::after {
  content: ''; display: block; width: 44px; height: 2px; margin-top: 16px; border-radius: 2px;
  background: var(--gold-grad); box-shadow: 0 0 12px rgba(245, 197, 24, 0.5);
}
.section__lede { color: var(--muted); margin-bottom: 34px; max-width: 64ch; }
.section > .wrap > h2 + .grid, .section > .wrap > h2 + .steps { margin-top: 30px; }

.grid { display: grid; gap: 18px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card-box {
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, #16161a 0%, #111114 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: transform 320ms var(--ease), border-color 320ms ease, box-shadow 320ms var(--ease);
}
/* Золотой отсвет сверху карточки — проявляется при наведении. */
.card-box::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 70% at 50% -10%, rgba(245, 197, 24, 0.13), transparent 60%);
  opacity: 0; transition: opacity 320ms ease;
}
.card-box:hover { transform: translateY(-4px) scale(1.01); border-color: rgba(245, 197, 24, 0.35); box-shadow: var(--glow); }
.card-box:hover::before { opacity: 1; }
.card-box__icon {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; color: var(--gold-hi); margin-bottom: 18px;
  background: radial-gradient(circle at 50% 35%, #232329, #141417 70%);
  box-shadow: inset 0 0 0 1px rgba(245, 197, 24, 0.28), 0 6px 18px -8px rgba(0, 0, 0, 0.8);
  transition: transform 420ms var(--ease), box-shadow 320ms ease;
}
.card-box__icon img { width: 44px; height: 44px; display: block; }
/* Первая карточка режимов — шире: восемь карточек ровно ложатся в три ряда. */
@media (min-width: 961px) { .card-box--wide { grid-column: span 2; } .card-box--wide p { max-width: 60ch; } }
.card-box:hover .card-box__icon { transform: translateY(-2px) rotate(-6deg); box-shadow: inset 0 0 0 1px rgba(245, 197, 24, 0.55), 0 0 22px -4px rgba(245, 197, 24, 0.5); }
.card-box h3 { margin-bottom: 8px; }
.card-box p, .feature p { color: #a9a49a; font-size: 15px; }
/* Широкая карточка (одна в ряд на телефоне): значок слева от заголовка. */
@container (min-width: 300px) and (max-width: 420px), (min-width: 560px) {
  .card-box__icon { float: none; margin: 0 0 -60px 0; }
  .card-box > .card-box__icon + h3 { display: flex; align-items: center; min-height: 60px; margin: 0 0 12px 76px; padding: 0; }
}

.features { gap: 34px 40px; }
.feature { padding-left: 18px; border-left: 2px solid var(--brass-dim); transition: border-color 260ms ease; }
.feature:hover { border-left-color: var(--gold-hi); }
.feature h3 { margin-bottom: 8px; }

/* шаги */
.steps {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.steps li {
  counter-increment: step; position: relative;
  padding: 28px 24px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, #16161a, #111114); border: 1px solid var(--line);
  transition: transform 320ms var(--ease), border-color 320ms ease, box-shadow 320ms var(--ease);
}
.steps li:hover { transform: translateY(-4px); border-color: rgba(245, 197, 24, 0.35); box-shadow: var(--glow); }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; margin-bottom: 16px;
  font-family: Fraunces, Georgia, serif; font-size: 19px; color: #1a1204; background: var(--gold-grad);
  box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.1), 0 0 20px -4px rgba(245, 197, 24, 0.6);
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: #a9a49a; font-size: 15px; }

/* правила и комбинации */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.rules__text p { color: #b3aea4; margin-top: 14px; }
.rules__table h3 { margin-bottom: 14px; }
.combos { list-style: none; margin: 0; padding: 0; counter-reset: combo; }
.combos li {
  counter-increment: combo;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.combos b { font-weight: 500; color: var(--bone); }
.combos b::before { content: counter(combo) '.'; display: inline-block; width: 28px; color: var(--muted); font-weight: 400; }
.hand { display: flex; gap: 3px; flex: 0 0 auto; }
.m {
  min-width: 30px; padding: 2px 4px; border-radius: 4px; text-align: center;
  font-style: normal; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--suit);
  background: linear-gradient(160deg, #fdfbf5, #ece5d7);
  box-shadow: inset 0 0 0 1px rgba(20, 26, 32, 0.2);
}
.m--s { --suit: #222b33; }
.m--h { --suit: #b0392c; }
.m--d { --suit: #1c6b9f; }
.m--c { --suit: #1e7a4c; }

/* вопросы */
.faq { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2);
  padding: 0 20px; transition: border-color 220ms ease, background-color 220ms ease;
}
.faq details:hover { border-color: var(--line-2); }
.faq details[open] { border-color: rgba(245, 197, 24, 0.3); background: #141417; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-weight: 600; color: var(--bone); display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brass); font-size: 20px; line-height: 1; transition: transform 160ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 4px; }
.faq details p { color: #b3aea4; padding-bottom: 18px; }

/* призыв в конце: падающие фишки за тёмной вуалью */
.final { padding: clamp(64px, 9vw, 96px) 0 clamp(72px, 10vw, 110px); }
.final__in {
  position: relative; isolation: isolate; overflow: hidden;
  text-align: center; padding: clamp(48px, 8vw, 88px) 22px; border-radius: 26px;
  background:
    radial-gradient(60% 75% at 50% 50%, rgba(10, 10, 12, 0.88) 0%, rgba(10, 10, 12, 0.55) 70%, rgba(10, 10, 12, 0.35) 100%),
    url("/img/chips-fall.webp") center / cover no-repeat, var(--ink-2);
  border: 1px solid rgba(245, 197, 24, 0.32);
  box-shadow: 0 30px 80px -40px rgba(245, 197, 24, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.final__in::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 80% at 50% 110%, rgba(245, 197, 24, 0.22), transparent 70%);
}
.final h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 300; }
.final p { color: #d2ccc0; margin: 14px auto 30px; font-size: 17px; max-width: 52ch; }
@media (max-width: 640px) {
  .final__in { background-image: linear-gradient(180deg, rgba(10, 10, 12, 0.72) 0%, rgba(10, 10, 12, 0.9) 100%), url("/img/chips-fall-960.webp"); }
}

.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.footer__in { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.footer__in > p { flex: 1 1 auto; max-width: 64ch; }
.footer__in > .footer__links { flex: 1 1 100%; margin-left: 0; }   /* ссылки — строками под логотипом, по левому краю */
.footer p { color: var(--muted); font-size: 13px; max-width: 70ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-left: auto; font-size: 13px; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--text); }

/* статьи */
.crumbs { font-size: 13px; color: var(--muted); margin: 28px 0 18px; }
.crumbs a, .article .crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin: 0 6px; opacity: 0.6; }
.article { width: min(760px, 100%); margin: 0 auto; padding: 0 22px 40px; }
.article h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 300; margin-bottom: 14px; }
.article__meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.article__lede { font-size: 19px; color: #c2bdb3; margin-bottom: 26px; }
.article h2 { font-size: clamp(23px, 3vw, 29px); margin: 40px 0 14px; }
.article h3 { margin: 26px 0 10px; }
.article p { margin: 0 0 16px; color: #c8c3b9; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 22px; color: #c8c3b9; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--bone); font-weight: 600; }
.article a { color: var(--brass); }
/* Кнопки внутри статьи — со своими цветами: общее правило для ссылок их перекрашивало. */
.article a.btn { color: var(--text); text-decoration: none; }
.article a.btn--primary { color: #1a1305; }
.article table { width: 100%; border-collapse: collapse; margin: 6px 0 22px; font-size: 15px; }
.article th { text-align: left; font-weight: 600; color: var(--bone); padding: 9px 10px; border-bottom: 1px solid var(--brass-dim); }
.article td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: #c8c3b9; vertical-align: top; }
.article .hand { display: inline-flex; vertical-align: middle; }
.toc { margin: 0 0 30px; padding: 16px 20px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); }
.toc b { display: block; color: var(--bone); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 4px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--brass); }
.note {
  margin: 0 0 20px; padding: 14px 18px; border-radius: var(--radius);
  background: rgba(201, 162, 74, 0.08); border-left: 3px solid var(--brass); color: var(--text);
}
.note p:last-child { margin-bottom: 0; }
.article-cta {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 44px 0 10px; padding: clamp(32px, 6vw, 48px) clamp(20px, 5vw, 40px); border-radius: 22px; text-align: center;
  background:
    radial-gradient(70% 90% at 50% 50%, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0.66) 75%, rgba(10, 10, 12, 0.5) 100%),
    url("/img/chips-fall-960.webp") center / cover no-repeat, var(--ink-2);
  border: 1px solid rgba(245, 197, 24, 0.32);
  box-shadow: 0 30px 70px -40px rgba(245, 197, 24, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.article-cta::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 80% at 50% 115%, rgba(245, 197, 24, 0.24), transparent 70%);
}
.article-cta h2 { margin: 0 0 10px; font-weight: 300; font-size: clamp(26px, 3.6vw, 34px); }
.article-cta p { color: #d2ccc0; margin: 0 auto 24px; max-width: 46ch; }
.related { margin-top: 36px; }
.related h2 { font-size: 22px; margin: 0 0 12px; }
.related ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.related a { display: block; padding: 12px 16px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); text-decoration: none; color: var(--bone); }
.related a:hover { border-color: var(--brass-dim); }
.articles-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.articles-list a {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid var(--line); text-decoration: none; transition: border-color 140ms ease;
}
.articles-list a:hover { border-color: var(--brass-dim); }
.articles-list b { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 21px; color: var(--bone); line-height: 1.2; }
.articles-list span { color: #a9a49a; font-size: 15px; }

/* публичный профиль игрока */
.pp { padding-top: 40px; padding-bottom: 20px; }
.pp-head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.pp-head h1 { font-size: clamp(30px, 5vw, 44px); }
.pp-avatar {
  flex: 0 0 auto; width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center;
  font-family: Fraunces, Georgia, serif; font-size: 36px; color: #1a1305;
  background: radial-gradient(circle at 35% 30%, #f0d68f, var(--brass) 60%, #8d7134);
  overflow: hidden;
}
.pp-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-sub { color: var(--muted); margin-top: 6px; }
.pp-league {
  --lg: #b07a4b; --lg-hi: #e0ad7d;
  display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 3px;
  background: linear-gradient(135deg, var(--lg-hi), var(--lg)); transform: rotate(45deg); vertical-align: 0;
}
.pp-league--silver { --lg: #9aa6aa; --lg-hi: #e4ecee; }
.pp-league--gold { --lg: #c9a24a; --lg-hi: #f0d68f; }
.pp-league--platinum { --lg: #7fb7c9; --lg-hi: #e3f6fb; }
.pp-league--diamond { --lg: #6f7fe8; --lg-hi: #c7f0ff; }
.pp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pp-stat { padding: 16px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.pp-stat b { font-size: 24px; color: var(--bone); font-weight: 600; font-variant-numeric: tabular-nums; }
.pp-stat span { font-size: 13px; color: var(--muted); }
.pp-stat--wide { grid-column: span 2; }
.pp-stat .hand { margin-top: 8px; }
.pp-seasons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pp-season { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.pp-block { margin-top: 40px; }
.pp-block h2 { margin-bottom: 16px; }
.pp-ach { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.pp-ach__item { display: flex; gap: 12px; align-items: center; padding: 10px 12px 10px 8px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line, rgba(255, 255, 255, 0.08)); }
.pp-ach__icon { flex: 0 0 auto; width: 56px; display: grid; place-items: center; }
.pp-ach__icon svg { display: block; overflow: visible; }
.pp-ach__item b { color: var(--bone); font-weight: 600; }
.pp-ach__item small { display: block; font-size: 12px; color: var(--muted); }
.pp-empty { color: var(--muted); }
.pp .final { padding: 56px 0 40px; }

/* адаптив */
/* посадочные страницы и облако ссылок */
.lp .lp__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 26px 0 30px; }
.lp .lp__cta span { color: var(--muted); font-size: 14px; }
.lp .lp__cards { margin-bottom: 18px; }
.lp .card-box h3 { font-size: 18px; }
.lp .faq { margin-top: 12px; }
.tags { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags a {
  display: inline-block; padding: 10px 16px; border-radius: 999px; text-decoration: none; color: var(--text);
  background: var(--ink-2); border: 1px solid var(--line); transition: border-color 220ms ease, color 220ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
}
.tags a:hover { border-color: rgba(245, 197, 24, 0.45); color: var(--bone); transform: translateY(-2px); box-shadow: 0 8px 24px -12px rgba(245, 197, 24, 0.5); }

/* цифры под первым экраном */
.stats { position: relative; z-index: 1; }
.stats__in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(24, 24, 28, 0.85), rgba(16, 16, 19, 0.85));
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 0;
}
.stats .wrap.stats__in { width: min(1076px, calc(100% - 44px)); }
.stat-big { display: flex; align-items: center; gap: 14px; padding: 26px 22px; transition: background-color 260ms ease; }
.stat-big:hover { background: rgba(245, 197, 24, 0.04); }
.stat-big + .stat-big { border-left: 1px solid var(--line); }
.stat-big b {
  font-family: Fraunces, Georgia, serif; font-weight: 400; font-size: 42px; line-height: 1; white-space: nowrap;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(245, 197, 24, 0.25));
}
.stat-big span { color: var(--muted); font-size: 14px; line-height: 1.35; }

/* статьи на главной */
.post {
  display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, #16161a, #111114); border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: transform 320ms var(--ease), border-color 320ms ease, box-shadow 320ms var(--ease);
}
.post:hover { transform: translateY(-4px); border-color: rgba(245, 197, 24, 0.35); box-shadow: var(--glow); }
.post:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.post b { font-size: 18px; color: var(--bone); font-weight: 600; }
.post span:last-child { color: #a9a49a; font-size: 15px; }
.post__tag { align-self: flex-start; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-hi); }
.card-box p a { color: var(--brass); text-decoration: none; white-space: nowrap; }

@media (max-width: 960px) {
  .stats__in { grid-template-columns: 1fr 1fr; }
  .stat-big:nth-child(3) { border-left: 0; }
  .stat-big:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero__in, .rules { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: calc(64px + 40px); }
  .hero__in { gap: 20px; }
  .hero__text { text-align: left; }
  .hero__art { width: min(82vw, 440px); margin-top: -8px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .stat-big { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 14px; }
  .stat-big b { font-size: 30px; }
  .stat-big span { font-size: 13px; }
  .wrap { padding: 0 16px; }
  /* Ссылки шапки — в выпадающем меню под бургером. */
  .nav__in { justify-content: space-between; gap: 12px; }
  .nav__in > .btn { margin-left: auto; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 14px;
    background: var(--ink); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
  }
  .nav.is-open .nav__links { display: flex; animation: menuIn 160ms ease-out both; }
  .nav__links a { padding: 12px 4px; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 0 10px; flex: 0 0 auto; cursor: pointer;
    background: transparent; border: 1px solid var(--line); border-radius: 10px;
  }
  .nav__burger span { display: block; height: 2px; border-radius: 1px; background: var(--bone); transition: transform 160ms ease, opacity 160ms ease; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__burger:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
  .hero { padding: calc(64px + 22px) 0 40px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .eyebrow { font-size: 11px; letter-spacing: 0.08em; margin-bottom: 18px; }
  .lede { font-size: 16px; }
  .hero__cta { flex-direction: column; margin-top: 26px; }
  .hero__cta .btn { width: 100%; }
  .btn--xl { padding: 16px 22px; font-size: 17px; }
  .hero__facts { gap: 8px 18px; font-size: 13px; margin-top: 22px; }
    .hero__tile { padding: 8px 12px 8px 8px; gap: 0 10px; border-radius: 14px; }
  .hero__tile strong { font-size: 16px; }
  .hero__tile small { font-size: 10.5px; }
  .hero__tile-ico { width: 34px; height: 34px; border-radius: 10px; }
  .hero__tile-ico img { width: 26px; height: 26px; }
  .hero__tile--spin { right: 0; top: 4%; }
  .hero__tile--free { right: 0; bottom: 6%; }
  .hero__chips { width: 28%; left: 0; }
  .stats .wrap.stats__in { width: calc(100% - 32px); }
  .nav__links a::after { display: none; }
  .table__felt { border-width: 8px; }
  .grid--4, .grid--3, .steps { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .combos li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pp-stats { grid-template-columns: 1fr 1fr; }
  .article { padding: 0 16px 30px; }
  .articles-list { grid-template-columns: 1fr; }
  .article table { font-size: 13px; }
  .article th, .article td { padding: 7px 6px; }
  .pp-head { gap: 14px; }
  .pp-avatar { width: 60px; height: 60px; font-size: 28px; }
  .final__in { padding: 40px 18px; }
  .footer__in { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
  .spark, .hero__halo, .hero__rays, .hero__core, .hero__cards, .hero__chips, .hero__tile, .gold-text, #live::before { animation: none; }
  .mult__reel { animation: none; transform: translateY(-4.6em); }
  .spark { opacity: 0.4; }
  .btn--primary:hover::after { transition: none; }
  .btn:hover, .card-box:hover, .steps li:hover, .post:hover, .tags a:hover { transform: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .nav.is-open .nav__links { animation: none; }
  .nav__burger span { transition: none; }
}

.pp-bot { margin: 6px 0 0; font-size: 13px; color: var(--muted, #8fa3a3); max-width: 60ch; }

/* Юридические страницы и отметка 18+ */
.footer__legal { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; max-width: none !important; }
.footer__legal a { color: var(--muted); }
.footer__legal a:hover { color: var(--text); }
.age-mark { border: 1px solid currentColor; border-radius: 6px; padding: 1px 6px; font-size: 12px; }
.legal { max-width: 780px; padding-top: 32px; padding-bottom: 56px; line-height: 1.6; }
.legal h1 { font-size: clamp(26px, 5vw, 36px); line-height: 1.2; margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; }
.legal p, .legal ul, .legal dl { margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--brass, #c9a24a); }
.legal__date { color: var(--muted); font-size: 14px; }
.legal__scroll { overflow-x: auto; margin-bottom: 12px; }
.legal table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal__dl dt { font-weight: 600; margin-top: 12px; }
.legal__dl dd { margin: 0; }

/* Широкие таблицы на узком экране прокручиваются сами, а не растягивают страницу. */
.article table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Таблицы базовой стратегии блэкджека: цвет клетки — действие. */
.article table.bs { font-size: 14px; }
.article .bs th, .article .bs td { text-align: center; padding: 7px 4px; min-width: 30px; }
.article .bs tr > th:first-child { text-align: left; white-space: nowrap; padding-right: 10px; }
.article .bs td { font-weight: 600; color: var(--bone); border: 1px solid var(--ink, #0d1317); }
.bs--h { background: rgba(176, 57, 44, 0.32); }
.bs--s { background: rgba(30, 122, 76, 0.34); }
.bs--d { background: rgba(201, 162, 74, 0.34); }
.bs--p { background: rgba(28, 107, 159, 0.38); }
.bs-legend span { display: inline-block; min-width: 26px; padding: 1px 6px; margin-right: 4px; border-radius: 4px; text-align: center; font-weight: 600; color: var(--bone); }

/* Появление при прокрутке: класс .reveal ставит landing.js только тем блокам,
   что ниже первого экрана, — без скрипта всё видно сразу. */
.reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ——— Главная кнопка: мягкая золотая пульсация вокруг (только opacity и transform) ——— */
/* Обёртка главной кнопки: кольцо пульсирует снаружи, блик остаётся внутри кнопки. */
.cta-pulse { position: relative; display: inline-flex; border-radius: 14px; isolation: isolate; }
.cta-pulse::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.55), 0 0 26px 2px rgba(245, 197, 24, 0.45);
  opacity: 0; animation: ctaPulse 2.8s ease-out 1.2s infinite;
}
@keyframes ctaPulse { 0% { opacity: 0.9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.08, 1.3); } }
.btn__ico { width: 20px; height: 20px; flex: 0 0 auto; opacity: 0.8; transition: transform 260ms var(--ease), opacity 200ms ease; }
.btn:hover .btn__ico { transform: translateY(2px); opacity: 1; }

/* ——— «Уже играют»: настоящие цифры с сервера ——— */
.proof { padding: 28px 0 0; }
.proof__in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 34px; }
.proof__title {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hi);
  display: inline-flex; align-items: center; gap: 10px;
}
.proof__title::before { content: ''; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.proof__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.proof__list li { display: flex; align-items: baseline; gap: 10px; }
.proof__list b { font-family: Fraunces, Georgia, serif; font-weight: 400; font-size: 28px; color: var(--bone); font-variant-numeric: tabular-nums; }
.proof__list span { color: var(--muted); font-size: 14px; }

/* ——— Карточки режимов: одинаковая высота, кнопки прижаты к низу ——— */
#modes .card-box { display: flex; flex-direction: column; }
#modes .card-box > p { flex: 1 1 auto; }
.card-box__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.card-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px;
  padding: 8px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
  color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02);
  transition: transform 220ms var(--ease), border-color 220ms ease, color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}
.card-btn:hover { color: var(--bone); border-color: rgba(245, 197, 24, 0.5); transform: translateY(-1px); }
.card-btn:active { transform: scale(0.97); }
.card-btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.card-btn--play { color: #1a1204; background: var(--gold-grad); border-color: transparent; box-shadow: 0 6px 18px -8px rgba(212, 160, 23, 0.7); }
.card-btn--play:hover { color: #1a1204; border-color: transparent; box-shadow: 0 10px 26px -8px rgba(245, 197, 24, 0.8); }
.card-box p a.card-btn, .card-box__cta a { white-space: nowrap; }

/* ——— Преимущества: три группы вместо «простыни» из двенадцати пунктов ——— */
.fgroups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.fgroup {
  padding: 26px 24px 10px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(26, 26, 31, 0.9), rgba(16, 16, 19, 0.9));
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 320ms ease, box-shadow 320ms var(--ease);
}
.fgroup:hover { border-color: rgba(245, 197, 24, 0.3); box-shadow: var(--glow); }
.fgroup__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.fgroup__head .card-box__icon { margin: 0; flex: 0 0 auto; }
.fgroup__head h3 { font-size: 21px; }
.fgroup__list { margin: 0; }
.fgroup__list > div { padding: 14px 0; border-top: 1px solid var(--line); }
.fgroup__list dt { font-weight: 600; color: var(--bone); margin-bottom: 4px; }
.fgroup__list dd { margin: 0; color: #a9a49a; font-size: 14.5px; line-height: 1.55; }

/* ——— Ритм и разделение разделов ——— */
.section + .section:not(.section--alt)::before {
  content: ''; display: block; width: min(1076px, calc(100% - 44px)); height: 1px; margin: 0 auto;
  position: relative; top: calc(-1 * clamp(64px, 9vw, 104px));
  background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.22), transparent);
}
.section h2 { color: #fbf6ea; }

/* ——— FAQ: плавное раскрытие (где браузер умеет анимировать высоту до auto) ——— */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size 320ms var(--ease), content-visibility 320ms allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; }
}
.faq details p { transition: opacity 320ms ease, transform 320ms var(--ease); }
.faq details:not([open]) p { opacity: 0; transform: translateY(-6px); }
.faq summary { min-height: 52px; align-items: center; }
.faq summary::after {
  content: ''; flex: 0 0 auto; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 280ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }

/* ——— Телефон ——— */
@media (max-width: 640px) {
  /* Крупные зоны нажатия и компактные карточки */
  .btn { min-height: 48px; }
  .btn--sm { min-height: 40px; }
  .card-btn { min-height: 46px; flex: 1 1 auto; }
  .card-box { padding: 20px; }
  .card-box__cta { margin-top: 16px; padding-top: 14px; }
  .fgroups { grid-template-columns: 1fr; }
  .fgroup { padding: 20px 18px 6px; }
  .proof__in { justify-content: flex-start; }
  .proof__list { justify-content: flex-start; gap: 10px 24px; }
  .proof__list b { font-size: 24px; }
  .tags a { padding: 12px 16px; }
  .footer__links a { padding: 6px 0; }
  .live-pill { font-size: 13px; }
}
@media (max-width: 960px) and (min-width: 641px) { .fgroups { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .cta-pulse::before { animation: none; opacity: 0; }
  .faq details::details-content { transition: none; }
  .faq details p, .fgroup, .card-btn { transition: none; }
  .card-btn:hover { transform: none; }
}

/* Шапка без ссылок (юридические страницы): кнопка «Играть» — справа. */
.logo + .btn { margin-left: auto; }
@media (max-width: 640px) { .hero__cta .cta-pulse { width: 100%; } .hero__cta .cta-pulse .btn { width: 100%; } }

/* ═══════════════ Редизайн главной: «студийный» слой ═══════════════ */

/* Номер и название раздела над заголовком: «01 — Режимы» */
.kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.kicker span { font-family: Fraunces, Georgia, serif; font-size: 15px; letter-spacing: 0; color: var(--gold-hi); }
.kicker::after { content: ''; width: 48px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

/* Первый экран: появление по слоям при загрузке */
@keyframes introUp { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes introArt { from { opacity: 0; transform: translate3d(0, 30px, 0) scale(0.96); } to { opacity: 1; transform: none; } }
.hero__text > * { animation: introUp 900ms var(--ease) both; }
.hero__text > .eyebrow { animation-delay: 60ms; }
.hero__text > h1 { animation-delay: 160ms; }
.hero__text > .lede { animation-delay: 320ms; }
.hero__text > .hero__cta { animation-delay: 440ms; }
.hero__text > .live-pill { animation-delay: 560ms; }
.hero__text > .hero__facts { animation-delay: 640ms; }
.hero__stage { animation: introArt 1200ms 200ms var(--ease) both; }

/* Наклон картинки за мышью: --mx/--my от −1 до 1 ставит landing.js.
   Слои сдвигаются на разную глубину свойством translate — оно не мешает «парению» (transform). */
.hero__art { perspective: 1100px; }
.hero__stage {
  position: absolute; inset: 0; transform-style: preserve-3d;
  rotate: none;
  transition: rotate 0s;
}
.hero__art.is-tilting .hero__stage {
  transform: rotateY(calc(var(--mx, 0) * 7deg)) rotateX(calc(var(--my, 0) * -6deg));
  transition: transform 160ms linear;
}
.hero__art:not(.is-tilting) .hero__stage { transform: none; transition: transform 900ms var(--ease); }
.hero__cards { translate: calc(var(--mx, 0) * -6px) calc(var(--my, 0) * -6px); }
.hero__chips { translate: calc(var(--mx, 0) * 16px) calc(var(--my, 0) * 12px); }
.hero__tile--spin { translate: calc(var(--mx, 0) * 22px) calc(var(--my, 0) * 16px); }
.hero__tile--free { translate: calc(var(--mx, 0) * 26px) calc(var(--my, 0) * 20px); }
.hero__cards, .hero__chips, .hero__tile { transition: translate 260ms var(--ease); }

/* Бегущая строка */
.marquee {
  position: relative; overflow: hidden; margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(212, 160, 23, 0.06), rgba(20, 20, 24, 0.6) 30%, rgba(20, 20, 24, 0.6) 70%, rgba(212, 160, 23, 0.06));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 18px 0; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: Fraunces, Georgia, serif; font-size: clamp(20px, 2.4vw, 30px); font-weight: 300; color: var(--bone); white-space: nowrap; }
.marquee span:nth-of-type(3n+2) { font-style: italic; color: var(--gold-hi); }
.marquee i { font-style: normal; color: var(--gold); font-size: 14px; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* Бенто-сетка режимов */
.bento {
  display: grid; gap: 16px; margin-top: 8px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "cash cash spin sched"
    "cash cash sng  sched"
    "omaha kursh friends friends"
    "bj bj bj bj";
}
.tile--cash { grid-area: cash; min-height: 520px; }
.tile--spin { grid-area: spin; }
.tile--sched { grid-area: sched; }
.tile--sng { grid-area: sng; }
.tile--omaha { grid-area: omaha; }
.tile--kursh { grid-area: kursh; }
.tile--friends { grid-area: friends; }
.tile--bj { grid-area: bj; min-height: 300px; }
.tile {
  --sx: 50%; --sy: 0%;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px;
  min-height: 250px; padding: 24px; border-radius: 20px;
  background: linear-gradient(180deg, #17171b, #101013);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 420ms var(--ease), border-color 320ms ease, box-shadow 420ms var(--ease);
}
/* Золотой свет под курсором (координаты ставит landing.js) */
.tile::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(245, 197, 24, 0.16), transparent 60%);
  transition: opacity 320ms ease;
}
.tile:hover { transform: translateY(-5px); border-color: rgba(245, 197, 24, 0.38); box-shadow: var(--glow), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.tile:hover::after { opacity: 1; }
.tile__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); transition: transform 1200ms var(--ease), filter 600ms ease; filter: saturate(0.9) brightness(0.8);
}
.tile:hover .tile__img { transform: scale(1.1); filter: saturate(1.05) brightness(0.9); }
.tile--photo::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.05) 0%, rgba(10, 10, 12, 0.55) 45%, rgba(10, 10, 12, 0.95) 100%);
}
.tile--bj.tile--photo::before { background: linear-gradient(90deg, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.8) 45%, rgba(10, 10, 12, 0.15) 100%); }
.tile--bj .tile__body { max-width: 560px; }
.tile__icon {
  position: relative; z-index: 2; margin-bottom: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #26262c, #141417 70%);
  box-shadow: inset 0 0 0 1px rgba(245, 197, 24, 0.3);
  transition: transform 520ms var(--ease);
}
.tile__icon img { width: 46px; height: 46px; display: block; }
.tile:hover .tile__icon { transform: rotate(-10deg) scale(1.06); }
.tile__body { position: relative; z-index: 2; }
.tile__kicker { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 8px; }
.tile h3 { font-size: clamp(21px, 2vw, 26px); margin-bottom: 8px; }
.tile--cash h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; }
.tile p:not(.tile__kicker) { color: #b5b0a6; font-size: 15px; line-height: 1.55; }
.tile--photo p:not(.tile__kicker) { color: #cfc9be; }
.tile__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tile .card-btn { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 8px 13px; font-size: 14px; }
.nw { white-space: nowrap; }
.tile .card-btn:not(.card-btn--play) { background: rgba(10, 10, 12, 0.45); }

/* Интерактивная раздача */
.demo__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.demo__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.demo__felt {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px;
  aspect-ratio: 1.55; padding: 24px 20px; border-radius: 50%;
  background: radial-gradient(120% 100% at 50% 35%, #1d5249 0%, #0f2f2a 70%, #0b2420 100%);
  border: 10px solid #1b140c;
  box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.45), inset 0 0 60px rgba(0, 0, 0, 0.6), 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(245, 197, 24, 0.35);
  justify-content: center;
}
.demo__row { display: flex; gap: 8px; min-height: 84px; }
.demo__street { margin: 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.demo__combo {
  margin: 0; min-height: 34px; padding: 5px 18px; border-radius: 999px;
  font-family: Fraunces, Georgia, serif; font-size: 18px; color: var(--bone);
  background: rgba(10, 10, 12, 0.7); border: 1px solid rgba(245, 197, 24, 0.4);
  opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 300ms var(--ease);
}
.demo__combo.is-on { opacity: 1; transform: none; }
.demo__combo b { color: var(--gold-hi); font-weight: 500; }
.dcard {
  position: relative; width: 58px; height: 82px; border-radius: 8px; container-type: size; color: var(--suit);
  background: linear-gradient(160deg, #fff 0%, #fbf9f4 55%, #f1ece2 100%);
  box-shadow: inset 0 0 0 1px rgba(20, 26, 32, 0.18), 0 8px 18px rgba(0, 0, 0, 0.45);
  animation: dealCard 520ms var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms);
  transition: transform 260ms var(--ease), box-shadow 260ms ease;
}
.dcard--slot { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); animation: none; }
.dcard.is-hit { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--gold-hi), 0 0 22px rgba(245, 197, 24, 0.6), 0 8px 18px rgba(0, 0, 0, 0.45); }
@keyframes dealCard { from { opacity: 0; transform: translate3d(0, -40px, 0) rotate(-10deg) scale(0.8); } to { opacity: 1; transform: none; } }

/* Шаги: крупная «гравированная» цифра и золотая кромка сверху каждой карточки.
   Кромка прорисовывается при прокрутке (класс .is-drawn ставит landing.js) по очереди. */
.steps li { overflow: hidden; padding-top: 30px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; width: auto; height: auto; margin: 0 0 14px; border-radius: 0; box-shadow: none;
  font-family: Fraunces, Georgia, serif; font-size: 64px; font-weight: 300; line-height: 0.9; letter-spacing: -0.03em;
  color: transparent; background: linear-gradient(180deg, #ffe58a 0%, var(--gold-hi) 40%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 18px rgba(245, 197, 24, 0.18));
  transition: filter 320ms ease, transform 420ms var(--ease);
}
.steps li:hover::before { filter: drop-shadow(0 0 22px rgba(245, 197, 24, 0.4)); transform: translateX(2px); }
.steps li::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-hi) 30%, var(--gold) 70%, transparent);
  box-shadow: 0 0 14px rgba(245, 197, 24, 0.55);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1000ms var(--ease);
}
.steps.is-drawn li::after { transform: scaleX(1); }
.steps.is-drawn li:nth-child(2)::after { transition-delay: 250ms; }
.steps.is-drawn li:nth-child(3)::after { transition-delay: 500ms; }

/* Финал: вращающаяся фишка-логотип */
.coin { width: 96px; height: 96px; margin: 0 auto 22px; perspective: 600px; }
.coin__face {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  background: url("/img/logo.webp") center / cover no-repeat;
  box-shadow: 0 0 40px 4px rgba(245, 197, 24, 0.45);
  animation: coinSpin 6s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}
@keyframes coinSpin { 0%, 30% { transform: rotateY(0deg); } 60%, 100% { transform: rotateY(360deg); } }

/* Адаптив нового слоя */
@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "cash cash" "spin sched" "sng sched" "omaha kursh" "friends friends" "bj bj";
  }
  .tile--cash { min-height: 440px; }
}
@media (max-width: 960px) {
  .demo__in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "cash" "spin" "sched" "sng" "omaha" "kursh" "friends" "bj"; gap: 14px; }
  .tile, .tile--cash, .tile--bj { min-height: 0; padding: 20px; }
  .tile--photo { min-height: 340px; }
  .tile__icon { width: 56px; height: 56px; }
  .tile__icon img { width: 40px; height: 40px; }
  .tile--bj.tile--photo::before { background: linear-gradient(180deg, rgba(10, 10, 12, 0.3) 0%, rgba(10, 10, 12, 0.95) 70%); }
  .tile__cta .card-btn { flex: 1 1 auto; }
  .demo__felt { border-width: 7px; aspect-ratio: auto; border-radius: 48px; padding: 30px 12px; min-height: 300px; }
  .dcard { width: 46px; height: 66px; border-radius: 6px; }
  .demo__row { gap: 5px; min-height: 66px; }
  .demo__actions .btn { flex: 1 1 100%; }
  .marquee__track { padding: 14px 0; animation-duration: 36s; }
}
@media (hover: none) { .tile:hover { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero__text > *, .hero__stage, .dcard, .coin__face, .marquee__track { animation: none !important; }
  .hero__art.is-tilting .hero__stage { transform: none; }
  .hero__cards, .hero__chips, .hero__tile { translate: none !important; }
  .tile, .tile__img, .tile__icon { transition: none; }
  .tile:hover, .tile:hover .tile__img, .tile:hover .tile__icon { transform: none; }
  .steps li::after { transform: none; transition: none; }
}

/* Картинку первого экрана нельзя утащить мышью или выделить вместе с плашками;
   то же — у карт мини-раздачи (двойной клик по кнопке не выделяет стол). */
.hero__art, .hero__art *, .demo__felt, .demo__felt * {
  -webkit-user-select: none; user-select: none;
  -webkit-user-drag: none; -webkit-touch-callout: none;
}
.hero__art img { pointer-events: none; }

/* ——— Посадочные: призыв посреди текста и пошаговые списки ——— */
.lp-inline {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin: 30px 0; padding: 22px 24px; border-radius: 18px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(245, 197, 24, 0.12), transparent 60%), linear-gradient(180deg, #17171b, #111114);
  border: 1px solid rgba(245, 197, 24, 0.3);
  box-shadow: 0 20px 50px -30px rgba(245, 197, 24, 0.45);
}
.article .lp-inline p { margin: 0; flex: 1 1 280px; color: var(--bone); font-size: 17px; }
.lp-steps { list-style: none; counter-reset: lps; padding-left: 0 !important; }
.lp-steps li { counter-increment: lps; position: relative; padding: 0 0 14px 52px; margin: 0 0 14px; border-bottom: 1px solid var(--line); }
.lp-steps li:last-child { border-bottom: 0; }
.lp-steps li::before {
  content: counter(lps, decimal-leading-zero); position: absolute; left: 0; top: -4px;
  font-family: Fraunces, Georgia, serif; font-size: 28px; font-weight: 300; line-height: 1;
  color: transparent; background: linear-gradient(180deg, #ffe58a, var(--gold-hi) 45%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text;
}
@media (max-width: 640px) {
  .lp-inline { padding: 18px; }
  .lp-inline .btn { width: 100%; }
}

/* Ссылки внутри текста главной — золотые, без «синего» вида */
.lede a, .fgroup__list dd a, .rules__text a, .steps p a { color: var(--gold-hi); text-decoration: underline; text-decoration-color: rgba(245, 197, 24, 0.35); text-underline-offset: 3px; transition: text-decoration-color 200ms ease; }
.lede a:hover, .fgroup__list dd a:hover, .rules__text a:hover, .steps p a:hover { text-decoration-color: var(--gold-hi); }
