@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto-cyrillic-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0f0e0e;
  --bg-side: #141212;
  --bg-elevated: #1a1818;
  --bg-card: #1f1c1c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #fff;
  --muted: #9b9595;
  --red: #ff2400;
  --red-dark: #c91c00;
  --gold: #e9c05f;
  --gold-bright: #ffc700;
  --sidebar-w: 210px;
  --topbar-h: 64px;
  --m-header-h: 56px;
  --tabbar-h: 64px;
  --radius: 14px;
  --font: "Roboto", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn--sm { min-height: 34px; padding: 0 14px; font-size: 12px; }

/* ===== Mobile header / tabbar (hidden on desktop) ===== */
.m-header,
.tabbar {
  display: none;
}

/* ===== Desktop shell ===== */
body {
  display: block;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: var(--sidebar-w);
  height: 100vh;
  overflow-y: auto;
  background: var(--bg-side);
  border-right: 1px solid var(--line);
  padding: 16px 10px 24px;
  scrollbar-width: thin;
}
.sidebar__logo {
  display: flex;
  align-items: center;
  height: 40px;
  margin: 0 8px 18px;
}
.sidebar__logo img { height: 32px; width: auto; }
.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #d7d2d2;
  font-size: 13px;
  font-weight: 500;
}
.sidebar__nav a:hover,
.sidebar__nav a.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.sidebar__nav svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  opacity: 0.85;
}
.sidebar__sep {
  height: 1px;
  margin: 10px 8px;
  background: var(--line);
}

.shell {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--topbar-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  background: rgba(15, 14, 14, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.topbar__nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  color: #d7d2d2;
  font-weight: 600;
  font-size: 13px;
}
.topbar__nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.topbar__nav svg { width: 18px; height: 18px; }
.topbar__promo {
  justify-self: center;
  max-width: 520px;
  padding: 8px 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,36,0,0.18), rgba(233,192,95,0.12));
  border: 1px solid rgba(255,36,0,0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.topbar__auth { display: flex; gap: 8px; align-items: center; }

.main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 48px;
}

