/* =========================================================
   НБА · Турнирная таблица — лендинг (Казахстан)
   Палитра «ночная арена»: глубокий синий + оранжевый мяч + золото + небесный Казахстана
   ========================================================= */
:root {
  --bg: #070b14;
  --bg-2: #0b1120;
  --bg-3: #101a2e;
  --card: rgba(255, 255, 255, .04);
  --card-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f2f4f9;
  --muted: #a1abc2;
  --dim: #6f7a94;
  --orange: #ff6b1a;
  --orange-2: #ff8f45;
  --gold: #ffc53d;
  --sky: #22c3e6;
  --green: #2fd27f;
  --amber: #ffb020;
  --red: #ff5468;
  --grad: linear-gradient(135deg, #ff6b1a 0%, #ffa23a 55%, #ffc53d 100%);
  --grad-sky: linear-gradient(135deg, #22c3e6 0%, #6be3ff 100%);
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --font-h: "Unbounded", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1240px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 800; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* Grain overlay for a richer, «пушистый» look */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 0;
  font: 800 15px/1 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: #1d0c00; box-shadow: 0 14px 40px -12px rgba(255, 107, 26, .75), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -12px rgba(255, 107, 26, .9), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--ghost { background: rgba(255,255,255,.06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn:focus-visible, .tab:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.header.is-scrolled { background: rgba(7, 11, 20, .78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--font-h); letter-spacing: .04em; }
.logo__ball { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffb070, #ff6b1a 55%, #c94a00); position: relative; box-shadow: 0 6px 20px -6px rgba(255,107,26,.8); }
.logo__ball::before, .logo__ball::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.6px solid rgba(40, 14, 0, .55); }
.logo__ball::before { clip-path: inset(0 48% 0 48%); }
.logo__ball::after { clip-path: inset(48% 0 48% 0); }
.logo__tag { font: 700 11px/1 var(--font); padding: 5px 8px; border-radius: 6px; background: var(--grad-sky); color: #00222c; letter-spacing: .08em; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: 14px; transition: color .2s, background .2s; }
.nav a:hover, .nav a.is-active { color: var(--text); background: var(--card-2); }
.header__cta { margin-left: 8px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; align-items: center; justify-content: center; margin-left: auto; }
.burger .icon { width: 22px; height: 22px; }
.burger .icon--close { display: none; }
.menu-open .burger .icon--menu { display: none; }
.menu-open .burger .icon--close { display: block; }

@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; padding: 16px 16px 24px;
    flex-direction: column; gap: 4px; background: rgba(7, 11, 20, .97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s ease;
  }
  .nav a { padding: 14px 16px; font-size: 16px; border-radius: 14px; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open .header { background: rgba(7, 11, 20, .97); border-color: var(--line); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 96px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(7,11,20,.93) 28%, rgba(7,11,20,.6) 55%, rgba(7,11,20,.15) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7,11,20,0) 38%),
    linear-gradient(180deg, rgba(7,11,20,.7) 0%, rgba(7,11,20,0) 22%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -1; }
.hero .glow--1 { width: 520px; height: 520px; left: -160px; top: 10%; background: rgba(255, 107, 26, .28); }
.hero .glow--2 { width: 420px; height: 420px; right: 10%; bottom: -160px; background: rgba(34, 195, 230, .22); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: end; }
.hero__content { max-width: 700px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--dim); font-weight: 600; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; color: var(--dim); opacity: .7; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }

.badge-live { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(47, 210, 127, .1); box-shadow: inset 0 0 0 1px rgba(47, 210, 127, .35); color: #b9f7d6; font-weight: 700; font-size: 13px; }
.badge-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47,210,127,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47,210,127,0); } 100% { box-shadow: 0 0 0 0 rgba(47,210,127,0); } }

.hero__title { margin-top: 20px; font: 800 clamp(32px, 5vw, 66px)/1.04 var(--font-h); letter-spacing: -.02em; text-wrap: balance; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-sky { background: var(--grad-sky); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 24px; max-width: 600px; color: #c7cede; font-size: 17px; line-height: 1.7; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 46px; max-width: 640px; }
.hero__stats li { padding: 16px 16px 14px; border-radius: 18px; background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); }
.hero__stats b { display: block; font: 800 30px/1 var(--font-h); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.3; }

.hero__cards { display: grid; gap: 16px; justify-items: end; padding-bottom: 8px; }
.float-card {
  width: min(320px, 100%); padding: 20px 22px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), var(--shadow);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  animation: float 6s ease-in-out infinite;
}
.float-card--b { animation-delay: -3s; margin-right: 36px; }
@keyframes float { 50% { transform: translateY(-10px); } }
.float-card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #1d0c00; margin-bottom: 14px; }
.float-card__icon--sky { background: var(--grad-sky); color: #002630; }
.float-card__icon .icon { width: 22px; height: 22px; }
.float-card small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.float-card b { display: block; margin-top: 4px; font: 700 20px/1.2 var(--font-h); }
.float-card .chip { margin-top: 12px; }

.chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: rgba(255, 197, 61, .12); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 197, 61, .3); }
.chip--sky { background: rgba(34,195,230,.12); color: #8ee9ff; box-shadow: inset 0 0 0 1px rgba(34,195,230,.3); }
.chip--green { background: rgba(47,210,127,.12); color: #8ff0bd; box-shadow: inset 0 0 0 1px rgba(47,210,127,.3); }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px var(--line-2); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 28px); }
  .hero__bg img { object-position: 64% 30%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(7,11,20,.55) 0%, rgba(7,11,20,.82) 45%, var(--bg) 100%); }
  .hero__in { grid-template-columns: 1fr; gap: 28px; }
  .hero__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: stretch; }
  .float-card { width: auto; }
  .float-card--b { margin: 0; }
  .scroll-hint { display: none; }
}
@media (max-width: 560px) {
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__cards { grid-template-columns: 1fr; }
  .hero__lead { font-size: 16px; }
  .btn { width: 100%; }
}

