/* =========================================================
   ФОРА — дизайн-прототип
   Тёмно-синяя гамма + оранжевые заголовки разделов
   ========================================================= */
:root {
  --bg: #07111f;
  --bg-2: #0b1a2e;
  --panel: #0f2140;
  --panel-2: #132a4f;
  --line: #1e3a66;
  --text: #e6edf7;
  --muted: #8ea3c2;
  --orange: #ff7a1a;
  --orange-2: #ff9a3d;
  --green: #22c55e;
  --red: #ef4444;
  --font-head: "Space Grotesk", "Arial Black", sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 12px;
  --cut: 8px; /* размер «срезанного» угла */
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  background-image: radial-gradient(1200px 500px at 50% -200px, #12305c 0%, transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 15px/1.55 var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 16px; }

/* ---------- Общие элементы ---------- */
.ad-label {
  font: 500 10px/1 var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 6px;
  border-radius: 2px;
  white-space: nowrap;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 14px/1 var(--font-ui);
  text-transform: uppercase; letter-spacing: .04em;
  padding: 13px 20px;
  border: 0; cursor: pointer;
  border-radius: 10px;
  transition: transform .15s, filter .15s;
  white-space: nowrap;
  min-height: 44px; /* touch target */
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.btn--orange { background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #1a0d00; }
.btn--ghost { background: var(--panel-2); color: var(--text); }
.btn--sm { padding: 9px 14px; font-size: 12px; border-radius: 8px; }
.btn--block { width: 100%; }

.section-title, .side-title, .page-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.section-title { font-size: 18px; margin-bottom: 12px; }
.side-title { font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }

/* ---------- Sticky Top-Bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(90deg, #ff6b00, #ff8f2e);
  color: #1a0d00;
}
.topbar__inner {
  max-width: 1320px; margin: 0 auto; padding: 8px 16px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font: 500 15px/1.2 var(--font-ui);
}
.topbar .ad-label { color: #4a2300; border-color: #4a230055; }
.topbar__text b { font-family: var(--font-head); font-weight: 400; background: #1a0d00; color: var(--orange-2); padding: 2px 8px; margin-left: 4px; }
.topbar .btn { background: #0b1a2e; color: #fff; }
.topbar__close { background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: #4a2300; margin-left: 4px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 17, 31, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { font: 800 24px/1 var(--font-head); display: flex; align-items: center; gap: 10px; letter-spacing: .02em; }
.logo__mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--orange); color: var(--bg); font-size: 18px; font-weight: 800;
  border-radius: 10px;
}
.logo__accent { color: var(--orange); }
.mainnav { display: flex; gap: 4px; margin-right: auto; }
.mainnav a {
  font: 700 15px/1 var(--font-ui); text-transform: uppercase; letter-spacing: .05em;
  color: var(--orange); padding: 10px 14px; position: relative; opacity: .85;
}
.mainnav a:hover { opacity: 1; }
.mainnav a.active { opacity: 1; }
.mainnav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -13px; height: 3px; background: var(--orange);
}
.age {
  font: 400 13px/1 var(--font-head); color: var(--muted);
  border: 2px solid var(--line); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center;
}
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
.burger span { display: block; width: 24px; height: 2px; background: var(--orange); pointer-events: none; }

/* ---------- Баннеры ---------- */
.banner {
  position: relative;
  display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 12px, var(--panel) 12px, var(--panel) 24px);
  border: 1px dashed var(--line);
  color: var(--muted);
  font: 500 14px var(--font-ui); text-transform: uppercase; letter-spacing: .06em;
}
.banner .ad-label { position: absolute; top: 6px; right: 6px; }
.banner__size i { font-style: normal; opacity: .6; }
.banner--billboard { max-width: 728px; height: 90px; margin: 16px auto; }
.banner--side { height: 250px; margin-bottom: 16px; }
.banner--sticky { height: 600px; position: sticky; top: 124px; }
.banner--inline { height: 120px; margin: 4px 0 16px; }

/* ---------- Макет 3 колонки ---------- */
.layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  padding-top: 28px;
  padding-bottom: 48px;
}

/* ---------- Левый сайдбар ---------- */
.sidebar-left { position: sticky; top: 92px; }

/* ---------- Правый сайдбар ---------- */
.sidebar-right { position: sticky; top: 92px; }
.side-block {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
}
.side-head { display: flex; justify-content: space-between; align-items: flex-start; }
.side-menu li a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; margin: 0 -10px;
  font: 500 15px/1.2 var(--font-ui);
  color: var(--text);
  border-left: 3px solid transparent;
  transition: background .15s, color .15s;
}
.side-menu li a i {
  font-style: normal;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  transition: color .15s;
}
.side-menu li a i svg { width: 18px; height: 18px; display: block; }
.side-menu li a:hover { background: var(--panel); color: var(--orange); }
.side-menu li a:hover i,
.side-menu li a.active i { color: var(--orange); }
.side-menu li a.active { background: var(--panel); color: var(--orange); border-left-color: var(--orange); }
.side-menu li a .count { margin-left: auto; font-size: 12px; color: var(--muted); background: var(--panel-2); padding: 2px 7px; border-radius: 2px; flex-shrink: 0; }
.side-menu--compact li a { padding: 7px 10px; font-size: 14px; color: var(--text); }
.side-menu--analytics li a { padding: 8px 10px; font-size: 14px; gap: 8px; }
.side-tag {
  margin-left: auto;
  font: 600 10px/1 var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--orange);
  background: rgba(255, 122, 26, .12);
  border: 1px solid rgba(255, 122, 26, .28);
  padding: 3px 7px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* ---------- Контент ---------- */
.content { padding-top: 20px; }
.breadcrumbs { font: 400 13px var(--font-ui); color: var(--muted); margin-bottom: 8px; }
.breadcrumbs a:hover { color: var(--orange); }
.page-title { font-size: 32px; line-height: 1.1; margin-bottom: 8px; }
.page-lead { color: var(--muted); max-width: 680px; margin-bottom: 20px; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab {
  font: 700 13px/1 var(--font-ui); text-transform: uppercase; letter-spacing: .05em;
  padding: 10px 16px; cursor: pointer;
  background: var(--bg-2); color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.tab:hover { color: var(--text); }
.tab.active { background: var(--orange); color: #1a0d00; border-color: var(--orange); }

/* ---------- Карточка прогноза ---------- */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color .2s;
}
.card:hover { border-color: #2c5290; }
.card__top {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: var(--panel);
  font: 500 13px var(--font-ui); color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em;
}
.card__league { color: var(--orange); font-weight: 700; }
.card__hot { margin-left: auto; color: #1a0d00; background: var(--orange); padding: 3px 8px; font-weight: 700; font-size: 11px; }
.card__body { padding: 18px 16px 16px; }
.match { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 14px; }
.team { display: flex; align-items: center; gap: 12px; font: 400 17px/1.2 var(--font-head); }
.team--away { flex-direction: row-reverse; text-align: right; }
.team__ava {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--panel-2); color: var(--orange);
  font: 700 14px var(--font-ui);
  border-radius: 10px;
}
.vs { font: 400 14px var(--font-head); color: var(--muted); }
.card__text { color: #c2cfe3; margin-bottom: 14px; }
.card__author { font: 500 13px var(--font-ui); color: var(--muted); margin-bottom: 14px; }
.card__author b { color: var(--text); }

.pick {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(90deg, rgba(255,122,26,.14), transparent);
  border-left: 3px solid var(--orange);
  padding: 12px 14px; margin-bottom: 14px;
}
.pick__label { font: 500 12px var(--font-ui); text-transform: uppercase; color: var(--muted); letter-spacing: .05em; }
.pick__value { font: 400 17px var(--font-head); }
.pick__odd { font: 400 26px var(--font-head); color: var(--orange); }

/* Рекламная зона: блок коэффициентов с кнопкой перехода в БК */
.odds {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.odds__cells { display: flex; gap: 6px; flex: 1; }
.odd {
  flex: 1; min-width: 64px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 9px 12px; background: var(--panel); border-radius: 8px;
  font: 500 13px var(--font-ui); color: var(--muted);
  cursor: pointer; transition: background .15s;
}
.odd b { color: var(--text); font-size: 15px; }
.odd:hover { background: var(--panel-2); }
.odd.is-pick { background: rgba(255,122,26,.18); box-shadow: inset 0 0 0 1px var(--orange); }
.odd.is-pick b { color: var(--orange); }
.odds__bk { display: flex; align-items: center; gap: 8px; }

.card__cta { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.card__cta .btn { width: 100%; padding: 15px; font-size: 15px; }
.cta-note { font: 400 11px var(--font-ui); color: var(--muted); text-align: center; }

/* ---------- Логотипы БК ---------- */
.bk-logo {
  width: 92px; height: 36px; flex-shrink: 0;
  display: grid; place-items: center;
  font: 400 13px var(--font-head); letter-spacing: .02em;
  border-radius: 3px;
}
.bk-logo--sm { width: 72px; height: 28px; font-size: 11px; }

/* ---------- Нативная врезка в ленте ---------- */
.native {
  position: relative;
  display: flex; align-items: center; gap: 18px;
  padding: 20px;
  margin-bottom: 16px;
  background: linear-gradient(120deg, #142f5c 0%, #0f2140 60%);
  border: 1px solid #2c5290;
  border-radius: 16px;
  overflow: hidden;
}
.native::after {
  content: "15 000 ₽"; position: absolute; right: -10px; bottom: -22px;
  font: 400 80px/1 var(--font-head); color: rgba(255,122,26,.07); pointer-events: none;
}
.native .ad-label { position: absolute; top: 8px; right: 8px; }
.native__body { flex: 1; }
.native__title { font: 400 18px/1.25 var(--font-head); margin-bottom: 4px; }
.native__title span { color: var(--orange); }
.native__text { color: var(--muted); font-size: 14px; }
.promo {
  display: inline-block; margin-top: 8px;
  font: 400 14px var(--font-head); letter-spacing: .1em;
  border: 1px dashed var(--orange); color: var(--orange); padding: 4px 10px; cursor: pointer;
}

/* ---------- ТОП-3 в сайдбаре ---------- */
.top-item {
  display: grid; grid-template-columns: 22px auto 1fr; align-items: center; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.top-item:last-child { border-bottom: 0; }
.top-item__num { font: 400 20px var(--font-head); color: var(--orange); }
.top-item__info { min-width: 0; }
.top-item__bonus { font: 400 14px var(--font-head); }
.top-item__rate { font: 500 12px var(--font-ui); color: var(--muted); }
.top-item__rate b { color: #ffc93c; }
.top-item .btn { grid-column: 1 / -1; }
.side-more { display: block; text-align: center; margin-top: 10px; font: 700 13px var(--font-ui); text-transform: uppercase; color: var(--orange); letter-spacing: .05em; }

/* ---------- Фрибеты недели ---------- */
.fb-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fb-item:last-child { border-bottom: 0; }
.fb-item__sum { flex: 1; font: 400 14px var(--font-head); }
.fb-item__sum small { display: block; font: 400 11px var(--font-ui); color: var(--muted); letter-spacing: .05em; }
.fb-item a { color: var(--orange); font: 700 20px var(--font-head); }

/* ---------- Новости ---------- */
.news-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list a { font: 500 14px/1.35 var(--font-body); }
.news-list a:hover { color: var(--orange); }
.news-meta { display: block; font: 500 11px var(--font-ui); color: var(--muted); text-transform: uppercase; margin-bottom: 3px; }
.news-meta b { color: var(--orange); }

/* ---------- Карусель (мобилки) ---------- */
.top-carousel { display: none; margin-bottom: 20px; }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .slide {
  flex: 0 0 78%; scroll-snap-align: start;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.slide__head { display: flex; align-items: center; justify-content: space-between; }
.slide__bonus { font: 400 20px var(--font-head); }

/* ---------- Футер ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 32px 0 90px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__warn { max-width: 520px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.footer__warn b { color: var(--orange); }
.footer__cols { display: flex; gap: 48px; }
.footer__cols h4 { font: 400 13px var(--font-head); color: var(--orange); text-transform: uppercase; margin-bottom: 10px; }
.footer__cols a { display: block; font-size: 14px; color: var(--muted); padding: 3px 0; }
.footer__cols a:hover { color: var(--text); }

/* ---------- Floating footer (мобилки) ---------- */
.floatbar { display: none; }

.overlay { display: none; }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1180px) {
  .layout { grid-template-columns: 210px minmax(0, 1fr); }
  .sidebar-right { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .sidebar-right .side-block, .sidebar-right .banner { margin-bottom: 0; }
  .banner--sticky { display: none; }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .header { top: 0; }
  .header__inner { gap: 14px; height: 56px; }
  .mainnav { display: none; }
  .logo { margin-right: auto; font-size: 20px; }
  .burger { display: flex; }
  .banner--billboard { max-width: 300px; height: 100px; }
  .banner__size { font-size: 0; }
  .banner__size::after { content: "300×100"; font-size: 14px; }

  .layout { grid-template-columns: 1fr; }
  .sidebar-left {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 80;
    width: 280px; padding: 16px; overflow-y: auto;
    background: var(--bg); border-right: 1px solid var(--line);
    transform: translateX(-100%); transition: transform .25s;
    padding-left: calc(16px + var(--safe-left));
    padding-bottom: calc(16px + var(--safe-bottom));
  }
  .sidebar-left.open { transform: none; }
  .overlay.show { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 70; }

  .sidebar-right { grid-column: 1; grid-template-columns: 1fr; }
  .sidebar-right .side-block:first-child { display: none; } /* ТОП-3 уходит в карусель */
  .top-carousel { display: block; }

  .page-title { font-size: 24px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .team { font-size: 14px; gap: 8px; }
  .team__ava { width: 36px; height: 36px; font-size: 13px; }
  .odds__cells { flex-basis: 100%; }
  .odds__bk { width: 100%; justify-content: space-between; }
  .native { flex-direction: column; align-items: flex-start; }
  .native .btn { width: 100%; }

  /* Улучшение touch targets в меню */
  .side-menu li a { min-height: 44px; }
  .mainnav a { min-height: 44px; display: flex; align-items: center; }

  .floatbar {
    display: flex; align-items: center; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px;
    padding-bottom: calc(10px + var(--safe-bottom));
    padding-left: calc(12px + var(--safe-left));
    padding-right: calc(12px + var(--safe-right));
    background: var(--panel); border-top: 2px solid var(--orange);
    box-shadow: 0 -8px 24px rgba(0,0,0,.4);
  }
  .floatbar__text { flex: 1; font: 500 13px/1.25 var(--font-ui); }
  .floatbar__text b { color: var(--orange); }

  /* Компенсация floatbar под контентом */
  .footer { padding-bottom: calc(90px + var(--safe-bottom)); }
}

@media (max-width: 480px) {
  .home-hero { padding: 16px; }
  .home-hero__title { font-size: 22px; }
  .fb-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .match-strip { grid-template-columns: 1fr 1fr; }
  .card__body { padding: 14px 12px 12px; }
  .pick__odd { font-size: 22px; }
  .carousel .slide { flex: 0 0 88%; }
}

/* =========================================================
   ГЛАВНАЯ СТРАНИЦА: КОМПОНЕНТЫ
   ========================================================= */

/* ---------- Hero-блок ---------- */
.home-hero {
  background: linear-gradient(135deg, #0e2246 0%, #0b1a2e 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.home-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,122,26,.18) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,122,26,.15);
  border: 1px solid rgba(255,122,26,.3);
  color: var(--orange);
  font: 700 11px/1 var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.home-hero__title {
  font: 700 28px/1.2 var(--font-head);
  color: var(--text);
  margin-bottom: 8px;
}
.home-hero__title span { color: var(--orange); }
.home-hero__lead {
  font: 400 15px/1.55 var(--font-body);
  color: var(--muted);
  max-width: 680px;
}

/* ---------- Топ-события дня (Матч-центр) ---------- */
.match-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.match-strip__card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .15s, transform .15s;
  cursor: pointer;
}
.match-strip__card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.match-strip__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 600 11px var(--font-ui);
  color: var(--muted);
}
.match-strip__teams {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font: 600 13px var(--font-ui);
  color: var(--text);
}
.match-strip__team {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.match-strip__odds {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.match-strip__odd {
  flex: 1;
  text-align: center;
  background: var(--panel);
  padding: 5px 6px;
  border-radius: 6px;
  font: 700 11px var(--font-ui);
  color: var(--text);
}
.match-strip__odd span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Заголовки секций со ссылкой «Смотреть все» ---------- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 16px;
}
.section-head .section-title {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-more {
  font: 600 13px var(--font-ui);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity .15s;
}
.section-more:hover {
  opacity: .8;
  text-decoration: underline;
}

/* ---------- Сетка фрибетов недели ---------- */
.fb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.fb-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .15s;
}
.fb-card:hover {
  border-color: var(--orange);
}
.fb-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fb-card__badge {
  font: 700 10px/1 var(--font-ui);
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 12px;
  background: rgba(255,122,26,.15);
  color: var(--orange);
  border: 1px solid rgba(255,122,26,.3);
}
.fb-card__amount {
  font: 700 22px/1.1 var(--font-head);
  color: #fff;
}
.fb-card__title {
  font: 500 13px/1.35 var(--font-body);
  color: var(--muted);
  min-height: 36px;
}
.fb-card__promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font: 700 13px var(--font-head);
  color: var(--orange);
  cursor: pointer;
}
.fb-card__promo span {
  font: 500 11px var(--font-ui);
  color: var(--muted);
}
.fb-card .btn {
  width: 100%;
  padding: 12px;
  font-size: 13px;
}

/* ---------- Сетка новостей на главной ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.news-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .15s, transform .15s;
}
.news-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 11px var(--font-ui);
  text-transform: uppercase;
  color: var(--muted);
}
.news-card__tag {
  color: var(--orange);
}
.news-card__title {
  font: 700 15px/1.35 var(--font-body);
  color: var(--text);
}
.news-card__lead {
  font: 400 13px/1.4 var(--font-body);
  color: var(--muted);
}
.news-card__img {
  margin: -4px -4px 4px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
}
.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card__title a:hover {
  color: var(--orange);
}
.news-card__source {
  margin-top: auto;
  padding-top: 4px;
  font: 500 11px var(--font-ui);
  color: var(--muted);
  opacity: .8;
}
.news-updated {
  font: 400 12px var(--font-ui);
  color: var(--muted);
  margin-bottom: 24px;
}
.empty-note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 20px;
}
.fb-card__review {
  text-align: center;
  font: 600 12px var(--font-ui);
  color: var(--muted);
  padding-top: 2px;
  transition: color .15s;
}
.fb-card__review:hover {
  color: var(--orange);
}

/* ---------- Обзор букмекера (/bk/<id>/) ---------- */
.bk-logo--lg {
  width: 140px;
  height: 56px;
  font-size: 18px;
  border-radius: 14px;
  flex-shrink: 0;
}
.bk-review {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}
.bk-review__head {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.bk-review__info .page-title {
  margin-bottom: 6px;
}
.bk-review__rate {
  font: 500 14px var(--font-ui);
  color: var(--muted);
  margin-bottom: 4px;
}
.bk-review__stars {
  color: var(--orange);
  letter-spacing: 1px;
}
.bk-review__lic {
  font: 600 12px var(--font-ui);
  color: var(--green);
}
.bk-review__offer {
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
  border: 1px solid var(--orange);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.bk-review__label {
  font: 700 11px var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--orange);
  margin-bottom: 4px;
}
.bk-review__amount {
  font: 700 28px/1.1 var(--font-head);
  color: #fff;
  margin-bottom: 4px;
}
.bk-review__title {
  font: 400 14px var(--font-body);
  color: var(--muted);
}
.bk-review__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
}
.bk-review__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.bk-review__box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  color: var(--muted);
  font: 400 14px/1.6 var(--font-body);
}
.bk-review__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bk-review__list li {
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.bk-review__list li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
}
.bk-review__steps {
  padding-left: 20px;
  margin: 0 0 12px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bk-review__warn {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 8px;
}

/* ---------- Информационный блок о проекте ---------- */
.info-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin: 32px 0 20px;
}
.info-block__title {
  font: 700 18px var(--font-head);
  margin-bottom: 10px;
  color: var(--text);
}
.info-block__text {
  font: 400 14px/1.6 var(--font-body);
  color: var(--muted);
  margin-bottom: 20px;
}
.info-block__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.info-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.info-feature i {
  font-size: 22px;
  line-height: 1;
}
.info-feature h4 {
  font: 600 14px var(--font-ui);
  color: var(--text);
  margin-bottom: 2px;
}
.info-feature p {
  font: 400 12px/1.4 var(--font-body);
  color: var(--muted);
}

/* ---------- Заглушка «В разработке» (/analytics/*) ---------- */
.coming-card {
  background: linear-gradient(135deg, #0e2246 0%, #0b1a2e 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.coming-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 122, 26, .12);
  border: 1px solid rgba(255, 122, 26, .3);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.coming-card__icon svg { width: 28px; height: 28px; }
.coming-card__badge {
  font: 700 11px/1 var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange);
  background: rgba(255, 122, 26, .14);
  border: 1px solid rgba(255, 122, 26, .3);
  padding: 5px 12px;
  border-radius: 20px;
}
.coming-card .page-title { margin-bottom: 2px; }
.coming-card__lead {
  color: var(--text);
  font-size: 16px;
  max-width: 560px;
}
.coming-card__note {
  color: var(--muted);
  font-size: 14px;
  max-width: 540px;
}
.coming-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

