@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("/assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); }

/* Палитра в стиле Parimatch: чёрный + жёлтый */
:root {
  --bg-0: #0b0b0b;      /* шапка, футер, поля */
  --bg-1: #121212;      /* основной фон */
  --bg-2: #1b1b1b;      /* карточки */
  --bg-3: #262626;      /* hover, линии */
  --bg-4: #333333;
  --text: #ffffff;
  --text-2: #b8b8b8;
  --text-3: #808080;
  --y: #eef51a;         /* жёлтый акцент */
  --y-h: #f6fb5a;
  --y-ink: #0b0b0b;
  --live: #ff3b3b;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --top: 64px;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.25);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 64px); }
body { margin: 0; background: var(--bg-1); color: var(--text-2); font: 400 16px/1.65 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration-color: rgba(238,245,26,.55); text-underline-offset: 3px; }
a:hover { color: var(--y); text-decoration-color: var(--y); }
h1, h2, h3 { color: var(--text); line-height: 1.22; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); margin-top: 2.2em; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; margin-top: 1.6em; font-weight: 700; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: var(--text); font-weight: 700; }
.ico { width: 18px; height: 18px; flex-shrink: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 999; background: var(--y); color: var(--y-ink); padding: 8px 12px; border-radius: var(--r-sm); }
:focus-visible { outline: 2px solid var(--y); outline-offset: 2px; }

/* Логотип */
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; white-space: nowrap; }
.logo:hover { color: #fff; }
.logo-mark { width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--y); color: var(--y-ink); display: grid; place-items: center; font-size: .9rem; font-style: italic; letter-spacing: -.04em; transform: skewX(-8deg); }
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; font-size: 1.15rem; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; }
.logo-txt .logo-sub { color: var(--y); font-size: .62rem; font-weight: 800; font-style: normal; letter-spacing: .12em; }

