/* stuloff.com.ua — огляд Топ Матч казино. Темна тема бренду: чорний #0a0a09, teal #043545, лайм CTA #c7e914. */
:root {
  --sc-black: #0a0a09;
  --sc-coal: #121412;
  --sc-teal: #043545;
  --sc-teal-deep: #022b38;
  --sc-lime: #c7e914;
  --sc-lime-dark: #a9c70f;
  --sc-flag: #f04e23;
  --sc-cream: #f0efe7;
  --sc-text: #d9ddd8;
  --sc-muted: #93a19d;
  --sc-line: rgba(240, 239, 231, .1);
  --sc-head: "Unbounded", "Segoe UI", Arial, sans-serif;
  --sc-body: "Onest", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--sc-black); color: var(--sc-text); font-family: var(--sc-body); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.sc-lock { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--sc-lime); text-underline-offset: 3px; }
a:hover { color: #e1ff4d; }
.sc-container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* кнопки: лаймова «пігулка» зі зсувом тіні */
.sc-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--sc-lime); color: var(--sc-black); font-weight: 700; font-size: 15px; padding: 12px 24px; border-radius: 999px; text-decoration: none; box-shadow: 4px 4px 0 var(--sc-teal); transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.sc-btn:hover { color: var(--sc-black); background: #d8f83a; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sc-teal); }
.sc-btn--sm { font-size: 14px; padding: 8px 18px; box-shadow: none; }
.sc-btn--sm:hover { transform: none; box-shadow: none; }
.sc-btn--lg { font-size: 17px; padding: 15px 32px; }
.sc-btn--ghost { background: transparent; color: var(--sc-cream); border: 1px solid rgba(240, 239, 231, .3); }
.sc-btn--ghost:hover { background: rgba(240, 239, 231, .08); color: #fff; }

/* хедер */
.sc-header { position: sticky; top: 0; z-index: 100; background: rgba(10, 10, 9, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--sc-line); }
.sc-header__bar { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.sc-logo img { display: block; width: 124px; height: auto; }
.sc-nav { margin: 0 auto; }
.sc-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 4px; background: var(--sc-coal); border: 1px solid var(--sc-line); border-radius: 999px; }
.sc-nav a { display: block; padding: 7px 18px; border-radius: 999px; color: var(--sc-cream); text-decoration: none; font-weight: 500; font-size: 15px; }
.sc-nav a:hover { background: rgba(240, 239, 231, .06); color: #fff; }
.sc-nav a[aria-current="page"] { background: var(--sc-teal); color: var(--sc-lime); }
.sc-header__actions { display: flex; gap: 8px; }
.sc-burger { display: none; width: 44px; height: 44px; background: var(--sc-coal); border: 1px solid var(--sc-line); border-radius: 12px; padding: 12px 11px; cursor: pointer; }
.sc-burger span { display: block; height: 2px; background: var(--sc-lime); margin: 4px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.sc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* hero */
.sc-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--sc-line); }
.sc-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 8% 120%, rgba(4, 53, 69, .95), transparent 55%), radial-gradient(circle at 100% 0, rgba(199, 233, 20, .1), transparent 42%); }
.sc-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(240, 239, 231, .06) 1.5px, transparent 1.5px); background-size: 26px 26px; pointer-events: none; }
.sc-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: center; padding-top: 52px; padding-bottom: 56px; }
.sc-hero--tech .sc-container { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 44px; }
.sc-eyebrow { display: inline-block; margin: 0 0 16px; padding: 5px 14px; border: 1px solid rgba(199, 233, 20, .4); border-radius: 999px; color: var(--sc-lime); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.sc-hero h1 { font-family: var(--sc-head); font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -.01em; color: #fff; margin: 0 0 18px; }
.sc-lead { font-size: 18px; color: var(--sc-text); margin: 0 0 26px; }
.sc-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.sc-hero__note { font-size: 14px; color: var(--sc-muted); }
.sc-hero__media { margin: 0; padding: 10px; border-radius: 28px; background: linear-gradient(140deg, rgba(199, 233, 20, .55), rgba(4, 53, 69, .6) 45%, rgba(240, 78, 35, .35)); }
.sc-hero__media img { display: block; width: 100%; border-radius: 20px; }
.sc-crumbs { font-size: 14px; color: var(--sc-muted); margin-bottom: 14px; }
.sc-crumbs a { color: var(--sc-cream); }
.sc-crumbs span { margin: 0 8px; color: var(--sc-lime); }

/* розкладка: зміст збоку */
.sc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; padding-top: 44px; padding-bottom: 72px; }
.sc-layout--single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.sc-toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; padding: 18px 16px; background: var(--sc-coal); border: 1px solid var(--sc-line); border-radius: 18px; }
.sc-toc__title { font-family: var(--sc-head); font-size: 14px; color: var(--sc-lime); margin: 0 0 10px; letter-spacing: .06em; text-transform: uppercase; }
.sc-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.sc-toc li { counter-increment: toc; }
.sc-toc a { display: flex; gap: 8px; padding: 6px 8px; border-radius: 8px; font-size: 14px; line-height: 1.35; color: var(--sc-muted); text-decoration: none; }
.sc-toc a::before { content: counter(toc, decimal-leading-zero); color: rgba(199, 233, 20, .6); font-weight: 700; font-size: 12px; padding-top: 1px; }
.sc-toc a:hover, .sc-toc a.is-active { color: var(--sc-cream); background: rgba(4, 53, 69, .7); }

