/* =====================================================================
   BINGO EM CASA — тёмная графитовая тема с жёлтыми акцентами
   (референс: bingoemcasa — меню с иконками, жёлтые заголовки секций)
   Цвета — в :root
   ===================================================================== */
@font-face{font-family:Outfit;src:url(/static/fonts/Outfit-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Outfit;src:url(/static/fonts/Outfit-500.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:Outfit;src:url(/static/fonts/Outfit-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:Outfit;src:url(/static/fonts/Outfit-700.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:Outfit;src:url(/static/fonts/Outfit-800.woff2) format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:Bungee;src:url(/static/fonts/Bungee-400.woff2) format("woff2");font-weight:400;font-display:swap}

:root{
  --bg:#16181c;
  --s1:#1f2126;          /* карточки */
  --s2:#26282e;          /* плашки, меню */
  --s3:#2f3239;
  --line:#33363e;
  --text:#ffffff;
  --text-2:#c3c7cf;
  --muted:#8c919c;
  --yellow:#f8d21c;
  --yellow-2:#e8b800;
  --green:#2e9b1f;
  --teal:#32bcad;
  --red:#ff5a5f;
  --r:14px; --r-lg:20px;
  --wrap:1320px;
  --font:Outfit,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --display:Bungee,"Arial Black",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:190px;overflow-x:clip}
body{margin:0;background:var(--bg);color:var(--text);font:400 17px/1.6 var(--font);-webkit-font-smoothing:antialiased;overflow-x:clip}
img,svg{display:block;max-width:100%;height:auto}
a{color:inherit}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;z-index:300;padding:10px 16px;border-radius:10px;background:var(--yellow);color:#000;font-weight:700}
.skip:focus{top:12px}
:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}
.icon{width:22px;height:22px;flex:0 0 auto}
main,section,article,.layout>*,.hero>*{min-width:0}
.article,.hero__intro,.phero__intro{overflow-wrap:anywhere}

/* ---------- Buttons / badges ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:12px;border:0;font:700 16px/1 var(--font);text-decoration:none;cursor:pointer;transition:transform .15s ease,filter .15s ease,background .15s ease;max-width:100%}
.btn .icon{width:20px;height:20px}
.btn:hover{transform:translateY(-1px);filter:brightness(1.06)}
.btn--yellow{background:var(--yellow);color:#16181c;box-shadow:0 8px 22px rgba(248,210,28,.18)}
.btn--ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 2px var(--line)}
.btn--ghost:hover{box-shadow:inset 0 0 0 2px var(--yellow)}
.btn--lg{min-height:56px;padding:0 26px;font-size:17px}
.btn--block{width:100%}
.age-badge{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;border:2px solid #fff;font:800 13px/1 var(--font)}
.age-badge--lg{width:48px;height:48px;font-size:15px;border-color:var(--yellow);color:var(--yellow)}

/* ---------- Header ---------- */
.top{position:sticky;top:0;z-index:80;background:#1a1c20;box-shadow:0 1px 0 rgba(255,255,255,.04)}
.top__in{max-width:var(--wrap);margin:0 auto;padding:10px 24px;display:flex;align-items:center;gap:16px}
.logo img{width:150px;height:auto}
.top__right{margin-left:auto;display:flex;align-items:center;gap:10px}
.pill-link{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px;border-radius:12px;background:var(--s2);font-weight:600;font-size:15px;text-decoration:none;transition:background .15s ease}
.pill-link .icon{width:19px;height:19px;color:var(--red)}
.pill-link:hover{background:var(--s3)}
.lang{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 14px;border-radius:12px;background:var(--s2);font-weight:700;font-size:15px}
.flag-br{position:relative;width:24px;height:17px;border-radius:3px;background:#009c3b;overflow:hidden}
.flag-br::before{content:"";position:absolute;inset:2px 3px;background:#ffdf00;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.flag-br::after{content:"";position:absolute;left:50%;top:50%;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;background:#002776}

.nav{background:var(--s2);border-top:1px solid rgba(255,255,255,.03)}
.nav__in{max-width:var(--wrap);margin:0 auto;display:flex;overflow-x:auto;scrollbar-width:none}
.nav__in::-webkit-scrollbar{display:none}
.nav__a{position:relative;flex:1 1 0;min-width:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:14px 10px 12px;color:#d7dae0;font-weight:500;font-size:15.5px;text-decoration:none;white-space:nowrap;transition:color .15s ease,background .15s ease}
.nav__a .icon{width:28px;height:28px;color:#e8eaee;transition:color .15s ease,transform .2s ease}
.nav__a:hover{color:var(--yellow);background:rgba(255,255,255,.02)}
.nav__a:hover .icon{color:var(--yellow);transform:translateY(-2px)}
.nav__a.is-active{color:var(--yellow)}
.nav__a.is-active .icon{color:var(--yellow)}
.nav__a.is-active::before{content:"";position:absolute;left:18%;right:18%;top:0;height:2px;background:var(--yellow)}
.nav__a--accent{margin-left:auto;flex:0 0 auto;padding:14px 26px 12px;color:var(--yellow);font-weight:700;text-transform:uppercase;font-size:14.5px;letter-spacing:.02em;border-left:1px solid var(--line);border-right:1px solid var(--line)}
.nav__a--accent .icon{color:var(--yellow)}

/* ---------- Main ---------- */
.main{max-width:var(--wrap);margin:0 auto;padding:26px 24px 40px}

/* ---------- Home hero ---------- */
.hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px;align-items:center;padding:44px 40px 44px 48px;border-radius:var(--r-lg);
  background:radial-gradient(520px 420px at 78% 50%,rgba(248,210,28,.12),transparent 65%),
             radial-gradient(500px 300px at 0% 0%,rgba(46,155,31,.14),transparent 60%),
             linear-gradient(135deg,#22252b,#191b20 65%);
  border:1px solid rgba(255,255,255,.05)}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.5;background-image:radial-gradient(rgba(255,255,255,.07) 1.5px,transparent 2px);background-size:22px 22px;-webkit-mask-image:linear-gradient(90deg,transparent 40%,#000);mask-image:linear-gradient(90deg,transparent 40%,#000)}
.hero__eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;padding:6px 12px;border-radius:999px;background:rgba(248,210,28,.1);color:var(--yellow);font-size:13.5px;font-weight:600}
.hero__eyebrow .icon{width:17px;height:17px}
.hero__title{margin:0 0 14px;font-size:clamp(30px,3.4vw,46px);line-height:1.1;font-weight:800;letter-spacing:-.02em}
.hero__intro{margin:0;max-width:640px;color:var(--text-2);font-size:17px;line-height:1.65}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 0;padding:0;list-style:none}
.chips li{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 13px;border-radius:999px;background:var(--s2);font-size:14.5px;font-weight:600}
.chips .icon{width:18px;height:18px;color:var(--yellow)}
.hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}

/* барабан бинго */
.globe{position:relative;width:100%;max-width:420px;justify-self:center}
.globe__svg{width:100%;overflow:visible;filter:drop-shadow(0 28px 34px rgba(0,0,0,.5))}
.gb__l{font:400 15px/1 var(--display)}
.gb__n{font:800 10px/1 var(--font);fill:#1c1e23}
.globe__halo{animation:gHalo 4s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.globe__wires{animation:gSpin 9s linear infinite;transform-box:view-box;transform-origin:180px 160px}
.globe__balls{transform:translate(180px,160px)}
.gb{animation:gTumble 7s linear infinite}
.gb--1{animation-delay:0s}.gb--2{animation-delay:-1.4s;animation-duration:6s}.gb--3{animation-delay:-2.8s;animation-duration:8s}
.gb--4{animation-delay:-3.6s;animation-duration:5.5s}.gb--5{animation-delay:-4.4s;animation-duration:6.5s}.gb--6{animation-delay:-5.2s;animation-duration:7.5s}
@keyframes gTumble{
  0%{transform:translate(var(--x),var(--y)) rotate(-12deg)}
  25%{transform:translate(calc(var(--y)*-1),var(--x)) rotate(10deg)}
  50%{transform:translate(calc(var(--x)*-1),calc(var(--y)*-1)) rotate(-8deg)}
  75%{transform:translate(var(--y),calc(var(--x)*-1)) rotate(12deg)}
  100%{transform:translate(var(--x),var(--y)) rotate(-12deg)}
}
@keyframes gSpin{to{transform:rotate(360deg)}}
@keyframes gHalo{50%{opacity:.6;transform:scale(1.06)}}
.gb-out{animation:gOut 4.5s cubic-bezier(.3,.7,.3,1) infinite}
@keyframes gOut{
  0%,15%{transform:translate(180px,250px) scale(.4);opacity:0}
  30%{transform:translate(220px,290px) scale(1);opacity:1}
  45%,80%{transform:translate(300px,300px) scale(1);opacity:1}
  100%{transform:translate(300px,300px) scale(1);opacity:0}
}
.bcard{position:absolute;left:-6%;bottom:2%;width:46%;padding:8px;border-radius:12px;background:#fff;color:#1c1e23;box-shadow:0 18px 30px rgba(0,0,0,.45);transform:rotate(-8deg);animation:bFloat 5s ease-in-out infinite}
@keyframes bFloat{50%{transform:rotate(-5deg) translateY(-8px)}}
.bcard__head{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;margin-bottom:4px}
.bcard__head span{display:grid;place-items:center;height:22px;border-radius:5px;background:var(--yellow);font:400 12px/1 var(--display);color:#1c1e23}
.bcard__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:3px}
.bcard__grid span{display:grid;place-items:center;aspect-ratio:1;border-radius:5px;background:#f1f2f4;font:800 11px/1 var(--font)}
.bcard__grid .is-m{background:var(--green);color:#fff}
.bcard__grid .is-row{animation:bRow 2.4s ease-in-out infinite}
.bcard__grid .is-row:nth-child(2){animation-delay:.12s}.bcard__grid .is-row:nth-child(3){animation-delay:.24s}.bcard__grid .is-row:nth-child(4){animation-delay:.36s}.bcard__grid .is-row:nth-child(5){animation-delay:.48s}
@keyframes bRow{0%,60%,100%{background:var(--green)}75%{background:var(--yellow);color:#1c1e23}}

/* ---------- Notice ---------- */
.notice{display:flex;align-items:center;gap:16px;margin-top:18px;padding:16px 20px;border-radius:var(--r);background:var(--s1);border-left:4px solid var(--yellow)}
.notice__ico{flex:0 0 40px;height:40px;display:grid;place-items:center;border-radius:10px;background:rgba(248,210,28,.12);color:var(--yellow)}
.notice p{margin:0;flex:1;color:var(--text-2);font-size:15px;line-height:1.5}
.notice b{color:#fff}
.notice a{color:var(--yellow);font-weight:600}

/* ---------- Section bar (как «Jogos Ao Vivo / Ver todos») ---------- */
.bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-radius:6px;background:var(--s2)}
.bar__title{margin:0;color:var(--yellow);font-size:24px;font-weight:600;letter-spacing:-.005em}
.bar__more{color:var(--yellow);font-size:20px;font-weight:600;text-decoration:none}
.bar__more:hover{text-decoration:underline}

.rail{margin-top:34px}
.rail__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 5*16px)/6);gap:16px;margin-top:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.rail__track::-webkit-scrollbar{display:none}
.scard{scroll-snap-align:start;display:flex;flex-direction:column;border-radius:12px;overflow:hidden;text-decoration:none;background:var(--s1);box-shadow:0 0 0 1px rgba(255,255,255,.05);transition:transform .2s ease,box-shadow .2s ease}
.scard:hover{transform:translateY(-4px);box-shadow:0 0 0 2px var(--yellow),0 14px 28px rgba(0,0,0,.4)}
.scard__art{aspect-ratio:200/116;width:100%;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.12),transparent 60%),linear-gradient(160deg,var(--b),var(--a));padding:6px}
.scard__body{display:flex;flex-direction:column;gap:2px;padding:12px 14px 14px}
.scard__body b{font-size:16.5px;font-weight:700}
.scard__body small{color:var(--muted);font-size:13.5px}
.scard:hover .scard__body b{color:var(--yellow)}

.facts{margin-top:34px}
.facts__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 0}
.facts__grid>div{padding:16px 18px;border-radius:12px;background:var(--s1)}
.facts dt{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px;font-weight:500}
.facts dt .icon{width:18px;height:18px;color:var(--yellow)}
.facts dd{margin:4px 0 0;font-size:17px;font-weight:700}

/* ---------- Inner hero ---------- */
.phero{position:relative;overflow:hidden;display:flex;align-items:center;gap:30px;padding:34px 40px;border-radius:var(--r-lg);background:radial-gradient(500px 280px at 92% 50%,rgba(248,210,28,.12),transparent 65%),linear-gradient(135deg,#22252b,#191b20 70%);border:1px solid rgba(255,255,255,.05)}
.phero__in{flex:1;min-width:0}
.phero__icon{flex:0 0 150px;height:150px;display:grid;place-items:center;border-radius:40px;background:rgba(248,210,28,.08);color:var(--yellow);transform:rotate(-6deg);box-shadow:inset 0 0 0 2px rgba(248,210,28,.25)}
.phero__icon .icon{width:76px;height:76px;stroke-width:1.5}
.crumbs{display:flex;align-items:center;gap:6px;margin-bottom:12px;color:var(--muted);font-size:14.5px;font-weight:500}
.crumbs a{color:var(--text-2);text-decoration:none}
.crumbs a:hover{color:var(--yellow)}
.crumbs .icon{width:14px;height:14px}
.phero__title{margin:0 0 10px;font-size:clamp(28px,3vw,42px);line-height:1.12;font-weight:800;letter-spacing:-.02em}
.phero__meta{display:flex;align-items:center;gap:6px;margin:0 0 14px;color:var(--muted);font-size:14.5px}
.phero__meta .icon{width:16px;height:16px}
.phero__intro{margin:0;max-width:820px;color:var(--text-2);font-size:17px;line-height:1.65}

/* ---------- Article ---------- */
.layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;margin-top:26px;align-items:start}
.article{min-width:0;padding:32px 38px 38px;border-radius:var(--r-lg);background:var(--s1);color:var(--text-2);font-size:17px;line-height:1.75}
.article>:first-child{margin-top:0}
.article h2{margin:2em 0 .65em;padding:12px 16px;border-radius:6px;background:var(--s2);color:var(--yellow);font-size:clamp(21px,2vw,26px);line-height:1.25;font-weight:600}
.article .toc-m+h2,.article>h2:first-child{margin-top:.3em}
.article h3{margin:1.6em 0 .5em;color:#fff;font-size:20px;line-height:1.3;font-weight:700}
.article p{margin:0 0 1em}
.article strong{color:#fff;font-weight:700}
.article a:not(.btn){color:var(--yellow);font-weight:600;text-decoration:underline;text-decoration-color:rgba(248,210,28,.4);text-underline-offset:3px}
.article a:not(.btn):hover{text-decoration-color:currentColor}
.article ul,.article ol{margin:0 0 1.2em;padding:0;list-style:none}
.article li{position:relative;margin:.45em 0}
.article ul>li{padding-left:28px}
.article ul>li::before{content:"";position:absolute;left:4px;top:.55em;width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff7c2,var(--yellow) 55%,var(--yellow-2));box-shadow:0 0 0 3px rgba(248,210,28,.14)}
.article ol{counter-reset:n;display:grid;gap:8px}
.article ol>li{counter-increment:n;margin:0;padding:12px 16px 12px 58px;border-radius:12px;background:var(--s2)}
.article ol>li::before{content:counter(n);position:absolute;left:14px;top:50%;transform:translateY(-50%);width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--yellow);color:#16181c;font:400 13px/1 var(--display)}
.table-wrap{margin:1.4em 0 1.8em;overflow-x:auto;border-radius:12px;border:1px solid var(--line);-webkit-overflow-scrolling:touch}
.article table{width:100%;border-collapse:collapse;font-size:15.5px;line-height:1.5}
.article th,.article td{padding:13px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.article thead th{background:var(--s2);color:var(--yellow);font-weight:700;font-size:14px;letter-spacing:.04em;text-transform:uppercase}
.article tbody tr:last-child td{border-bottom:0}
.article tbody tr:nth-child(even) td{background:rgba(255,255,255,.015)}
.article tbody td:first-child{color:#fff}
/* «Pix»-подобная карточка для таблиц из 2 колонок не нужна — оставляем таблицу */

.toc-m{display:none;margin:0 0 22px;border-radius:12px;background:var(--s2)}
.toc-m summary{display:flex;align-items:center;gap:10px;padding:14px 16px;list-style:none;cursor:pointer;color:#fff}
.toc-m summary::-webkit-details-marker{display:none}
.toc-m summary .icon{color:var(--yellow)}
.toc-m__chev{margin-left:auto;transition:transform .2s ease}
.toc-m[open] .toc-m__chev{transform:rotate(180deg)}
.toc-m ol,.toc ol{display:block;margin:0;padding:0 10px 12px;list-style:none;counter-reset:none}
.toc-m li,.toc li{margin:0;padding:0;background:none}
.toc-m li::before,.toc li::before{display:none}
.toc-m a,.toc a{display:flex;gap:10px;padding:8px;border-radius:8px;color:var(--text-2)!important;font-weight:500!important;font-size:15px;line-height:1.35;text-decoration:none!important}
.toc-m a span,.toc a span{flex:0 0 auto;color:var(--muted);font-weight:700;font-size:13px;padding-top:1px}
.toc-m a:hover,.toc a:hover{background:var(--s3);color:#fff!important}

.aside{align-self:stretch}
.aside__sticky{position:sticky;top:188px;display:flex;flex-direction:column;gap:14px;max-height:calc(100vh - 206px)}
.toc{min-height:0;overflow-y:auto;padding:14px 8px 8px;border-radius:var(--r-lg);background:var(--s1);scrollbar-width:thin;scrollbar-color:var(--s3) transparent}
.toc__title{margin:0 10px 8px;color:var(--yellow);font-weight:700;font-size:17px}
.toc a.is-active{background:rgba(248,210,28,.1);color:#fff!important}
.toc a.is-active span{color:var(--yellow)}
.aside-rg{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px;border-radius:var(--r-lg);text-align:center;background:linear-gradient(160deg,#2a2c31,#1f2126);border:1px solid rgba(248,210,28,.18)}
.aside-rg__t{margin:4px 0 0;font-size:18px;font-weight:700}
.aside-rg__s{margin:0 0 6px;color:var(--text-2);font-size:14.5px;line-height:1.45}
.aside-rg__s b{color:#fff}

/* ---------- FAQ ---------- */
.faq{margin-top:2.2em}
.faq h2{margin-top:0}
.faq__list{display:grid;gap:10px}
.faq__item{border-radius:12px;background:var(--s2);border:1px solid transparent;transition:border-color .15s ease}
.faq__item[open]{border-color:rgba(248,210,28,.35)}
.faq__item summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;list-style:none;cursor:pointer;color:#fff;font-weight:700;font-size:17px;line-height:1.4}
.faq__item summary::-webkit-details-marker{display:none}
.faq__icon{position:relative;flex:0 0 30px;height:30px;border-radius:50%;background:var(--s3);transition:background .2s ease}
.faq__icon::before,.faq__icon::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;margin:-1px 0 0 -6px;border-radius:2px;background:#fff}
.faq__icon::after{transform:rotate(90deg);transition:transform .2s ease}
.faq__item[open] .faq__icon{background:var(--yellow)}
.faq__item[open] .faq__icon::before,.faq__item[open] .faq__icon::after{background:#16181c}
.faq__item[open] .faq__icon::after{transform:rotate(0)}
.faq__a{padding:0 18px 16px;font-size:16px}
.faq__a>:last-child{margin-bottom:0}

/* ---------- Footer ---------- */
.foot{margin-top:40px;background:#1a1c20}
.foot__in{max-width:var(--wrap);margin:0 auto;padding:44px 24px 34px;display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr 1.1fr;gap:30px}
.foot__brand p{margin:14px 0 0;color:var(--muted);font-size:14.5px;line-height:1.55;max-width:280px}
.foot__h{position:relative;margin:0 0 18px;padding-bottom:12px;font-size:17px;font-weight:600;text-transform:uppercase;letter-spacing:.02em;border-bottom:1px solid var(--line)}
.foot__h::after{content:"";position:absolute;left:0;bottom:-1px;width:44%;height:2px;background:var(--yellow)}
.foot__col ul{margin:0;padding:0 0 0 18px}
.foot__col li{margin:0 0 10px;font-size:15px}
.foot__col li::marker{color:#fff}
.foot__col a{color:#e8eaee;text-decoration:none}
.foot__col a:hover{color:var(--yellow)}
.foot__rg{display:flex;align-items:center;gap:12px}
.foot__rg p{margin:0;color:var(--text-2);font-size:14.5px;line-height:1.5}
.foot__rg a{color:var(--yellow)!important}
.foot__contacts{padding:0!important;list-style:none}
.foot__contacts li{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}
.foot__contacts .icon{width:18px;height:18px;color:var(--yellow)}
.foot__legal{background:#24262b}
.foot__in--legal{display:block;padding:22px 24px 26px}
.foot__legal p{margin:0 auto;max-width:1100px;color:var(--muted);font-size:14px;line-height:1.6;text-align:center}
.foot__copy{margin-top:10px!important;color:#6f7480!important}

.to-top{position:fixed;right:18px;bottom:18px;z-index:60;display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:12px;background:var(--yellow);color:#16181c;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s ease;box-shadow:0 10px 24px rgba(0,0,0,.4)}
.to-top.is-on{opacity:1;visibility:visible;transform:none}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width:1200px){
  .layout{grid-template-columns:1fr}
  .aside{display:none}
  .toc-m{display:block}
  .rail__track{grid-auto-columns:calc((100% - 3*16px)/3.4)}
  .foot__in{grid-template-columns:1fr 1fr 1fr}
  .foot__brand{grid-column:1 / -1}
}
@media (max-width:900px){
  .hero{grid-template-columns:1fr;padding:30px 24px}
  .globe{order:-1;max-width:300px}
  .facts__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .phero{padding:26px 22px}
  .phero__icon{flex-basis:96px;height:96px;border-radius:28px}
  .phero__icon .icon{width:48px;height:48px}
  .article{padding:24px 20px 28px}
  .nav__a{min-width:96px;font-size:14px;padding:12px 8px 10px}
  .nav__a .icon{width:24px;height:24px}
}
@media (max-width:640px){
  html{scroll-padding-top:150px}
  body{font-size:16px}
  .top__in{padding:8px 12px;gap:8px}
  .logo img{width:118px}
  .pill-link{height:38px;padding:0 10px;font-size:13px}
  .pill-link .icon{width:16px;height:16px}
  .lang{display:none}
  .age-badge{width:34px;height:34px;font-size:12px}
  .nav__a{flex:0 0 auto;min-width:0;padding:10px 14px 9px;font-size:13px;gap:4px}
  .nav__a .icon{width:22px;height:22px}
  .nav__a--accent{margin-left:0;padding:10px 14px 9px;font-size:12.5px}
  .main{padding:14px 12px 28px}
  .hero{padding:22px 16px 20px;border-radius:16px}
  .globe{max-width:240px;margin-bottom:-6px}
  .hero__title{font-size:27px}
  .hero__intro{font-size:15.5px}
  .chips li{height:32px;font-size:13px;padding:0 10px}
  .hero__actions .btn{flex:1 1 100%;min-height:50px;font-size:16px}
  .notice{display:grid;grid-template-columns:auto 1fr;padding:14px;gap:10px 12px}
  .notice p{grid-column:1 / -1;font-size:14px}
  .notice .age-badge{justify-self:end}
  .bar{padding:11px 14px}
  .bar__title{font-size:19px}
  .bar__more{font-size:15px}
  .rail__track{grid-auto-columns:62%;gap:10px;margin:14px -12px 0;padding:0 12px 4px;scroll-padding:0 12px}
  .facts__grid{gap:8px}
  .facts__grid>div{padding:12px}
  .facts dd{font-size:15px}
  .phero{flex-direction:column-reverse;align-items:flex-start;gap:14px;padding:20px 16px;border-radius:16px}
  .phero__icon{flex:0 0 auto;width:64px;height:64px;border-radius:18px}
  .phero__icon .icon{width:34px;height:34px}
  .phero__title{font-size:26px}
  .phero__intro{font-size:15.5px}
  .layout{margin-top:16px}
  .article{padding:18px 14px 22px;font-size:16px;border-radius:16px}
  .article h2{font-size:19.5px;padding:10px 12px}
  .article ol>li{padding:10px 12px 10px 50px}
  .article ol>li::before{left:10px;width:28px;height:28px}
  .article th,.article td{padding:10px 12px;font-size:14px}
  .foot__in{grid-template-columns:1fr 1fr;gap:24px 16px;padding:32px 14px 24px}
  .foot__col:nth-last-child(-n+2){grid-column:1 / -1}
}
@media (max-width:360px){
  .pill-link span{display:none}
  .facts__grid{grid-template-columns:1fr}
}

/* ---------- Header CTA ---------- */
.top__cta{min-height:44px;padding:0 18px;font-size:15.5px;border-radius:12px}
.top__cta .icon{width:18px;height:18px}

/* ---------- App hero ---------- */
.apphero{position:relative;overflow:hidden;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:24px;align-items:center;padding:40px 40px 40px 48px;border-radius:var(--r-lg);
  background:radial-gradient(560px 440px at 75% 55%,rgba(248,210,28,.16),transparent 65%),radial-gradient(500px 320px at 0% 100%,rgba(50,188,173,.12),transparent 60%),linear-gradient(135deg,#22252b,#17191d 70%);border:1px solid rgba(255,255,255,.05)}
.apphero::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.45;background-image:radial-gradient(rgba(255,255,255,.07) 1.5px,transparent 2px);background-size:22px 22px;-webkit-mask-image:linear-gradient(90deg,transparent 45%,#000);mask-image:linear-gradient(90deg,transparent 45%,#000)}
.apphero__title{margin:0 0 12px;font-size:clamp(30px,3.3vw,46px);line-height:1.1;font-weight:800;letter-spacing:-.02em}
.apphero__intro{margin:0;max-width:620px;color:var(--text-2);font-size:17px;line-height:1.65}
.apphero__steps{display:grid;gap:8px;margin:20px 0 0;padding:0;list-style:none;max-width:460px}
.apphero__steps li{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:12px;background:rgba(255,255,255,.04);font-weight:500}
.apphero__steps span{flex:0 0 28px;height:28px;display:grid;place-items:center;border-radius:50%;background:var(--yellow);color:#16181c;font:400 12px/1 var(--display)}
.apphero__steps b{color:var(--yellow)}
.apphero .phero__meta{margin:18px 0 0}

.phone-scene{position:relative;height:500px;display:grid;place-items:center}
.phone-scene__glow{position:absolute;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(248,210,28,.35),transparent 65%);filter:blur(10px);animation:pGlow 4s ease-in-out infinite}
@keyframes pGlow{50%{transform:scale(1.1);opacity:.7}}
.phone{position:relative;z-index:2;width:236px;height:476px;padding:10px;border-radius:42px;background:linear-gradient(145deg,#3a3d45,#121318);box-shadow:0 0 0 2px #4a4e58,0 40px 60px rgba(0,0,0,.6),inset 0 0 0 2px rgba(255,255,255,.06);transform:rotate(-6deg);animation:pFloat 6s ease-in-out infinite}
@keyframes pFloat{50%{transform:rotate(-4deg) translateY(-12px)}}
.phone__notch{position:absolute;left:50%;top:18px;z-index:5;width:74px;height:20px;margin-left:-37px;border-radius:12px;background:#0b0c0f}
.phone__screen{position:relative;width:100%;height:100%;overflow:hidden;border-radius:33px;background:#101216}
.phone-shadow{position:absolute;bottom:10px;width:200px;height:24px;border-radius:50%;background:rgba(0,0,0,.55);filter:blur(10px);animation:pShadow 6s ease-in-out infinite}
@keyframes pShadow{50%{transform:scale(.85);opacity:.6}}

/* сцена 1: домашний экран, иконка появляется */
.ps-home,.ps-app{position:absolute;inset:0;padding:40px 16px 16px}
.ps-home{background:linear-gradient(160deg,#2a5d55,#1b2a3a 60%,#2b2140);animation:sHome 9s ease-in-out infinite}
.ps-app{background:#16181c;animation:sApp 9s ease-in-out infinite}
@keyframes sHome{0%,42%{opacity:1;transform:scale(1)}50%,94%{opacity:0;transform:scale(1.15)}100%{opacity:1;transform:scale(1)}}
@keyframes sApp{0%,44%{opacity:0;transform:scale(.6)}54%,92%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.6)}}
.ps-status{display:flex;justify-content:space-between;margin:-24px 4px 18px;font:600 11px/1 var(--font);color:#fff}
.ps-bars{width:22px;height:9px;border-radius:2px;background:linear-gradient(90deg,#fff 70%,rgba(255,255,255,.3) 70%)}
.ps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 10px}
.ps-grid i{aspect-ratio:1;border-radius:12px;background:rgba(255,255,255,.18)}
.ps-grid i:nth-child(3n){background:rgba(255,255,255,.28)}
.ps-newicon{min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;animation:sIcon 9s cubic-bezier(.3,1.5,.5,1) infinite}
.ps-newicon img{width:100%;min-width:0;aspect-ratio:1;border-radius:12px;box-shadow:0 0 0 2px var(--yellow),0 6px 16px rgba(248,210,28,.45)}
.ps-newicon small{font:600 9px/1 var(--font);color:#fff}
@keyframes sIcon{0%,10%{transform:scale(0);opacity:0}20%,34%{transform:scale(1);opacity:1}38%{transform:scale(1.18)}42%,100%{transform:scale(1);opacity:1}}
.ps-toast{position:absolute;left:14px;right:14px;bottom:18px;display:flex;align-items:center;gap:6px;padding:9px 10px;border-radius:12px;background:rgba(255,255,255,.95);color:#16181c;font:700 11px/1 var(--font);animation:sToast 9s ease infinite}
.ps-toast .icon{width:15px;height:15px;color:#2e9b1f}
@keyframes sToast{0%,18%{transform:translateY(80px);opacity:0}24%,40%{transform:none;opacity:1}46%,100%{transform:translateY(80px);opacity:0}}

/* сцена 2: «приложение» бинго */
.ps-top{display:flex;align-items:center;justify-content:space-between;margin:-18px 0 12px}
.ps-top img{width:76px}
.ps-live{padding:4px 7px;border-radius:6px;background:#e0453a;font:800 9px/1 var(--font);letter-spacing:.06em;animation:sBlink 1.2s steps(2) infinite}
@keyframes sBlink{50%{opacity:.4}}
.ps-video{position:relative;height:136px;padding-bottom:30px;border-radius:14px;background:radial-gradient(circle at 50% 40%,#3a2f0a,#16181c 75%);display:grid;place-items:center;overflow:hidden}
.ps-ball{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff7c2,var(--yellow) 55%,var(--yellow-2));color:#5a4300;font:400 20px/1 var(--display);box-shadow:0 0 30px rgba(248,210,28,.5);animation:sBall 3s cubic-bezier(.3,1.4,.5,1) infinite}
.ps-ball small{display:block;font-size:13px;margin-top:-4px}
@keyframes sBall{0%{transform:scale(0) rotate(-180deg)}25%,85%{transform:scale(1) rotate(0)}100%{transform:scale(0)}}
.ps-balls{position:absolute;left:8px;right:8px;bottom:8px;display:flex;gap:5px;justify-content:center}
.ps-balls i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;color:#16181c;font:800 9px/1 var(--font);font-style:normal;box-shadow:0 0 0 2px #3fa7ff}
.ps-balls i:nth-child(2){box-shadow:0 0 0 2px #ff5a5f}.ps-balls i:nth-child(3){box-shadow:0 0 0 2px #2ecc71}.ps-balls i:nth-child(4){box-shadow:0 0 0 2px #b07cff}
.ps-card{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-top:12px;padding:8px;border-radius:12px;background:#fff}
.ps-card span{display:grid;place-items:center;aspect-ratio:1;border-radius:5px;background:#eef0f3;color:#16181c;font:800 10px/1 var(--font)}
.ps-card .m{background:var(--green);color:#fff}
.ps-card .r{animation:bRow 2.4s ease-in-out infinite}
.ps-card .r:nth-child(2){animation-delay:.1s}.ps-card .r:nth-child(3){animation-delay:.2s}.ps-card .r:nth-child(4){animation-delay:.3s}.ps-card .r:nth-child(5){animation-delay:.4s}
.ps-tabs{position:absolute;left:16px;right:16px;bottom:14px;display:flex;justify-content:space-around;padding:10px;border-radius:14px;background:#22252b}
.ps-tabs i{width:20px;height:20px;border-radius:6px;background:#3a3e47}
.ps-tabs i.on{background:var(--yellow)}

/* орбитальные значки */
.orbit{position:absolute;z-index:3;display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#24272d;color:var(--yellow);box-shadow:0 0 0 1px rgba(248,210,28,.3),0 14px 26px rgba(0,0,0,.45)}
.orbit .icon{width:28px;height:28px}
.orbit--1{left:8%;top:18%;animation:oF 5s ease-in-out infinite}
.orbit--2{right:6%;top:30%;animation:oF 6s ease-in-out infinite -2s}
.orbit--3{left:14%;bottom:16%;animation:oF 5.5s ease-in-out infinite -1s}
@keyframes oF{50%{transform:translateY(-14px) rotate(6deg)}}

@media (max-width:900px){
  .apphero{grid-template-columns:1fr;padding:28px 22px}
  .phone-scene{order:-1;height:400px}
  .phone{width:190px;height:384px;border-radius:36px}
  .phone__screen{border-radius:28px}
  .ps-video{height:112px;padding-bottom:28px}
  .ps-ball{width:50px;height:50px;font-size:16px}
  .ps-balls i{width:20px;height:20px;font-size:8px}
}
@media (max-width:640px){
  .top__cta{min-height:38px;padding:0 12px;font-size:13.5px}
  .top__cta .icon{display:none}
  .apphero{padding:20px 16px;border-radius:16px}
  .apphero__title{font-size:26px}
  .apphero__intro{font-size:15.5px}
  .apphero .hero__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .apphero .hero__actions .btn{min-height:48px;padding:0 10px;font-size:15px}
  .phone-scene{height:360px}
  .orbit{width:46px;height:46px;border-radius:14px}
  .orbit .icon{width:22px;height:22px}
}
@media (max-width:360px){.top__cta span{font-size:12.5px}}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