.bonuses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.bonus {
  position: relative;
  display: block;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: #1a0c0c;
}
.bonus__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.bonus__bg--mob { display: none; }
.bonus__person {
  position: absolute;
  right: -10px;
  bottom: 0;
  height: 108%;
  width: auto;
  max-width: 58%;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  z-index: 1;
}
.bonus__person--mob { display: none; }
.bonus__copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 28px 32px;
  max-width: 52%;
}
.bonus__eyebrow {
  font-size: 42px;
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.bonus__offer {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
.bonus__offer span { color: var(--gold); font-weight: 800; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 16px;
}
.section-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.section-head__link {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.sports,
.winners,
.casino,
.promo-block,
.bonuses {
  min-width: 0;
  max-width: 100%;
}
.sports__rail,
.winners__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.sports__rail { grid-auto-columns: minmax(300px, 320px); }
.winners__rail { grid-auto-columns: minmax(240px, 1fr); }

.match {
  display: block;
  padding: 16px;
  border-radius: 14px;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(255, 36, 0, 0.16), transparent 55%),
    linear-gradient(160deg, #1b2a1f 0%, #141814 55%, #101210 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 210px;
}
.match__badge {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(233, 192, 95, 0.16);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.match__league {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 14px;
}
.match__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}
.match__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.match__side img { width: 48px; height: 48px; object-fit: contain; }
.match__time { text-align: center; color: var(--muted); font-size: 12px; }
.match__time strong { display: block; margin-top: 2px; color: #fff; font-size: 18px; }
.match__odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.match__odds span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}
.match__odds i { font-style: normal; color: var(--muted); font-size: 11px; }
.match__odds b { font-size: 16px; font-weight: 700; }

.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.cat {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.cat.is-active,
.cat:hover {
  background: var(--red);
  color: #fff;
}

.games {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.game {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 4 / 3;
}
.game img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.game:hover img { transform: scale(1.04); }
.game__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.game__tag--ex { background: var(--gold-bright); color: #1a1200; }

.win-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}
.win-card img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.win-card__user { font-weight: 700; font-size: 13px; }
.win-card__game { color: var(--muted); font-size: 12px; }
.win-card__sum { color: #3ddc84; font-weight: 800; font-size: 14px; white-space: nowrap; }

.promo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.promo-stats div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  padding: 18px 10px;
  border-radius: 14px;
  background: var(--bg-elevated);
}
.promo-stats strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
}
.promo-stats span {
  color: var(--muted);
  font-size: 13px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.promo-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}
.promo-card > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.promo-card__body { padding: 16px 18px 18px; }
.promo-card__tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 36, 0, 0.18);
  color: #ff8b75;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.promo-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.25;
}
.promo-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.seo-h1 {
  margin: 40px 0 14px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.seo-text {
  color: #d7d2d2;
  font-size: 15px;
  line-height: 1.7;
  max-width: 920px;
}
.seo-text h2, .seo-text h3 { color: #fff; margin: 1.2em 0 0.5em; }
.seo-text p { margin: 0 0 0.9em; }
.seo-text a { color: var(--gold); text-decoration: underline; }

.footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 22px;
}
.footer__title {
  margin-bottom: 10px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}
.footer__nav a {
  display: block;
  color: var(--muted);
  margin: 7px 0;
  font-size: 13px;
}
.footer__nav a:hover { color: #fff; }
.footer__copy {
  color: #6f6a6a;
  font-size: 12px;
  margin: 0;
}

/* Wide desktop */
@media (min-width: 1500px) {
  .main { max-width: 1400px; }
  .games { grid-template-columns: repeat(5, 1fr); }
  .sports__rail { grid-auto-columns: minmax(310px, 1fr); }
}

/* Compact laptop */
@media (max-width: 1200px) {
  :root { --sidebar-w: 190px; }
  .bonus { height: 280px; }
  .bonus__eyebrow { font-size: 34px; }
  .games { grid-template-columns: repeat(4, 1fr); }
  .topbar {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "nav auth"
      "promo promo";
  }
  .topbar__nav { grid-area: nav; }
  .topbar__auth { grid-area: auth; }
  .topbar__promo { grid-area: promo; justify-self: stretch; max-width: none; }
}

/* Phone / tablet / landscape — no desktop sidebar (it was "sticking out") */
@media (max-width: 1099px) {
  .sidebar,
  .topbar {
    display: none !important;
  }

  .m-header {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 50;
    box-sizing: border-box;
    width: 100%;
    height: var(--m-header-h);
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px;
    background: rgba(15, 14, 14, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .m-header__logo {
    flex: 0 1 auto;
    min-width: 0;
  }
  .m-header__logo img {
    height: 28px;
    width: auto;
    max-width: 110px;
  }
  .m-header__auth {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 0 0 auto;
  }

  .shell {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .main {
    max-width: 100%;
    width: 100%;
    padding: 12px 12px calc(var(--tabbar-h) + 20px);
    overflow-x: hidden;
  }
  .sports__rail {
    grid-auto-columns: minmax(260px, 82%);
  }
  .winners__rail {
    grid-auto-columns: minmax(220px, 78%);
  }

  .bonuses {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }
  .bonus { height: 168px; border-radius: 14px; }
  .bonus__bg--desk { display: none; }
  .bonus__bg--mob { display: block; }
  .bonus__person--desk { display: none; }
  .bonus__person--mob {
    display: block;
    max-width: 48%;
    height: 100%;
    right: -6px;
  }
  .bonus__copy {
    max-width: 58%;
    padding: 14px 16px;
    gap: 8px;
  }
  .bonus__eyebrow { font-size: 22px; }
  .bonus__offer { font-size: 15px; }
  .bonus .btn { min-height: 34px; padding: 0 12px; font-size: 11px; }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin: 6px 0 12px;
  }
  .section-head h2 { font-size: 20px; }
  .section-head p { font-size: 13px; }
  .section-head__link {
    align-self: stretch;
    text-align: center;
  }

  .sports__rail { grid-auto-columns: minmax(260px, 86%); }
  .winners__rail { grid-auto-columns: minmax(220px, 80%); }
  .match { min-height: 0; padding: 14px; }
  .match__side img { width: 40px; height: 40px; }

  .cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 12px;
  }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 auto; font-size: 12px; padding: 8px 12px; }

  .games {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .promo-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .promo-stats strong { font-size: 22px; }
  .promo-stats span { font-size: 11px; }
  .promo-grid { grid-template-columns: 1fr; gap: 12px; }
  .promo-card > img { height: 140px; }

  .seo-h1 { font-size: 22px; margin-top: 28px; }
  .seo-text { font-size: 14px; }
  .footer { margin-top: 28px; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .tabbar {
    display: grid;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    box-sizing: border-box;
    width: auto;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: rgba(12, 11, 11, 0.97);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
    overflow: visible;
  }
  .tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    min-width: 0;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    padding: 0 2px 4px;
    line-height: 1.1;
    text-align: center;
  }
  .tabbar svg { width: 20px; height: 20px; flex: 0 0 auto; }
  .tabbar__center {
    position: relative;
    top: -8px;
    color: #fff !important;
  }
  .tabbar__center img {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
  }
  .tabbar .is-active { color: #fff; }

  .m-header__auth .btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
  }
}

/* Desktop shell only on wide screens */
@media (min-width: 1100px) {
  .m-header,
  .tabbar {
    display: none !important;
  }
}

.section-head .side-count { margin-left: 8px; font-weight: 700; font-size: 0.92em; opacity: 0.9; }
.nested-continue { margin: 12px 16px 0; }
.nested-continue a { font-weight: 700; }
.content-img { display: block; max-width: 420px; width: 100%; height: auto; border-radius: 12px; margin: 16px 0; }