/* стаття */
.sc-article { min-width: 0; }
.content > :first-child { margin-top: 0; }
.content h2 { font-family: var(--sc-head); font-weight: 600; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.25; color: #fff; margin: 52px 0 16px; padding-top: 22px; border-top: 1px dashed rgba(199, 233, 20, .25); }
.content h3 { font-family: var(--sc-head); font-weight: 600; font-size: 19px; color: var(--sc-cream); margin: 26px 0 10px; }
.content p { margin: 0 0 16px; }
.content strong { color: #fff; }
.content ul, .content ol { list-style: none; margin: 0 0 22px; padding: 0; }
.content ul { display: grid; gap: 10px; }
.content ul li { position: relative; padding: 12px 16px 12px 46px; background: var(--sc-coal); border: 1px solid var(--sc-line); border-radius: 14px; }
.content ul li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--sc-lime); box-shadow: 0 0 12px rgba(199, 233, 20, .55); }
.content ol { counter-reset: sc; border-left: 2px solid var(--sc-teal); margin-left: 16px; }
.content ol li { counter-increment: sc; position: relative; padding: 6px 0 14px 34px; }
.content ol li::before { content: counter(sc); position: absolute; left: -17px; top: 4px; width: 32px; height: 32px; border-radius: 10px; background: var(--sc-lime); color: var(--sc-black); font-family: var(--sc-head); font-size: 14px; display: flex; align-items: center; justify-content: center; }
.sc-img { display: block; width: 100%; margin: 26px 0 30px; border-radius: 22px; border: 1px solid rgba(199, 233, 20, .25); }
.sc-table-wrap { overflow-x: auto; margin: 0 0 24px; border-radius: 16px; border: 1px solid var(--sc-line); background: var(--sc-coal); }
.sc-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 15px; }
.sc-table th { text-align: left; padding: 14px 18px; color: var(--sc-lime); font-weight: 700; border-bottom: 2px solid var(--sc-lime); background: var(--sc-teal-deep); }
.sc-table td { padding: 12px 18px; border-top: 1px solid var(--sc-line); }
.sc-table td:first-child { color: #fff; font-weight: 500; }
.sc-table tr:hover td { background: rgba(4, 53, 69, .45); }

/* міні-блоки ТЗ */
.sc-note { margin: 0 0 20px; padding: 16px 20px 16px 22px; border-radius: 14px; border-left: 5px solid; background: var(--sc-coal); }
.sc-note p { margin: 0; }
.sc-note--warn { border-color: var(--sc-flag); background: rgba(240, 78, 35, .08); }
.sc-note--info { border-color: #4fb3c9; background: rgba(4, 53, 69, .55); }
.sc-note--tip { border-color: var(--sc-lime); background: rgba(199, 233, 20, .07); }

/* CTA */
.sc-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 34px 0 6px; padding: 18px 20px; border-radius: 22px; border: 2px dashed rgba(199, 233, 20, .5); background: linear-gradient(100deg, var(--sc-teal-deep), var(--sc-teal)); }
.sc-cta p { flex: 1 1 260px; margin: 0; color: #fff; font-weight: 700; }
.sc-cta__chip { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--sc-black); color: var(--sc-lime); font-family: var(--sc-head); font-size: 14px; }

/* FAQ */
.sc-faq { display: grid; gap: 10px; margin: 6px 0 26px; }
.sc-faq__item { background: var(--sc-coal); border: 1px solid var(--sc-line); border-radius: 16px; overflow: hidden; }
.sc-faq__item[open] { border-color: rgba(199, 233, 20, .5); background: #141a17; }
.sc-faq__item summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 54px 16px 18px; cursor: pointer; font-weight: 700; color: #fff; position: relative; }
.sc-faq__item summary::-webkit-details-marker { display: none; }
.sc-faq__item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--sc-lime); border-bottom: 2px solid var(--sc-lime); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.sc-faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.sc-faq__n { flex-shrink: 0; font-family: var(--sc-head); font-size: 13px; color: var(--sc-lime); }
.sc-faq__a { padding: 0 20px 6px 52px; color: var(--sc-text); animation: sc-open .3s ease; }
@keyframes sc-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sc-disclaimer p { margin: 0; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(240, 78, 35, .45); background: rgba(240, 78, 35, .07); font-size: 15px; }

/* футер */
.sc-footer { background: var(--sc-teal-deep); padding: 48px 0 30px; font-size: 14px; color: var(--sc-muted); }
.sc-footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--sc-line); }
.sc-footer__brand p { margin: 14px 0 0; max-width: 360px; }
.sc-footer__h { font-family: var(--sc-head); color: var(--sc-cream); font-size: 14px; margin: 0 0 12px; }
.sc-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sc-footer ul a { color: var(--sc-text); text-decoration: none; }
.sc-footer ul a:hover { color: var(--sc-lime); }
.sc-footer__rg { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 24px 0; }
.sc-footer__rg img { display: block; filter: grayscale(1) brightness(1.7); opacity: .8; }
.sc-footer__rg a:hover img { filter: none; opacity: 1; }
.sc-rg-text { color: var(--sc-cream); font-weight: 700; text-decoration: none; }
.sc-age { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--sc-lime); color: var(--sc-black); font-family: var(--sc-head); font-size: 14px; }
.sc-footer__note { margin: 0 0 10px; line-height: 1.6; }
.sc-footer__copy { margin: 0; opacity: .7; }
.sc-sticky { display: none; }

