/* ===== Базовые переменные и сброс стилей ===== */
:root {
  --bg: #061228;
  --bg-2: #08183a;
  --surface: #0c1f3f;
  --surface-2: #132b52;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3f5f8;
  --muted: #9fb2cf;
  --dim: #6a80a3;

  --red: #1e88ff;
  --red-2: #3aa8ff;
  --green: #45c96a;
  --green-2: #7be36a;
  --gold: #5ee0b4;

  --grad: linear-gradient(90deg, #1e88ff 0%, #2bb9c4 55%, #6ad94e 100%);
  --grad-d: linear-gradient(135deg, #1e88ff 0%, #2bb9c4 55%, #6ad94e 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1320px;
  --header-h: 76px;
  --topbar-h: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

/* фоновое свечение */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(30,136,255, .12), transparent 60%),
    radial-gradient(700px 500px at 100% 0%, rgba(94,214,92, .08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
svg { flex-shrink: 0; }

::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; border-radius: 6px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1c3560; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* метки категорий */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head);
  font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
  color: #fff; line-height: 1.4;
}
.tag--football { background: linear-gradient(135deg, #3fc56b, #239a5a); }
.tag--mma { background: linear-gradient(135deg, var(--red), #1460d6); }
.tag--ghost { background: rgba(255,255,255,.08); color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.btn--red { background: var(--grad); background-size: 160% 100%; background-position: 0 0; color: #fff; box-shadow: 0 10px 30px -10px rgba(30,136,255, .8); }
.btn--red:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 12px 34px -10px rgba(94,214,92,.7); }
.btn--red { transition: transform .3s var(--ease), background-position .6s var(--ease), box-shadow .3s; }
.btn--ghost { border: 1px solid var(--line-2); }
.btn--ghost:hover { border-color: #fff; transform: translateY(-2px); }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; transition: background .25s, transform .25s;
}
.icon-btn:hover { background: rgba(255,255,255,.08); }
.icon-btn:active { transform: scale(.92); }

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