/* Шапка */
.topbar { position: sticky; top: 0; z-index: 50; height: var(--top); background: var(--bg-0); border-bottom: 1px solid var(--bg-3); }
.topbar-in { max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 18px; }
.burger { display: none; background: transparent; border: 0; color: var(--text); padding: 8px; margin-left: -8px; border-radius: var(--r-sm); cursor: pointer; }
.burger .ico { width: 24px; height: 24px; }
.burger:hover { background: var(--bg-3); }
.main-nav { margin-left: 8px; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav li { margin: 0; position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 10px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.main-nav > ul > li > a .ico { width: 16px; height: 16px; color: var(--text-3); }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current], .main-nav .has-sub.active > a { background: var(--bg-3); color: #fff; }
.main-nav > ul > li > a[aria-current] .ico, .main-nav .has-sub.active > a .ico:first-child { color: var(--y); }
.sub-toggle .ico:last-child { width: 14px; height: 14px; transition: transform .15s; }
.main-nav .sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; background: var(--bg-2); border: 1px solid var(--bg-3); border-radius: var(--r); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s .15s; }
.main-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub, .main-nav .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
.main-nav .has-sub:hover .sub-toggle .ico:last-child, .main-nav .has-sub.open .sub-toggle .ico:last-child { transform: rotate(180deg); }
.main-nav .sub a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; }
.main-nav .sub a .ico { color: var(--text-3); }
.main-nav .sub a:hover, .main-nav .sub a[aria-current] { background: var(--bg-3); color: #fff; }
.main-nav .sub a[aria-current] .ico { color: var(--y); }
.top-actions { margin-left: auto; display: flex; gap: 8px; }

@media (max-width: 1150px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 1000px) {
  .topbar-in { padding: 0 16px; gap: 10px; }
  .wrap { padding: 0 16px; }
}
@media (max-width: 600px) {
  .top-actions .hide-sm { display: none; }
  .logo-txt { font-size: 1rem; }
}

/* Мобильное меню */
.drawer { position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw); background: var(--bg-0); z-index: 60; overflow-y: auto; padding: 0 14px 28px; box-shadow: 4px 0 18px rgba(0,0,0,.5); transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s; }
body.menu-open .drawer { transform: none; visibility: visible; transition: transform .2s ease; }
body.menu-open { overflow: hidden; }
.drawer-head { height: var(--top); display: flex; align-items: center; justify-content: space-between; }
.drawer-close { background: transparent; border: 0; color: var(--text-2); padding: 8px; border-radius: var(--r-sm); cursor: pointer; }
.drawer-close .ico { width: 22px; height: 22px; }
.drawer-close:hover { background: var(--bg-3); color: #fff; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav > ul { background: var(--bg-1); border-radius: var(--r); padding: 6px; }
.drawer-nav li { margin: 0; }
.drawer-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-weight: 700; font-size: .98rem; }
.drawer-nav a .ico { color: var(--text-3); }
.drawer-nav a:hover, .drawer-nav a[aria-current] { background: var(--bg-3); }
.drawer-nav a[aria-current] .ico { color: var(--y); }
.drawer-nav .sub-toggle .ico:last-child { margin-left: auto; transition: transform .15s; }
.drawer-nav .has-sub .sub { display: none; padding: 0 0 6px 18px; }
.drawer-nav .has-sub.open .sub { display: block; }
.drawer-nav .has-sub.open .sub-toggle .ico:last-child { transform: rotate(180deg); }
.drawer-nav .sub a { font-weight: 600; font-size: .93rem; padding: 10px; }
.drawer-cta { display: grid; gap: 8px; margin: 16px 0 12px; }
.drawer-cta .btn { width: 100%; }
.drawer-note { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text-3); margin: 0; padding: 4px; }
.badge-18 { border: 2px solid var(--text-3); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; font-weight: 800; font-size: .72rem; color: var(--text-2); flex-shrink: 0; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 55; }
.scrim[hidden] { display: none; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: var(--r-sm); border: 0; background: var(--y); color: var(--y-ink); font: 800 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; white-space: nowrap; }
.btn:hover { background: var(--y-h); color: var(--y-ink); }
.btn:active { transform: scale(.98); }
.btn-ghost { background: var(--bg-3); color: #fff; box-shadow: inset 0 0 0 1px var(--bg-4); }
.btn-ghost:hover { background: var(--bg-4); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .88rem; }

/* Первый экран */
.hero { background: radial-gradient(900px 400px at 88% -30%, rgba(238,245,26,.16), transparent 62%), radial-gradient(600px 300px at -10% 130%, rgba(238,245,26,.06), transparent 60%), var(--bg-0); padding: 26px 0 38px; border-bottom: 1px solid var(--bg-3); }
.hero-legal { padding-bottom: 30px; }
.crumbs { font-size: .85rem; color: var(--text-3); margin-bottom: 16px; font-weight: 600; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--y); }
.crumbs span[aria-hidden] { margin: 0 8px; }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: center; }
.lead { font-size: 1.06rem; line-height: 1.62; color: var(--text); max-width: 680px; margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.offer-card { position: relative; background: var(--bg-2); border: 1px solid var(--bg-3); border-radius: var(--r-lg); padding: 0 20px 20px; overflow: hidden; box-shadow: var(--shadow); }
.offer-art { position: relative; height: 96px; margin: 0 -20px 16px; background: linear-gradient(115deg, #1b1b1b 0%, #2a2c00 55%, var(--y) 140%); overflow: hidden; }
.offer-art span { position: absolute; border-radius: 50%; background: rgba(238,245,26,.18); }
.offer-art span:nth-child(1) { width: 170px; height: 170px; right: -40px; top: -60px; }
.offer-art span:nth-child(2) { width: 80px; height: 80px; right: 120px; top: 44px; background: rgba(238,245,26,.35); }
.offer-art span:nth-child(3) { width: 36px; height: 36px; left: 30px; top: 30px; background: rgba(255,255,255,.14); }
.offer-card .tag { position: absolute; top: 14px; left: 16px; z-index: 1; display: inline-block; background: var(--y); color: var(--y-ink); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 4px; }
.offer-card .big { font-size: 1.2rem; font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 10px; }
.offer-card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.offer-card li { padding-left: 24px; position: relative; color: var(--text-2); font-weight: 600; font-size: .93rem; }
.offer-card li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--y); border-bottom: 2px solid var(--y); transform: rotate(-45deg); }
.offer-card .btn { width: 100%; }
.offer-card .fine { font-size: .76rem; color: var(--text-3); margin: 10px 0 0; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero .offer-card { display: none; } }

/* Табы разделов */
.tabs { position: sticky; top: var(--top); z-index: 40; background: var(--bg-1); padding: 12px 0; border-bottom: 1px solid var(--bg-3); }
.tabs ul { list-style: none; margin: 0 auto; max-width: 1200px; padding: 0 24px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs li { margin: 0; flex-shrink: 0; }
.tabs a { display: block; padding: 8px 15px; border-radius: 999px; background: var(--bg-2); color: var(--text); text-decoration: none; font-weight: 700; font-size: .86rem; white-space: nowrap; }
.tabs a:hover { background: var(--bg-3); color: #fff; }
.tabs a.active { background: var(--y); color: var(--y-ink); }
@media (max-width: 1000px) { .tabs ul { padding: 0 16px; } }

/* Контент */
.page { max-width: 1200px; margin: 0 auto; padding: 36px 24px 72px; }
@media (max-width: 1000px) { .page { padding: 28px 16px 110px; } }
.content > section { margin-top: 72px; }
.content > section:first-child { margin-top: 0; }
.content > section > h2 { margin-top: 0; margin-bottom: 18px; }
.content > section > h3 { margin-top: 32px; margin-bottom: 12px; }
.content p { margin-bottom: 1.15em; }
.content > section > :last-child { margin-bottom: 0; }
@media (max-width: 700px) { .content > section { margin-top: 56px; } }
.legal h2 { font-size: 1.2rem; }
.legal > section { margin-top: 40px; }

.table-wrap { overflow-x: auto; margin: 24px 0 28px; border-radius: var(--r); background: var(--bg-0); border: 1px solid var(--bg-3); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; }
thead th { color: var(--y); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; background: var(--bg-2); }
tbody tr:nth-child(even) > * { background: rgba(255,255,255,.025); }
td { color: var(--text-2); border-top: 1px solid var(--bg-3); }
tbody th { color: #fff; font-weight: 700; text-transform: none; letter-spacing: 0; font-size: .93rem; background: none; border-top: 1px solid var(--bg-3); }
.facts tbody th { width: 38%; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 24px 0 28px; }
.card { position: relative; background: var(--bg-2); border: 1px solid var(--bg-3); border-radius: var(--r); padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 1rem; }
.card p { margin: 0; color: var(--text-2); font-size: .9rem; }
.card .kicker { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--y); font-weight: 800; margin-bottom: 4px; }
.card .num { display: block; font-size: 1.5rem; font-weight: 800; color: var(--y); line-height: 1.1; margin-bottom: 6px; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); border-color: var(--y); }
.card-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); background: rgba(238,245,26,.12); color: var(--y); margin-bottom: 12px; }
.card-ico .ico { width: 20px; height: 20px; }
.h-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--y); color: var(--y-ink); margin-right: 12px; vertical-align: -7px; }
.h-ico .ico { width: 20px; height: 20px; }