/* адаптив */
@media (max-width: 1024px) {
  .sc-layout { grid-template-columns: minmax(0, 1fr); }
  .sc-toc { position: static; max-height: none; }
  .sc-toc ol { columns: 2; column-gap: 12px; }
  .sc-hero__grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 860px) {
  .sc-burger { display: block; }
  .sc-header__bar { gap: 12px; }
  .sc-logo { margin-right: auto; }
  .sc-nav { position: fixed; left: 0; right: 0; top: 72px; bottom: 0; margin: 0; padding: 20px; background: var(--sc-black); transform: translateY(-110%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .sc-nav.is-open { transform: none; visibility: visible; }
  .sc-nav ul { flex-direction: column; border-radius: 18px; padding: 8px; }
  .sc-nav a { font-size: 18px; padding: 14px 18px; border-radius: 12px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .sc-container { padding-left: 16px; padding-right: 16px; }
  .sc-header__bar { min-height: 62px; }
  .sc-nav { top: 62px; }
  .sc-logo img { width: 100px; }
  .sc-header__actions .sc-btn--ghost { display: none; }
  .sc-hero__grid { padding-top: 32px; padding-bottom: 36px; }
  .sc-lead { font-size: 16px; }
  .sc-hero__actions .sc-btn { width: 100%; }
  .sc-hero__media { padding: 6px; border-radius: 20px; }
  .sc-toc ol { columns: 1; }
  .sc-layout { padding-top: 28px; gap: 28px; }
  .content ol { margin-left: 16px; }
  .sc-cta .sc-btn { width: 100%; }
  .sc-faq__a { padding-left: 20px; }
  .sc-footer__cols { grid-template-columns: 1fr 1fr; }
  .sc-footer__brand { grid-column: 1 / -1; }
  .sc-sticky { display: block; position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 90; padding: 13px; border-radius: 999px; background: var(--sc-lime); color: var(--sc-black); font-weight: 700; text-align: center; text-decoration: none; box-shadow: 0 10px 30px -8px rgba(199, 233, 20, .6); }
  .sc-sticky:hover { color: var(--sc-black); }
}
