/*
Theme Name: Pingwin
Description: Тема сайту pingwincasino.com.ua (головна-лобі, слайдер, SEO-текст, 21+).
Version: 1.0.0
Text Domain: pingwin
*/

/* Tokens, layout, components */
:root {
  --bg: #f4f4f6;
  --card: #ffffff;
  --card-2: #f0eff3;
  --line: #e4e3e8;
  --text: #18171c;
  --muted: #62616b;
  --accent: #ff8f00;
  --accent-hover: #ff7a00;
  --on-accent: #1a1205;
  --link: #b35400;
  --brand: #2873e8;
  --brand-soft: #e7f0ff;
  --star: #ffb400;
  --ok: #15803d;
  --hero-bg: #16151b;
  --hero-text: #f4f3f7;
  --hero-muted: #b9b7c2;
  --shadow: 0 1px 2px rgba(20, 18, 30, .05), 0 6px 20px rgba(20, 18, 30, .07);
  --r: 14px;
  --r-sm: 10px;
  --ff-head: "Onest", system-ui, sans-serif;
  --ff-text: "Golos Text", system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #111014;
  --card: #1b1a20;
  --card-2: #24232a;
  --line: #2f2e36;
  --text: #f1f0f4;
  --muted: #a3a1ad;
  --link: #ffa83d;
  --brand: #7bb0ff;
  --brand-soft: #1d2a40;
  --ok: #4ade80;
  --hero-bg: #1c1a22;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--ff-text); overflow-x: hidden; }
body.has-bar { padding-bottom: 92px; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
button { font: inherit; color: inherit; }
h1, h2, .t-h3 { font-family: var(--ff-head); line-height: 1.2; margin: 0; }
h2 { font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
.t-h3 { font-size: 18px; font-weight: 700; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* buttons */
.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: var(--r-sm); border: 1px solid transparent; font: 700 15px/1 var(--ff-head); cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--text); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn:focus-visible, .tile:focus-visible, .game:focus-visible, .icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ad-note { font-size: 12px; line-height: 1.45; color: var(--muted); margin: 12px 0 0; }

/* header */
.header { position: sticky; top: 0; z-index: 40; background: var(--card); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark { width: 38px; height: 38px; cursor: pointer; border-radius: 11px; }
.logo__text { font: 800 22px/1 var(--ff-head); color: var(--text); text-decoration: none; letter-spacing: -.02em; }
.logo__text:hover { color: var(--text); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: var(--muted); text-decoration: none; font: 600 15px/1 var(--ff-head); padding: 10px 12px; border-radius: 8px; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--text); background: var(--card-2); }
.nav a.is-active { color: var(--text); background: var(--card-2); box-shadow: inset 0 -2px 0 var(--accent); }
.header__act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; color: var(--text); transition: border-color .15s; }
.icon-btn:hover { border-color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-ico--sun { display: none; }
:root[data-theme="dark"] .theme-ico--sun { display: block; }
:root[data-theme="dark"] .theme-ico--moon { display: none; }
.burger { display: none; }
.mnav { display: none; }
.mnav__theme { display: none; }

/* promo slider (first screen) */
.hero-sec { padding: 24px 0 0; }
.slider { position: relative; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; overflow: hidden; color: #f6f5f9;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 24px; padding: 36px 72px; min-height: 340px; }
.slide--1 { background: radial-gradient(circle at 75% 45%, rgba(255, 149, 0, .38), transparent 50%), linear-gradient(135deg, #17161c, #2b1f1b); }
.slide--2 { background: radial-gradient(circle at 72% 40%, rgba(120, 200, 255, .35), transparent 52%), linear-gradient(135deg, #0d1b33, #10385a); }
.slide--3 { background: radial-gradient(circle at 74% 45%, rgba(214, 120, 255, .35), transparent 52%), linear-gradient(135deg, #1a1030, #3a1650); }
.slide--4 { background: radial-gradient(circle at 74% 40%, rgba(255, 210, 90, .32), transparent 52%), linear-gradient(135deg, #1b1a12, #3d3010); }
.slide--5 { background: radial-gradient(circle at 74% 45%, rgba(255, 149, 0, .3), transparent 50%), linear-gradient(135deg, #0f1d24, #173a3a); }
.slide__kicker { display: inline-block; font: 700 12px/1 var(--ff-head); letter-spacing: .04em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.slide__title { font: 800 42px/1.08 var(--ff-head); letter-spacing: -.02em; margin: 14px 0 10px; }
.slide__title b { color: #ffb24d; font-weight: 800; }
.slide--2 .slide__title b { color: #8fd0ff; }
.slide--3 .slide__title b { color: #e7a6ff; }
.slide--4 .slide__title b { color: #ffd36b; }
.slide__sub { font-size: 17px; color: rgba(246, 245, 249, .78); margin: 0 0 20px; max-width: 460px; }
.slide__note { font-size: 11px; line-height: 1.4; color: rgba(246, 245, 249, .6); margin: 14px 0 0; max-width: 460px; }
.slide__art { width: 100%; max-height: 300px; justify-self: center; }
.sl-arrow { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(20, 19, 25, .55); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .15s, border-color .15s; }
.sl-arrow:hover { background: rgba(20, 19, 25, .85); border-color: var(--accent); }
.sl-arrow svg { width: 20px; height: 20px; }
.sl-arrow--prev { left: 14px; }
.sl-arrow--next { right: 14px; }
.sl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.sl-dots button { width: 28px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: var(--line); cursor: pointer; transition: background-color .15s; }
.sl-dots button:hover { background: var(--muted); }
.sl-dots button.is-on { background: var(--accent); }

/* intro under the slider */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: end; margin-top: 32px; }
.intro h1 { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.intro p { margin: 10px 0 0; color: var(--muted); font-size: 17px; max-width: 680px; }
.facts { display: grid; grid-template-columns: repeat(2, auto); gap: 8px; margin: 0; padding: 0; list-style: none; }
.facts li { font: 700 14px/1.2 var(--ff-head); padding: 10px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.facts li span { color: var(--muted); font-weight: 500; }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px 14px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); cursor: pointer; transition: border-color .15s, box-shadow .15s; text-align: center; }
.tile:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.tile svg { width: 30px; height: 30px; color: var(--accent); }
.tile span { font: 600 13px/1.25 var(--ff-head); }

/* page flow: late sections go to the bottom visually */
main.page-flow { display: flex; flex-direction: column; }
main.page-flow > * { order: 0; }
main.page-flow > .section--late { order: 5; }
.section { padding: 56px 0 0; }
.section:last-child { padding-bottom: 64px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head p { margin: 8px 0 0; color: var(--muted); max-width: 680px; }

/* games */
.games { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.game { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.game__img { position: relative; border-radius: 12px; overflow: hidden; background: var(--card-2); aspect-ratio: 3 / 4; }
.game__img img { width: 100%; height: 100%; object-fit: cover; }
.game__img::after { content: "Грати"; position: absolute; left: 50%; bottom: 12px; translate: -50% 0; background: var(--accent); color: var(--on-accent);
  font: 700 13px/1 var(--ff-head); padding: 9px 16px; border-radius: 8px; opacity: 0; transition: opacity .15s; }
.game:hover .game__img::after, .game:focus-visible .game__img::after { opacity: 1; }
.game:hover .game__img { box-shadow: 0 0 0 2px var(--accent); }
.game__name { font: 700 14px/1.3 var(--ff-head); }
.game__prov { font-size: 12px; color: var(--muted); margin-top: -6px; }
.label { position: absolute; top: 8px; left: 8px; z-index: 1; font: 700 11px/1 var(--ff-head); padding: 5px 7px; border-radius: 6px; background: var(--brand); color: #fff; }
.more { display: flex; justify-content: center; margin-top: 24px; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bonus { display: flex; flex-direction: column; gap: 10px; }
.bonus--main { grid-column: span 2; background: linear-gradient(135deg, var(--hero-bg), #2a1f22); color: var(--hero-text); border: 0; }
.bonus--main .muted { color: var(--hero-muted); }
.bonus__kicker { font: 600 13px/1.2 var(--ff-head); color: var(--muted); }
.bonus__val { font: 800 26px/1.15 var(--ff-head); letter-spacing: -.01em; }
.bonus--main .bonus__val { font-size: 34px; }
.bonus p { margin: 0; font-size: 15px; }
.bonus .btn { margin-top: auto; align-self: flex-start; }
.mini-tiers { display: flex; gap: 6px; align-items: flex-end; height: 54px; margin: 2px 0 4px; }
.mini-tiers i { flex: 1; border-radius: 6px 6px 3px 3px; }
.mini-tiers i:nth-child(1) { height: 30%; background: #e9c3a0; }
.mini-tiers i:nth-child(2) { height: 50%; background: #d5d9e0; }
.mini-tiers i:nth-child(3) { height: 75%; background: #ffd36b; }
.mini-tiers i:nth-child(4) { height: 100%; background: #9cc4f5; }
.mini-tiers-l { display: flex; gap: 6px; font-size: 11px; color: var(--muted); }
.mini-tiers-l span { flex: 1; text-align: center; }
.bonus--main .ad-note { color: var(--hero-muted); margin-top: 0; }

/* cashback tiers */
.cb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cb__text p { margin: 0 0 14px; }
.cb__list { margin: 0; padding-left: 20px; }
.cb__list li { margin-bottom: 6px; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; height: 260px; }
.tier { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.tier__bar { border-radius: 12px 12px 6px 6px; display: flex; align-items: flex-end; justify-content: center; padding: 12px 4px; font: 800 15px/1 var(--ff-head); }
.tier__name { font: 700 14px/1.2 var(--ff-head); text-align: center; margin-top: 10px; }
.tier--1 .tier__bar { height: 32%; background: #e9c3a0; color: #4a2c12; }
.tier--2 .tier__bar { height: 52%; background: #d5d9e0; color: #2b2f36; }
.tier--3 .tier__bar { height: 74%; background: #ffd36b; color: #4a3300; }
.tier--4 .tier__bar { height: 100%; background: linear-gradient(180deg, #cfe3ff, #9cc4f5); color: #12325c; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--card-2);
  color: var(--text); font: 800 16px/1 var(--ff-head); margin-bottom: 14px; box-shadow: inset 0 0 0 2px var(--accent); }
.steps p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.cta-row .ad-note { margin: 0; flex: 1 1 280px; }

/* payments */
.pay { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.pay li { font: 700 14px/1 var(--ff-head); padding: 12px 16px; border-radius: 10px; background: var(--card-2); }
.pay-facts { margin: 0; padding-left: 20px; }
.pay-facts li { margin-bottom: 6px; }

/* apps */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.app { display: flex; align-items: center; gap: 14px; }
.app svg { width: 36px; height: 36px; flex-shrink: 0; color: var(--text); }
.app__txt { flex: 1; }
.app__txt p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }

/* license */
.lic { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
.lic dl { margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.lic dt { color: var(--muted); }
.lic dd { margin: 0; font-weight: 600; }
.ph { border-bottom: 1px dashed var(--accent); cursor: help; }
.lic ul { margin: 12px 0 0; padding-left: 20px; }
.lic li { margin-bottom: 6px; }

/* seo text */
.seo > * { max-width: 860px; }
.seo h2 { margin: 40px 0 14px; font-size: 26px; }
.seo > h2:first-child { margin-top: 0; }
.seo p { margin: 0 0 14px; }
.seo ul { margin: 0 0 14px; padding-left: 22px; }
.seo li { margin-bottom: 6px; }
.tbl-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl th { font-weight: 600; color: var(--muted); width: 38%; }

/* faq */
.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s; }
.faq details:hover { border-color: var(--accent); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font: 700 16px/1.35 var(--ff-head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* author */
.author-box { display: flex; gap: 18px; align-items: flex-start; max-width: 860px; }
.author-box__ph { width: 72px; height: 72px; border-radius: 50%; background: var(--card-2); display: grid; place-items: center;
  font: 800 24px/1 var(--ff-head); color: var(--muted); flex-shrink: 0; }
.author-box p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.author-box__meta { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* footer */
.footer { background: var(--card); border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.footer p { margin: 10px 0 0; color: var(--muted); }
.footer ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--link); }
.footer__col-t { font: 700 14px/1.2 var(--ff-head); }
.footer__rg { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.age { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font: 800 13px/1 var(--ff-head); color: var(--text); }
.footer__copy { margin-top: 16px; color: var(--muted); }

/* sticky bonus bar */
.sbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #17161c; color: #f4f3f7; border-top: 1px solid #2c2a33;
  transform: translateY(110%); transition: transform .25s; }
.sbar.is-on { transform: none; }
.sbar__in { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 36px; column-gap: 16px; align-items: center; min-height: 72px; padding-top: 10px; padding-bottom: 10px; }
.sbar__gift { width: 36px; height: 36px; color: #ffb24d; grid-row: 1 / 3; }
.sbar__in .btn { grid-column: 3; grid-row: 1 / 3; }
.sbar__x { grid-column: 4; grid-row: 1 / 3; }
.sbar__t { grid-column: 2; }
.sbar__n { grid-column: 2; }
.sbar__t { font: 800 17px/1.2 var(--ff-head); }
.sbar__t b { color: #ffb24d; }
.sbar__n { font-size: 11px; line-height: 1.35; color: #a9a7b3; margin-top: 3px; }
.sbar__x { width: 36px; height: 36px; border: 0; background: transparent; color: #a9a7b3; cursor: pointer; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; }
.sbar__x:hover { color: #fff; background: #2a2930; }

/* 21+ modal */
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(10, 9, 14, .72); display: grid; place-items: center; padding: 16px; }
.age-gate__box { background: var(--card); color: var(--text); border-radius: 18px; padding: 32px 28px; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.age-gate__box .age { margin: 0 auto 16px; width: 56px; height: 56px; font-size: 17px; border-color: var(--accent); }
.age-gate__t { font: 800 22px/1.25 var(--ff-head); }
.age-gate__box p { color: var(--muted); font-size: 14px; margin: 10px 0 22px; }
.age-gate__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.age-gate__no { display: none; font-weight: 600; color: var(--text) !important; margin-bottom: 0 !important; }
.age-gate.is-no .age-gate__btns { display: none; }
.age-gate.is-no .age-gate__no { display: block; }

/* toast (local preview of /go/ buttons) */
.toast { position: fixed; left: 50%; top: 84px; translate: -50% 0; z-index: 120; background: #17161c; color: #fff; font: 600 13px/1.4 var(--ff-head);
  padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; }

/* inner pages */
main.page { padding: 32px 0 64px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.doc { max-width: 820px; }
.doc h1 { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.doc__meta { color: var(--muted); font-size: 14px; margin: 10px 0 28px; }
.doc h2 { font-size: 24px; margin: 36px 0 12px; }
.doc h3 { font-family: var(--ff-head); font-size: 19px; margin: 24px 0 8px; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-sm); padding: 16px 18px; margin: 0 0 18px; }

/* responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .mnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .mnav.is-open { display: block; }
  .mnav a { display: block; padding: 12px 4px; color: var(--text); text-decoration: none; font: 600 16px/1.2 var(--ff-head); border-bottom: 1px solid var(--line); }
  .mnav a:last-child { border-bottom: 0; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .cb, .lic { grid-template-columns: 1fr; }
  .slide { padding: 28px 64px; gap: 12px; }
  .slide__title { font-size: 34px; }
  .intro { grid-template-columns: 1fr; align-items: start; }
  .facts { grid-template-columns: repeat(4, auto); justify-content: start; }
  .apps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  h2 { font-size: 24px; }
  .header__in { height: 60px; gap: 10px; }
  .logo__text { font-size: 19px; }
  .logo__mark { width: 34px; height: 34px; }
  .header__act .btn--ghost, .header__act .theme-btn { display: none; }
  .mnav__theme { display: block; width: 100%; margin-top: 12px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm);
    background: var(--card-2); font: 600 15px/1 var(--ff-head); cursor: pointer; }
  .header__act .btn--primary { padding: 0 12px; }
  .app { flex-wrap: wrap; }
  .app .btn { width: 100%; }
  .hero-sec { padding-top: 16px; }
  .slides { border-radius: 18px; }
  .slide { grid-template-columns: 1fr; align-content: start; padding: 16px 18px 20px; min-height: 0; gap: 4px; }
  .slide__art { order: -1; max-height: 150px; }
  .slide__title { font-size: 27px; margin: 10px 0 8px; }
  .slide__sub { font-size: 15px; margin-bottom: 16px; }
  .slide .btn { width: 100%; }
  .sl-arrow { display: none; }
  .intro { margin-top: 24px; }
  .intro h1 { font-size: 30px; }
  .intro p { font-size: 16px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .tiles { gap: 8px; }
  .tile { padding: 12px 4px 10px; }
  .tile svg { width: 26px; height: 26px; }
  .tile span { font-size: 12px; }
  .games { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .game__name { font-size: 13px; }
  .section { padding-top: 44px; }
  .grid-4, .grid-2, .steps { grid-template-columns: 1fr; }
  .bonus--main { grid-column: auto; }
  .bonus--main .bonus__val { font-size: 28px; }
  .tiers { height: 210px; gap: 8px; }
  .tier__name { font-size: 12px; }
  .card { padding: 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .sbar__in { grid-template-columns: minmax(0, 1fr) auto 32px; column-gap: 10px; row-gap: 6px; min-height: 0; padding-top: 8px; padding-bottom: 8px; }
  .sbar__gift, .sbar__pre { display: none; }
  .sbar__t { grid-column: 1; grid-row: 1; font-size: 15px; }
  .sbar__in .btn { grid-column: 2; grid-row: 1; }
  .sbar__x { grid-column: 3; grid-row: 1; width: 32px; height: 32px; }
  .sbar__n { grid-column: 1 / -1; grid-row: 2; font-size: 10px; margin-top: 0; }
  body.has-bar { padding-bottom: 96px; }
  .doc h1 { font-size: 30px; }
}
@media (max-width: 400px) {
  .header__act .btn--primary { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