/* Плитки игр */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px 10px; margin: 24px 0 28px; }
.game { display: flex; flex-direction: column; gap: 6px; }
.game .art { position: relative; aspect-ratio: 3/4; border-radius: var(--r); overflow: hidden; padding: 12px; display: flex; align-items: flex-end; background: linear-gradient(160deg, var(--g1, #eef51a) -20%, var(--g2, #0b0b0b) 75%); transition: transform .2s; }
.game .art::before { content: ""; position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; right: -60%; top: -45%; background: rgba(255,255,255,.1); }
.game .art::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; left: -15%; top: 30%; background: rgba(0,0,0,.2); }
.game:hover .art { transform: translateY(-4px); }
.game b { position: relative; z-index: 1; color: #fff; font-size: 1rem; font-weight: 800; line-height: 1.15; text-transform: uppercase; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.game span { display: flex; align-items: center; gap: 6px; color: var(--text-2); font-size: .78rem; font-weight: 600; }
.game span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--y); flex-shrink: 0; }
.art.has-img { padding: 0; background: var(--bg-0); }
.art.has-img::before, .art.has-img::after { display: none; }
.art.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art.has-img b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Шаги */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0 28px; }
.steps > li { counter-increment: s; position: relative; padding: 5px 0 16px 52px; margin: 0; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--y); color: var(--y-ink); font-weight: 800; display: grid; place-items: center; font-size: .92rem; }
.steps > li > b:first-child { display: block; color: var(--text); }

.note { background: var(--bg-2); border-left: 4px solid var(--y); border-radius: var(--r-sm); padding: 14px 16px; margin: 24px 0; }
.note.warn { border-left-color: var(--live); }
.note p:last-child { margin: 0; }