/* ---------- Ticker ---------- */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(255,107,26,.08), rgba(34,195,230,.06)); padding: 16px 0; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker__track { display: flex; width: max-content; gap: 40px; animation: ticker 70s linear infinite; }
.ticker__item { display: inline-flex; align-items: center; gap: 12px; font: 700 15px/1 var(--font-h); color: #dfe4ef; white-space: nowrap; letter-spacing: .01em; }
.ticker__item::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-left: 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section--clip { overflow: hidden; }
@media (max-width: 760px) { .section { padding: 80px 0; } }
.section__head { max-width: 780px; margin-bottom: 52px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.section__head--row > div { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 800 11.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); background: rgba(255, 107, 26, .08); box-shadow: inset 0 0 0 1px rgba(255, 107, 26, .28); }
.eyebrow .icon { width: 14px; height: 14px; }
.eyebrow--sky { color: #7fe3fb; background: rgba(34,195,230,.08); box-shadow: inset 0 0 0 1px rgba(34,195,230,.28); }
.h2 { margin-top: 18px; font: 800 clamp(26px, 3.4vw, 44px)/1.12 var(--font-h); letter-spacing: -.015em; text-wrap: balance; }
.h3 { font: 700 clamp(19px, 1.8vw, 22px)/1.25 var(--font-h); letter-spacing: -.01em; }
.lead { margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.prose p { color: #c3cadb; font-size: 17px; line-height: 1.75; }
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--text); }

.card { position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px var(--line); }
.card--glow::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(255,107,26,.6), transparent 40%, transparent 60%, rgba(34,195,230,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--wide-text { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 980px) { .split, .split--wide-text { grid-template-columns: 1fr; gap: 40px; } }

.media { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); aspect-ratio: 3 / 2; background: var(--bg-3); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.media:hover img { transform: scale(1.04); }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,11,20,.75)); pointer-events: none; }
.media__badge { position: absolute; left: 20px; bottom: 20px; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; }
.media__stat { padding: 12px 16px; border-radius: 16px; background: rgba(7,11,20,.6); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.media__stat b { display: block; font: 800 22px/1 var(--font-h); }
.media__stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* ---------- Standings board ---------- */
.board { padding: 26px; border-radius: 30px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.board__top { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--line); }
.tab { border: 0; background: none; cursor: pointer; padding: 11px 24px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--muted); transition: .25s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--grad); color: #1d0c00; box-shadow: 0 8px 24px -10px rgba(255,107,26,.8); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-weight: 600; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.z { width: 12px; height: 12px; border-radius: 4px; }
.z--po { background: var(--green); }
.z--pi { background: var(--amber); }
.z--out { background: #3a4560; }
.table-wrap { position: relative; margin-top: 22px; overflow-x: auto; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #2a3550 transparent; }
.st { width: 100%; min-width: 900px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.st th { padding: 15px 12px; background: #0e1628; color: var(--dim); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: center; white-space: nowrap; }
.st td { padding: 13px 12px; border-top: 1px solid var(--line); text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; color: #d7dcea; font-weight: 600; }
.st th:first-child, .st td:first-child { position: sticky; left: 0; z-index: 1; text-align: left; }
.st td:first-child { background: #0c1322; }
.st tbody tr { transition: background .2s; }
.st tbody tr:hover td { background: rgba(255,255,255,.035); }
.st tbody tr:hover td:first-child { background: #121b2f; }
.st .pct { color: var(--text); font-weight: 800; }
.st .muted { color: var(--dim); }
.team { display: flex; align-items: center; gap: 12px; min-width: 250px; }
.team__rank { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 800 12px/1 var(--font); background: rgba(255,255,255,.06); color: var(--muted); flex: none; }
.z-po .team__rank { background: rgba(47,210,127,.16); color: #8ff0bd; }
.z-pi .team__rank { background: rgba(255,176,32,.16); color: #ffd27a; }
.team__logo { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 10px/1 var(--font-h); color: #fff; letter-spacing: .02em; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18), 0 4px 12px -4px rgba(0,0,0,.6); flex: none; }
.team__name { font-weight: 800; color: var(--text); line-height: 1.2; }
.team__div { display: block; font-size: 12px; color: var(--dim); font-weight: 600; margin-top: 2px; }
.z-po td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.z-pi td:first-child { box-shadow: inset 3px 0 0 var(--amber); }
.st tr.sep-po td { border-top: 1px dashed rgba(47,210,127,.5); }
.st tr.sep-pi td { border-top: 1px dashed rgba(255,176,32,.5); }
.board__note { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.board__note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--sky); }
.swipe-hint { display: none; margin-top: 12px; font-size: 13px; color: var(--dim); font-weight: 600; }
@media (max-width: 900px) { .swipe-hint { display: block; } }
.tab__short { display: none; }
@media (max-width: 640px) {
  .tab__long { display: none; }
  .tab__short { display: inline; }
  .board { padding: 16px; border-radius: 22px; }
  .tabs { width: 100%; }
  .tab { flex: 1; }
  .team { min-width: 200px; gap: 10px; }
  .team__div { display: none; }
}

/* ---------- Key facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 64px; }
.fact { padding: 26px; transition: transform .3s, box-shadow .3s; }
.fact:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(255,107,26,.45); }
.fact__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,107,26,.12); color: var(--orange-2); box-shadow: inset 0 0 0 1px rgba(255,107,26,.25); }
.fact__icon .icon { width: 24px; height: 24px; }
.fact__num { margin-top: 22px; font: 800 40px/1 var(--font-h); }
.fact__title { margin-top: 10px; font-weight: 800; font-size: 16px; }
.fact__text { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 980px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Conferences ---------- */
.confs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.conf { padding: 30px; overflow: hidden; }
.conf__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.conf__head .h3 { display: flex; align-items: center; gap: 12px; }
.conf__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 16px var(--orange); }
.conf--west .conf__dot { background: var(--sky); box-shadow: 0 0 16px var(--sky); }
.division { padding: 18px 0; }
.division + .division { border-top: 1px dashed var(--line); }
.division h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 800; margin-bottom: 14px; }
.team-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.team-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14px; transition: background .2s, transform .2s; }
.team-chip:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.team-chip .team__logo { width: 28px; height: 28px; font-size: 8.5px; }
.team-chip--champ { box-shadow: inset 0 0 0 1px rgba(255,197,61,.55); background: rgba(255,197,61,.08); }
@media (max-width: 900px) { .confs { grid-template-columns: 1fr; } .conf { padding: 22px; } }

/* ---------- 82 games bar ---------- */
.games { padding: 34px; margin-top: 8px; }
.games__total { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.games__total b { font: 800 64px/1 var(--font-h); }
.games__total span { color: var(--muted); font-weight: 700; }
.games__bar { display: flex; height: 22px; margin-top: 26px; border-radius: 999px; overflow: hidden; gap: 4px; }
.games__bar i { display: block; height: 100%; border-radius: 999px; transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.is-in .games__bar i { transform: scaleX(1); }
.games__bar i:nth-child(2) { transition-delay: .15s; }
.games__bar i:nth-child(3) { transition-delay: .3s; }
.seg-1 { background: var(--grad); }
.seg-2 { background: linear-gradient(90deg, #ffc53d, #ffe08a); }
.seg-3 { background: var(--grad-sky); }
.games__legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.games__legend li { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.games__legend b { display: flex; align-items: center; gap: 10px; font: 800 26px/1 var(--font-h); }
.games__legend b i { width: 12px; height: 12px; border-radius: 4px; }
.games__legend span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.games__note { display: flex; gap: 10px; align-items: center; margin-top: 22px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
@media (max-width: 720px) { .games { padding: 22px; } .games__legend { grid-template-columns: 1fr; } .games__total b { font-size: 48px; } }

/* ---------- Columns glossary ---------- */
.gloss { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gloss__item { padding: 26px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; transition: transform .3s, box-shadow .3s; }
.gloss__item:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2); }
.gloss__key { min-width: 64px; height: 64px; padding: 0 10px; border-radius: 18px; display: grid; place-items: center; font: 800 18px/1 var(--font-h); color: #1d0c00; background: var(--grad); box-shadow: 0 12px 30px -14px rgba(255,107,26,.9); }
.gloss__item:nth-child(even) .gloss__key { background: var(--grad-sky); color: #002630; box-shadow: 0 12px 30px -14px rgba(34,195,230,.9); }
.gloss__item h3 { font-size: 17px; font-weight: 800; margin-top: 4px; }
.gloss__item p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 980px) { .gloss { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gloss { grid-template-columns: 1fr; } }

/* ---------- GB calculator ---------- */
.calc { padding: 32px; }
.calc__title { display: flex; align-items: center; gap: 12px; font: 700 20px/1.2 var(--font-h); }
.calc__title .icon { width: 26px; height: 26px; color: var(--gold); }
.calc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.calc__team { padding: 18px; border-radius: 18px; background: rgba(0,0,0,.22); box-shadow: inset 0 0 0 1px var(--line); }
.calc__team > span { display: block; font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.calc__inputs { display: flex; gap: 10px; margin-top: 12px; }
.calc__inputs label { flex: 1; font-size: 12px; color: var(--dim); font-weight: 700; }
.calc__inputs input { display: block; width: 100%; margin-top: 6px; height: 52px; padding: 0 12px; border-radius: 14px; border: 0; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); font: 800 22px/1 var(--font-h); text-align: center; color: var(--text); -moz-appearance: textfield; }
.calc__inputs input::-webkit-outer-spin-button, .calc__inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__result { margin-top: 20px; padding: 22px; border-radius: 20px; background: linear-gradient(135deg, rgba(255,107,26,.16), rgba(255,197,61,.08)); box-shadow: inset 0 0 0 1px rgba(255,197,61,.3); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.calc__result small { display: block; color: var(--muted); font-weight: 700; font-size: 13px; }
.calc__formula { margin-top: 6px; font: 600 15px/1.4 var(--font); color: #ffe0b0; }
.calc__value { font: 800 54px/1 var(--font-h); }
.calc__value [data-gb-unit] { font-size: 16px; color: var(--muted); font-family: var(--font); font-weight: 700; margin-left: 8px; }
@media (max-width: 520px) { .calc { padding: 20px; } .calc__grid { grid-template-columns: 1fr; } }

/* ---------- Playoff ---------- */
.seeds { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 6px; margin-top: 28px; }
.seed { aspect-ratio: 1 / 1.25; border-radius: 10px; display: grid; place-items: center; font: 800 14px/1 var(--font-h); background: #1a2338; color: var(--dim); box-shadow: inset 0 0 0 1px var(--line); }
.seed--po { background: linear-gradient(180deg, rgba(47,210,127,.35), rgba(47,210,127,.12)); color: #c9fbe1; box-shadow: inset 0 0 0 1px rgba(47,210,127,.5); }
.seed--pi { background: linear-gradient(180deg, rgba(255,176,32,.35), rgba(255,176,32,.12)); color: #ffe6b3; box-shadow: inset 0 0 0 1px rgba(255,176,32,.5); }
.seeds__labels { display: grid; grid-template-columns: 6fr 4fr 5fr; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 800; color: var(--muted); text-align: center; }
.seeds__labels span { padding-top: 8px; border-top: 2px solid #2a3550; }
.seeds__labels span:nth-child(1) { border-color: var(--green); color: #8ff0bd; }
.seeds__labels span:nth-child(2) { border-color: var(--amber); color: #ffd27a; }
@media (max-width: 560px) { .seeds { gap: 3px; } .seed { font-size: 10px; border-radius: 6px; } .seeds__labels { font-size: 11px; } }

.playin { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 30px; }
.pi-col { display: grid; gap: 14px; }
.pi-game { padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px var(--line); }
.pi-game--final { box-shadow: inset 0 0 0 1px rgba(255,197,61,.45); background: linear-gradient(135deg, rgba(255,197,61,.1), rgba(255,107,26,.05)); }
.pi-tag { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.pi-teams { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.pi-teams b { min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px; display: grid; place-items: center; font: 800 16px/1 var(--font-h); background: rgba(255,176,32,.16); color: #ffd27a; box-shadow: inset 0 0 0 1px rgba(255,176,32,.4); }
.pi-teams i { font-style: normal; color: var(--dim); font-weight: 800; font-size: 13px; }
.pi-game p { margin-top: 12px; font-size: 14px; color: var(--muted); font-weight: 600; }
.pi-game p strong { color: var(--text); }
.pi-arrow { display: grid; place-items: center; color: var(--gold); }
.pi-arrow .icon { width: 32px; height: 32px; }
@media (max-width: 640px) { .playin { grid-template-columns: 1fr; } .pi-arrow { transform: rotate(90deg); height: 36px; } }

.rounds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 56px; counter-reset: r; }
.round { position: relative; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px var(--line); counter-increment: r; }
.round::before { content: "0" counter(r); font: 800 13px/1 var(--font-h); color: var(--orange-2); }
.round h3 { margin-top: 12px; font-size: 16px; font-weight: 800; line-height: 1.3; }
.round p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.round:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -14px; width: 14px; height: 2px; background: linear-gradient(90deg, var(--orange), transparent); }
.round--final { background: linear-gradient(160deg, rgba(255,197,61,.22), rgba(255,107,26,.08)); box-shadow: inset 0 0 0 1px rgba(255,197,61,.5); }
.round--final .icon { position: absolute; top: 18px; right: 18px; width: 26px; height: 26px; color: var(--gold); }
.pairs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pairs span { padding: 8px 14px; border-radius: 12px; background: rgba(34,195,230,.1); color: #9eeeff; font: 800 14px/1 var(--font-h); box-shadow: inset 0 0 0 1px rgba(34,195,230,.3); }
@media (max-width: 900px) { .rounds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .round::after { display: none; } }
@media (max-width: 480px) { .rounds { grid-template-columns: 1fr; } }

.tiebreak { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 22px 24px; border-radius: 20px; background: rgba(34,195,230,.07); box-shadow: inset 0 0 0 1px rgba(34,195,230,.25); color: #cfe9f2; }
.tiebreak .icon { width: 24px; height: 24px; color: var(--sky); margin-top: 2px; }

/* ---------- NBA Cup band ---------- */
.band { position: relative; overflow: hidden; border-radius: 34px; padding: 64px; isolation: isolate; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.band__bg { position: absolute; inset: 0; z-index: -1; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,11,20,.96) 0%, rgba(7,11,20,.85) 45%, rgba(7,11,20,.35) 100%); }
.band__in { max-width: 620px; }
.band__dates { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.date-pill { padding: 16px 20px; border-radius: 18px; background: rgba(255,255,255,.07); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.date-pill b { display: block; font: 800 18px/1.2 var(--font-h); }
.date-pill span { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 700; }
.date-pill .ok { color: #8ff0bd; }
.date-pill .no { color: #ff9aa6; }
@media (max-width: 760px) { .band { padding: 32px 22px; border-radius: 26px; } .band__bg::after { background: linear-gradient(180deg, rgba(7,11,20,.7), rgba(7,11,20,.95)); } }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--orange), var(--gold) 50%, var(--sky)); opacity: .45; }
.tl { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; }
.tl__dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); box-shadow: inset 0 0 0 2px var(--line-2); color: var(--muted); }
.tl__dot .icon { width: 22px; height: 22px; }
.tl__body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: 20px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s, background .3s; }
.tl__body:hover { transform: translateX(6px); background: rgba(255,255,255,.07); }
.tl__date { font: 700 17px/1.3 var(--font-h); }
.tl__text { margin-top: 4px; color: var(--muted); font-size: 15px; }
.tl__status { flex: none; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.06); color: var(--dim); }
.tl.is-done .tl__dot { color: var(--green); box-shadow: inset 0 0 0 2px rgba(47,210,127,.5); }
.tl.is-done .tl__status { color: #8ff0bd; background: rgba(47,210,127,.12); }
.tl.is-now .tl__dot { background: var(--grad); color: #1d0c00; box-shadow: 0 0 0 6px rgba(255,107,26,.18), 0 0 30px rgba(255,107,26,.6); }
.tl.is-now .tl__body { background: linear-gradient(90deg, rgba(255,107,26,.16), rgba(255,255,255,.03)); box-shadow: inset 0 0 0 1px rgba(255,107,26,.45); }
.tl.is-now .tl__status { background: var(--grad); color: #1d0c00; }
.tl.is-next .tl__dot { color: var(--sky); box-shadow: inset 0 0 0 2px rgba(34,195,230,.6); }
.tl.is-next .tl__status { color: #8ee9ff; background: rgba(34,195,230,.12); }
@media (max-width: 560px) {
  .timeline::before { left: 21px; }
  .tl { grid-template-columns: 44px 1fr; gap: 12px; }
  .tl__dot { width: 44px; height: 44px; }
  .tl__body { flex-direction: column; align-items: flex-start; padding: 16px 18px; }
  .tl__date { font-size: 15px; }
}

/* ---------- Champion & records ---------- */
.champ { position: relative; overflow: hidden; border-radius: 34px; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 520px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.champ__bg { position: absolute; inset: 0; z-index: -1; }
.champ__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.champ__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,11,20,.97) 0%, rgba(7,11,20,.82) 50%, rgba(7,11,20,.3) 100%); }
.champ__text { padding: 64px; align-self: center; }
.champ__score { align-self: end; justify-self: end; margin: 40px; padding: 26px 30px; border-radius: 26px; background: rgba(7,11,20,.55); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); text-align: center; min-width: 260px; }
.champ__score small { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.champ__vs { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.champ__vs .team__logo { width: 52px; height: 52px; font-size: 13px; }
.champ__vs b { font: 800 46px/1 var(--font-h); }
.champ__mvp { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 900px) {
  .champ { grid-template-columns: 1fr; min-height: 0; }
  .champ__bg::after { background: linear-gradient(180deg, rgba(7,11,20,.55), rgba(7,11,20,.96) 55%); }
  .champ__text { padding: 200px 24px 8px; }
  .champ__score { justify-self: stretch; margin: 24px; }
}

.records { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.record { padding: 28px; overflow: hidden; }
.record__season { font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.record__score { margin-top: 14px; font: 800 54px/1 var(--font-h); }
.record__team { margin-top: 10px; font-weight: 800; }
.record__bar { margin-top: 20px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.record__bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.record--low .record__bar i { background: linear-gradient(90deg, #ff5468, #ff8f9d); }
.record__pct { margin-top: 10px; font-size: 13px; color: var(--muted); font-weight: 700; }
.record__tag { position: absolute; top: 22px; right: 22px; }
@media (max-width: 900px) { .records { grid-template-columns: 1fr; } }

/* ---------- Tips ---------- */
.tips { display: grid; gap: 14px; margin-top: 30px; }
.tip { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 18px 22px; border-radius: 20px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s, background .3s; }
.tip:hover { transform: translateX(6px); background: rgba(255,255,255,.07); }
.tip__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(34,195,230,.1); color: var(--sky); box-shadow: inset 0 0 0 1px rgba(34,195,230,.3); }
.tip:nth-child(odd) .tip__icon { background: rgba(255,107,26,.1); color: var(--orange-2); box-shadow: inset 0 0 0 1px rgba(255,107,26,.3); }
.tip__icon .icon { width: 24px; height: 24px; }
.tip p { color: #d3d9e6; font-size: 15.5px; line-height: 1.55; }
.tip p::first-letter { text-transform: uppercase; }
.sticky-media { position: sticky; top: calc(var(--header-h) + 24px); }
.sticky-media .media { aspect-ratio: 4 / 5; }

/* ---------- Time block ---------- */
.clocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.clock { padding: 22px; border-radius: 22px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); }
.clock small { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: 13px; }
.clock small .icon { width: 16px; height: 16px; }
.clock b { display: block; margin-top: 10px; font: 800 44px/1 var(--font-h); font-variant-numeric: tabular-nums; }
.clock--kz { background: linear-gradient(135deg, rgba(34,195,230,.18), rgba(255,197,61,.08)); box-shadow: inset 0 0 0 1px rgba(34,195,230,.35); }
.clock span { display: block; margin-top: 8px; font-size: 13px; color: var(--dim); font-weight: 600; }
.slots { margin-top: 16px; border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.slot { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.slot:first-child { border-top: 0; }
.slot__label { color: var(--muted); font-size: 14px; font-weight: 600; }
.slot__us { font: 700 16px/1 var(--font-h); color: var(--dim); font-variant-numeric: tabular-nums; }
.slot__kz { font: 800 18px/1 var(--font-h); color: var(--text); font-variant-numeric: tabular-nums; min-width: 92px; text-align: right; }
.slot__kz sup { font-size: 10px; color: var(--gold); margin-left: 2px; }
.slots__head { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 12px 20px; background: rgba(255,255,255,.04); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.slots__head span:last-child { min-width: 92px; text-align: right; }
.converter { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 18px 20px; border-radius: 20px; background: linear-gradient(135deg, rgba(255,107,26,.14), rgba(255,197,61,.06)); box-shadow: inset 0 0 0 1px rgba(255,197,61,.3); }
.converter label { font-weight: 700; font-size: 14px; color: #ffe0b0; }
.converter input { height: 46px; padding: 0 14px; border-radius: 12px; border: 0; background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 1px var(--line-2); font: 800 18px/1 var(--font-h); color-scheme: dark; }
.converter output { font: 800 22px/1 var(--font-h); }
.time-note { margin-top: 14px; font-size: 13.5px; color: var(--dim); }
@media (max-width: 520px) { .clock b { font-size: 34px; } .slot, .slots__head { grid-template-columns: 1fr auto; } .slot__us, .slots__head span:nth-child(2) { display: none; } }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, box-shadow .3s; }
.faq details[open] { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,107,26,.35); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; font-weight: 800; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: transform .3s, background .3s; }
.faq summary .plus .icon { width: 18px; height: 18px; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--grad); color: #1d0c00; }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 36px; padding: 72px 48px; text-align: center; isolation: isolate; background: radial-gradient(120% 140% at 50% 0%, rgba(255,107,26,.35), transparent 60%), linear-gradient(180deg, #121c33, #0b1222); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 940 500' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Crect x='10' y='10' width='920' height='480' rx='4'/%3E%3Cline x1='470' y1='10' x2='470' y2='490'/%3E%3Ccircle cx='470' cy='250' r='60'/%3E%3Crect x='10' y='170' width='190' height='160'/%3E%3Crect x='740' y='170' width='190' height='160'/%3E%3Cpath d='M10 40h140a210 210 0 0 1 0 420H10M930 40H790a210 210 0 0 0 0 420h140'/%3E%3C/svg%3E") center / cover no-repeat; }
.cta .h2 { max-width: 760px; margin-inline: auto; }
.cta p { max-width: 600px; margin: 18px auto 0; color: var(--muted); font-size: 17px; }
.cta .hero__cta { justify-content: center; }
@media (max-width: 640px) { .cta { padding: 48px 20px; border-radius: 26px; } }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: 120px; background: var(--bg-2); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer p { color: var(--dim); font-size: 14px; margin-top: 14px; max-width: 380px; }
.footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; margin-bottom: 14px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: #c5ccdc; text-decoration: none; font-size: 14.5px; font-weight: 600; }
.footer ul a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: flex-start; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.age { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--red); color: #ff9aa6; font: 800 13px/1 var(--font-h); }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; gap: 28px; } .footer { margin-top: 80px; } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--grad); color: #1d0c00; box-shadow: 0 14px 36px -10px rgba(255,107,26,.8); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(16px); transition: .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 22px; height: 22px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