.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: linear-gradient(110deg, #262800, var(--bg-2) 65%); border: 1px solid #3a3d00; border-radius: var(--r-lg); padding: 20px 22px; margin: 36px 0; }
.cta-box p { margin: 0; font-weight: 800; color: #fff; font-size: 1.08rem; }
.cta-box .cta-sub { display: block; font-weight: 600; color: var(--text-2); font-size: .86rem; }
@media (max-width: 600px) { .cta-box p, .cta-box .btn { width: 100%; } }

.faq details { background: var(--bg-2); border: 1px solid var(--bg-3); border-radius: var(--r); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 15px 46px 15px 16px; font-weight: 700; color: #fff; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--y); border-bottom: 2px solid var(--y); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 16px 14px; }
.faq details > div p:last-child { margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 24px; }
.chips li { margin: 0; background: var(--bg-2); border: 1px solid var(--bg-3); border-radius: 999px; padding: 7px 14px; font-size: .86rem; font-weight: 700; color: var(--text); }

.howto { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin: 24px 0 28px; }
.howto-card { background: var(--bg-2); border: 1px solid var(--bg-3); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; }
.howto-card h3 { margin: 0 0 12px; font-size: 1.02rem; }
.howto-card ol { counter-reset: s; list-style: none; padding: 0; margin: 0 0 12px; flex: 1; }
.howto-card li { counter-increment: s; position: relative; padding-left: 34px; margin-bottom: 10px; font-size: .92rem; }
.howto-card li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 4px; background: var(--bg-4); color: var(--y); font-weight: 800; font-size: .78rem; display: grid; place-items: center; }

.meta-line.updated { margin: 40px 0 0; padding-top: 16px; border-top: 1px solid var(--bg-3); color: var(--text-3); font-size: .85rem; font-weight: 600; }

/* Футер */
.site-footer { background: var(--bg-0); border-top: 1px solid var(--bg-3); padding: 44px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; max-width: 560px; } }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .8rem; color: var(--y); margin: 0 0 12px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--y); }
.site-footer .logo { margin-bottom: 12px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.badge { background: var(--bg-2); border: 1px solid var(--bg-3); border-radius: 4px; padding: 5px 10px; font-weight: 800; color: #fff; font-size: .8rem; }
.badge-y { background: var(--y); color: var(--y-ink); border-color: var(--y); }
.pay-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 32px 0 0 !important; padding: 0; }
.pay-strip li { margin: 0; padding: 7px 12px; border-radius: 4px; background: var(--bg-2); border: 1px solid var(--bg-3); color: var(--text-2); font-weight: 800; font-size: .76rem; letter-spacing: .02em; }
.disclaimer { border-top: 1px solid var(--bg-3); margin-top: 24px; padding-top: 18px; font-size: .8rem; line-height: 1.6; color: var(--text-3); text-align: center; }
.disclaimer p { max-width: 900px; margin: 0 auto .8em; }

/* Липкая панель с кнопками на телефоне */
.sticky-cta { display: none; }
@media (max-width: 1000px) {
  .sticky-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(11,11,11,.96); border-top: 1px solid var(--bg-3); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .sticky-cta .btn { padding: 12px 10px; font-size: .9rem; }
  .site-footer { padding-bottom: 96px; }
}

.e404 { text-align: center; padding: 32px 0 8px; }
.e404 .code { font-size: 5.5rem; font-weight: 800; color: var(--y); line-height: 1; font-style: italic; }

/* CS2 и Dota 2 — подпункты Esports */
.sub a[href="/esports/cs2/"], .sub a[href="/esports/dota2/"] { padding-left: 30px; font-size: .88rem; }

/* Картинка первого экрана: своя композиция на каждой странице.
   Холст 5:4, все размеры в cqw (доля ширины блока): композиция масштабируется целиком и не вылезает за рамку. */
.hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; }
.hero-art2 { position: relative; margin: 0; width: 100%; aspect-ratio: 5 / 4; container-type: inline-size; perspective: 1400px; }
.hero-art2 img { display: block; width: 100%; height: auto; }
.hero-art2 > * { position: absolute; margin: 0; }
.shot-tag { z-index: 6; left: 1cqw; top: 1cqw; max-width: 62cqw; background: var(--y); color: var(--y-ink); font-weight: 800; font-size: 3cqw; line-height: 1.25; padding: 1.6cqw 2.4cqw; border-radius: 1.6cqw; transform: rotate(-2deg); box-shadow: 0 1.6cqw 4cqw rgba(0,0,0,.45); }
.art-logo { z-index: 5; width: 38cqw !important; right: 1cqw; bottom: 2cqw; mix-blend-mode: screen; filter: drop-shadow(0 1cqw 3cqw rgba(0,0,0,.6)); }
.art-chip { z-index: 6; right: 1cqw; top: 14cqw; background: #161616; color: #fff; border: 1px solid rgba(238,245,26,.55); font-weight: 800; font-size: 2.5cqw; padding: 1.4cqw 2.4cqw; border-radius: 999px; box-shadow: 0 1.6cqw 4cqw rgba(0,0,0,.5); white-space: nowrap; }
.art-badge { z-index: 6; right: 4cqw; top: 2cqw; width: 13cqw; height: 13cqw; border-radius: 50%; display: grid; place-items: center; background: var(--y); color: var(--y-ink); font-weight: 800; font-size: 4.4cqw; transform: rotate(8deg); box-shadow: 0 2cqw 4cqw rgba(0,0,0,.5); }
.hero-art2 .ov { border-radius: 2cqw; overflow: hidden; background: #0b0b0b; border: 1px solid rgba(238,245,26,.45); box-shadow: 0 3cqw 7cqw rgba(0,0,0,.7); }

/* browser: главная в окне браузера + карточки */
.shot-main { right: 0; top: 10cqw; width: 92cqw; border-radius: 2cqw; overflow: hidden; background: #0b0b0b; border: 1px solid var(--bg-4); box-shadow: 0 4cqw 9cqw rgba(0,0,0,.55); }
.shot-bar { display: flex; gap: 1cqw; align-items: center; height: 3.6cqw; padding: 0 1.8cqw; background: #1d1d1d; border-bottom: 1px solid var(--bg-3); }
.shot-bar i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #3a3a3a; }
.shot-bar i:first-child { background: var(--y); }
.shot-ov { border-radius: 2cqw; overflow: hidden; background: #0b0b0b; border: 1px solid rgba(238,245,26,.45); box-shadow: 0 3cqw 7cqw rgba(0,0,0,.7); }
.shot-a { left: 0; top: 50cqw; width: 42cqw; z-index: 2; }
.shot-b { right: 0; top: 64cqw; width: 56cqw; z-index: 3; }
.lay-browser .shot-main ~ .shot-b:not(.shot-a ~ .shot-b) { width: 80cqw; }

/* phone: наклонённые телефоны */
.art-phone { aspect-ratio: 480 / 1039; border-radius: 4.6cqw; padding: 1.3cqw; background: linear-gradient(145deg, #2a2a2a, #0d0d0d); border: 1px solid #3a3a3a; box-shadow: 0 4cqw 8cqw rgba(0,0,0,.65), inset 0 0 0 2px #050505; overflow: hidden; }
.art-phone img { height: 100%; object-fit: cover; object-position: top; border-radius: 3.4cqw; }
.art-phone .notch { position: absolute; z-index: 2; top: 2.2cqw; left: 50%; width: 9cqw; height: 2.4cqw; margin-left: -4.5cqw; border-radius: 2cqw; background: #050505; }
.lay-phone .art-phone-1 { left: 5cqw; top: 13cqw; width: 29cqw; z-index: 2; transform: rotateY(16deg) rotateZ(-6deg); }
.lay-phone .art-phone-2 { left: 36cqw; top: 16cqw; width: 26cqw; z-index: 1; transform: rotateY(16deg) rotateZ(-6deg); filter: brightness(.85); }
.lay-phone .art-logo { width: 34cqw !important; right: 1cqw; bottom: 3cqw; }
.art-platforms { z-index: 4; right: 1cqw; top: 30cqw; display: flex; background: #131313; border: 1px solid var(--bg-4); border-radius: 2.6cqw; box-shadow: 0 2.6cqw 6cqw rgba(0,0,0,.55); overflow: hidden; }
.art-platforms span { display: flex; align-items: center; gap: 1.4cqw; padding: 2.2cqw 2.6cqw; color: #fff; font-weight: 800; font-size: 2.6cqw; }
.art-platforms span + span { border-left: 1px solid var(--bg-4); }
.art-platforms svg { width: 4.2cqw; height: 4.2cqw; color: var(--y); }
.lay-phone .art-chip { top: 32cqw; }

/* form: наклонённая форма + большая кнопка */
.art-form { left: 4cqw; top: 13cqw; border-radius: 2.2cqw; overflow: hidden; border: 1px solid var(--bg-4); box-shadow: 0 4cqw 9cqw rgba(0,0,0,.65); transform: rotateY(-12deg) rotateZ(2deg); transform-origin: left center; }
.lay-form .art-form { width: 52cqw; }
.lay-form:has(img[src*="login-form"]) .art-form { width: 60cqw; top: 15cqw; }
.art-button { z-index: 4; right: 1cqw; top: 12cqw; background: var(--y); color: var(--y-ink); font-weight: 800; font-size: 5.6cqw; padding: 2.4cqw 5cqw; border-radius: 2.4cqw; transform: rotate(4deg); box-shadow: 0 2.6cqw 6cqw rgba(0,0,0,.55); }

/* fan: веер игровых плиток */
.art-fan { left: 0; top: 0; width: 100cqw; height: 80cqw; }
.art-tile { position: absolute; top: 12cqw; width: 24cqw; border-radius: 1.8cqw; overflow: hidden; box-shadow: 0 3cqw 7cqw rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.08); }
.art-tile:nth-child(1) { left: 3cqw; transform: rotate(-10deg); top: 15cqw; }
.art-tile:nth-child(2) { left: 21cqw; transform: rotate(-5deg); top: 13cqw; }
.art-tile:nth-child(3) { left: 38cqw; z-index: 2; top: 11cqw; }
.art-tile:nth-child(4) { left: 55cqw; transform: rotate(5deg); top: 13cqw; }
.art-tile:nth-child(5) { left: 72cqw; transform: rotate(10deg); top: 15cqw; }
.art-card { z-index: 4; left: 0; top: 54cqw; width: 42cqw; border-radius: 2cqw; overflow: hidden; border: 1px solid rgba(238,245,26,.45); box-shadow: 0 3cqw 7cqw rgba(0,0,0,.7); }
.lay-fan .art-logo { width: 36cqw !important; }

/* stack: стопка карточек акций */
.art-stack { width: 50cqw; border-radius: 2.2cqw; overflow: hidden; border: 1px solid rgba(238,245,26,.35); box-shadow: 0 3.6cqw 8cqw rgba(0,0,0,.65); }
.art-stack-1 { left: 44cqw; top: 13cqw; transform: rotate(6deg); }
.art-stack-2 { left: 24cqw; top: 25cqw; transform: rotate(-3deg); }
.art-stack-3 { left: 3cqw; top: 39cqw; transform: rotate(-7deg); z-index: 3; border-color: rgba(238,245,26,.7); }
.lay-stack .art-logo { width: 34cqw !important; }

/* tile: одна большая плитка игры */
.art-big-tile { left: 50cqw; top: 12cqw; width: 34cqw; border-radius: 2.4cqw; overflow: hidden; box-shadow: 0 4cqw 9cqw rgba(0,0,0,.7); transform: rotateY(-14deg) rotateZ(4deg); border: 1px solid rgba(255,255,255,.1); }
.lay-tile .art-card { width: 44cqw; top: 44cqw; }
.lay-tile .art-chip { left: 1cqw; right: auto; top: 14cqw; }
.lay-tile .art-logo { width: 32cqw !important; right: 1cqw; bottom: 1cqw; }

/* panel: фрагмент раздела + карточка / телефон / полоса */
.art-panel { right: 0; top: 12cqw; width: 84cqw; border-radius: 2.2cqw; overflow: hidden; background: #0b0b0b; border: 1px solid var(--bg-4); box-shadow: 0 4cqw 9cqw rgba(0,0,0,.6); transform: rotateY(-8deg) rotateZ(-1deg); transform-origin: right center; }
.lay-panel:has(.art-phone-side) .art-panel { width: 76cqw; }
.art-strip { z-index: 3; left: 0; top: 60cqw; width: 80cqw; border-radius: 1.6cqw; overflow: hidden; border: 1px solid rgba(238,245,26,.45); box-shadow: 0 2.6cqw 6cqw rgba(0,0,0,.65); }
.lay-panel .art-card { width: 40cqw; top: 52cqw; }
.art-phone-side { z-index: 3; left: 1cqw; top: 22cqw; width: 26cqw; transform: rotate(-5deg); }
.lay-panel .art-logo { width: 32cqw !important; right: 1cqw; bottom: 1cqw; }
.lay-panel .art-chip { right: 1cqw; top: auto; bottom: 13cqw; }

/* illus: интерфейсные карточки в стиле Parimatch */
.ui-card { left: 5cqw; top: 12cqw; width: 58cqw; padding: 3cqw; background: #161616; border: 1px solid var(--bg-4); border-radius: 2.6cqw; box-shadow: 0 4cqw 9cqw rgba(0,0,0,.65); transform: rotateY(-10deg) rotateZ(2deg); font-size: 2.4cqw; }
.ui-card p { margin: 0; }
.ui-title { color: #fff; font-weight: 800; font-size: 3cqw; text-align: center; padding-bottom: 2cqw; margin-bottom: 2cqw !important; border-bottom: 1px solid var(--bg-3); }
.ui-label { font-size: 2cqw; color: var(--text-3); margin: 1.6cqw 0 1cqw !important; font-weight: 700; }
.ui-field { background: #0e0e0e; border: 1px solid #3a3a3a; border-radius: 999px; padding: 1.6cqw 2.4cqw; color: #fff; font-weight: 700; font-size: 2.4cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-hint { font-size: 2cqw; color: var(--text-3); margin-top: 1.4cqw !important; }
.ui-btn { margin-top: 2.2cqw !important; background: var(--y); color: var(--y-ink); text-align: center; font-weight: 800; padding: 1.8cqw; border-radius: 1.6cqw; font-size: 2.6cqw; }
.ui-methods { display: flex; flex-wrap: wrap; gap: 1cqw; }
.ui-methods span { background: #222; border: 1px solid #333; color: #fff; border-radius: 999px; padding: 1cqw 1.8cqw; font-size: 2.1cqw; font-weight: 800; }
.ui-methods span:first-child { border-color: var(--y); color: var(--y); }
.ui-rows { list-style: none; margin: 0; padding: 0; }
.ui-rows li { display: flex; justify-content: space-between; align-items: center; gap: 1.6cqw; padding: 1.6cqw 0; border-top: 1px solid #262626; margin: 0; font-size: 2.3cqw; color: #fff; font-weight: 700; }
.ui-rows li:first-child { border-top: 0; }
.ui-rows b { color: var(--text-2); font-size: 2.1cqw; text-align: right; }
.ui-rows li.done b { color: #4ade80; }
.ui-sub { display: block; font-weight: 600; font-size: 1.9cqw; color: var(--text-3); }
.ok { display: inline-grid; place-items: center; width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: #4ade80; color: #062b12; font-style: normal; font-weight: 800; font-size: 1.9cqw; margin-right: .6cqw; vertical-align: middle; }
.tog { width: 6.4cqw; height: 3.6cqw; border-radius: 999px; background: #333; position: relative; flex-shrink: 0; }
.tog::after { content: ""; position: absolute; top: .5cqw; left: .5cqw; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #888; }
.tog.on { background: var(--y); }
.tog.on::after { left: 3.3cqw; background: var(--y-ink); }
.ui-bars { display: flex; align-items: flex-end; gap: 1.4cqw; height: 15cqw; margin-bottom: 2.2cqw; }
.ui-bars i { flex: 1; height: var(--h); border-radius: 1cqw 1cqw .4cqw .4cqw; background: linear-gradient(180deg, var(--y), #6b7000); }
.ui-toast { z-index: 4; right: 1cqw; top: 46cqw; display: flex; gap: 1.6cqw; align-items: center; background: #1c1c1c; border: 1px solid rgba(238,245,26,.5); border-radius: 2.4cqw; padding: 2cqw 2.6cqw; box-shadow: 0 3cqw 7cqw rgba(0,0,0,.6); max-width: 44cqw; }
.ui-toast b { display: block; color: #fff; font-size: 2.5cqw; }
.ui-toast span { color: var(--text-2); font-size: 2.1cqw; font-weight: 600; }
.lay-illus .art-chip { top: 14cqw; }
.lay-illus .art-strip { top: auto; bottom: 1cqw; width: 58cqw; }
.lay-illus:has(.art-strip) .art-logo { bottom: 10cqw; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero .hero-art2 { display: block; max-width: 520px; margin: 28px auto 8px; }
}
@media (max-width: 600px) {
  .hero-actions .btn { width: 100%; }
}
.sub a[href="/esports/cs2/"], .sub a[href="/esports/dota2/"] { padding-left: 30px; font-size: .88rem; }

/* Превью игр: плитка 2:3 без обрезки */
.game .art.has-img { aspect-ratio: 2 / 3; }
.art.has-img img { object-fit: cover; }
.art.has-img .art-bg { filter: blur(14px) brightness(.55); transform: scale(1.25); }
.art.has-img .art-fit { object-fit: contain; inset: 0; margin: auto; height: auto; top: 50%; transform: translateY(-50%); border-radius: 6px; }
.art-panel { right: 1.5cqw; width: 82cqw; }
.lay-panel:has(.art-phone-side) .art-panel { width: 74cqw; }
.art-phone-side { left: 3cqw; }


/* Семантическая разметка: кнопки подменю, плитки без инлайн-стилей, таблицы-карточки на телефоне */
.logo-txt .logo-sub { display: block; }
.cta-box .cta-sub { display: block; font-weight: 600; color: var(--text-2); font-size: .86rem; }
.sub-toggle { font: inherit; border: 0; background: none; cursor: pointer; width: 100%; text-align: left; }
.main-nav > ul > li > .sub-toggle { display: flex; align-items: center; gap: 6px; padding: 10px; border-radius: var(--r-sm); color: var(--text); font-weight: 700; font-size: .92rem; white-space: nowrap; width: auto; }
.main-nav > ul > li > .sub-toggle .ico { width: 16px; height: 16px; color: var(--text-3); }
.main-nav > ul > li > .sub-toggle:hover, .main-nav .has-sub.active > .sub-toggle { background: var(--bg-3); color: #fff; }
.main-nav .has-sub.active > .sub-toggle .ico:first-child { color: var(--y); }
.drawer-nav .sub-toggle { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: var(--r-sm); color: var(--text); font-weight: 700; font-size: .98rem; }
.drawer-nav .sub-toggle .ico { color: var(--text-3); }
.drawer-nav .sub-toggle:hover { background: var(--bg-3); }
.hero-grid.single { grid-template-columns: 1fr; }
p.meta-line { margin: 40px 0 0; }
.game .art.g1 { --g1: #e8f400; --g2: #3a3d00; } .game .art.g2 { --g1: #ff5a1f; --g2: #3d1205; }
.game .art.g3 { --g1: #7b2ff7; --g2: #22093f; } .game .art.g4 { --g1: #00b84a; --g2: #05301a; }
.game .art.g5 { --g1: #1aa3ff; --g2: #062a40; } .game .art.g6 { --g1: #ff2d6f; --g2: #3f0619; }
.game .art.g7 { --g1: #ffb800; --g2: #3d2b00; } .game .art.g8 { --g1: #00d1b2; --g2: #00332b; }
.ui-bars i:nth-child(1) { height: 34%; } .ui-bars i:nth-child(2) { height: 48%; } .ui-bars i:nth-child(3) { height: 41%; }
.ui-bars i:nth-child(4) { height: 62%; } .ui-bars i:nth-child(5) { height: 58%; } .ui-bars i:nth-child(6) { height: 76%; }
.ui-bars i:nth-child(7) { height: 88%; }
tbody th, tbody td { text-align: left; vertical-align: top; }
@media (max-width: 600px) {
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: 100%; }
  table.stack tr { border-top: 1px solid var(--bg-3); padding: 6px 0; }
  table.stack tbody th { border-top: 0; padding: 10px 14px 4px; font-size: 1rem; }
  table.stack td { border-top: 0; padding: 4px 14px; display: flex; gap: 12px; justify-content: space-between; }
  table.stack td::before { content: attr(data-label); color: var(--text-3); font-weight: 700; font-size: .8rem; flex: 0 0 42%; }
  table.stack tbody tr:nth-child(even) > * { background: none; }
  table.stack tbody tr:nth-child(even) { background: rgba(255,255,255,.025); }
}

/* Мобильные правила: текст не мельче 12px, зоны нажатия от 44px */
.shot-tag { font-size: max(12px, 3cqw); }
.art-chip { font-size: max(12px, 2.5cqw); }
.art-platforms span { font-size: max(12px, 2.6cqw); }
.ui-card, .ui-field, .ui-rows li, .ui-rows b, .ui-methods span, .ui-btn, .ui-toast span, .ui-toast b { font-size: max(12px, 2.4cqw); }
.ui-title { font-size: max(13px, 3cqw); }
.ui-label, .ui-hint, .ui-sub { font-size: max(12px, 2cqw); }
.art-badge { font-size: max(14px, 4.4cqw); }
@container (max-width: 520px) {
  .ui-hint, .ui-sub, .ui-label { display: none; }
  .ui-title { padding-bottom: 6px; margin-bottom: 6px !important; }
  .ui-rows li { padding: 5px 0; }
  .ui-field { padding: 5px 10px; }
  .ui-field + .ui-field { margin-top: 6px !important; }
  .ui-btn { padding: 6px; margin-top: 8px !important; }
  .ui-methods { gap: 4px; }
  .ui-methods span { padding: 3px 8px; }
  .ui-bars { height: 12cqw; margin-bottom: 8px; }
  .ui-card { padding: 10px; }
  .ui-toast { padding: 6px 10px; }
}
.crumbs a { display: inline-block; padding: 12px 0; }
.crumbs { margin-bottom: 4px; }
.tabs a { padding: 13px 16px; }
.site-footer li { margin-bottom: 0; }
.site-footer li a { display: inline-block; padding: 11px 0; }
.site-footer .logo { min-height: 44px; }
.faq summary { min-height: 48px; }
.drawer-close, .burger { min-width: 44px; min-height: 44px; }
.logo-txt .logo-sub { font-size: 12px; letter-spacing: .08em; }
.card .kicker { font-size: .75rem; }
.ok { font-size: max(12px, 1.9cqw); width: max(18px, 3.2cqw); height: max(18px, 3.2cqw); }
.logo { min-height: 44px; }
.btn, .btn-sm { min-height: 44px; }
.site-footer li a { min-width: 44px; }
@container (max-width: 520px) {
  .ui-card { top: 9cqw; width: 70cqw; left: 3cqw; }
  .ui-methods span:nth-child(n+5) { display: none; }
  .ui-toast { top: auto; bottom: 1cqw; max-width: 56cqw; }
}
.crumbs a { min-width: 44px; }
.card h4 { margin: 0 0 6px; font-size: 1rem; color: var(--text); line-height: 1.25; font-weight: 700; }
b { color: var(--text); font-weight: 700; }
