@font-face { font-family: "Inter Local Fallback"; size-adjust: 100%; src: local("Inter"); }

:root {
  --bg: #0b0c0d;
  --bg-2: #121416;
  --bg-3: #1a1b1e;
  --bg-4: #222428;
  --lime: #bbeb00;
  --lime-2: #d4ff2e;
  --lime-dim: rgba(187, 235, 0, 0.16);
  --text: #f4f5f6;
  --muted: #a9afb5;
  --muted-2: #7b828a;
  --line: rgba(255, 255, 255, 0.06);
  --glass: rgba(169, 175, 181, 0.12);
  --danger: #ff4d4f;
  --blue: #265bea;
  --radius: 12px;
  --radius-s: 8px;
  --radius-xs: 6px;
  --rail: 56px;
  --side: 212px;
  --top: 64px;
  --tabbar: 72px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --font: Inter, "Inter Local Fallback", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font); }
body { min-height: 100%; overflow: hidden; }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.hidden { display: none !important; }

.ico { width: 20px; height: 20px; flex: 0 0 auto; }
.ico-s { width: 16px; height: 16px; }

.shell {
  display: grid;
  grid-template-columns: var(--rail) var(--side) 1fr;
  grid-template-rows: 100vh;
  height: 100vh;
  transition: grid-template-columns .28s cubic-bezier(.2,.8,.2,1);
}
.shell.is-side-collapsed {
  grid-template-columns: var(--rail) 0 1fr;
}

.rail {
  background: #0e1012;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px 18px;
  gap: 8px;
  z-index: 30;
}
.rail-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-s);
  display: grid; place-items: center;
  color: var(--muted);
  background: var(--bg-3);
  transition: background .2s, color .2s, transform .15s;
}
.rail-btn:hover { color: var(--text); background: var(--bg-4); }
.rail-btn.is-on {
  color: #111;
  background: var(--lime);
}
.rail-btn:active { transform: scale(.95); }
.rail-gap { flex: 1; }

.sidebar {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  overflow: auto;
  padding: 12px 10px 24px;
  scrollbar-width: thin;
  scrollbar-color: #2a2d32 transparent;
  min-width: 0;
}
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-s);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  transition: background .18s, color .18s;
}
.nav-item:hover { background: var(--glass); color: var(--text); }
.nav-item.is-active {
  color: var(--lime);
  background: linear-gradient(90deg, var(--lime-dim), transparent);
  box-shadow: inset 2px 0 0 var(--lime), 0 0 0 1px rgba(187, 235, 0, 0.22);
}
.nav-group { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.nav-label {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 6px 10px 8px;
  font-weight: 700;
}

.stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg);
}

.topbar {
  height: var(--top);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  flex: 0 0 auto;
  background: linear-gradient(180deg, #0b0c0d 0%, rgba(11,12,13,.92) 70%, transparent);
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 132px;
}
.brand-mark {
  width: 28px; height: 28px;
}
.brand-word {
  font-weight: 800;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.turbine-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1a3a9a, #2a63f0 55%, #1a3a9a);
  box-shadow: 0 0 22px rgba(38, 91, 234, .45);
  font-size: 13px;
  font-weight: 700;
  position: relative;
}
.turbine-wheel {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: conic-gradient(#ff4d6d, #ffd166, #bbeb00, #4cc9f0, #b5179e, #ff4d6d);
  animation: spin 3.2s linear infinite;
  box-shadow: inset 0 0 0 3px #0b0c0d;
}
.turbine-chip .badge {
  position: absolute;
  top: -4px; right: -2px;
  min-width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--danger);
  font-size: 10px;
  display: grid; place-items: center;
}
.top-actions { margin-left: auto; display: flex; gap: 8px; }
.btn {
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .15s, filter .15s, background .15s;
}
.btn:active { transform: scale(.97); }
.btn-ghost { background: var(--glass); color: var(--text); }
.btn-ghost:hover { background: rgba(169,175,181,.18); }
.btn-lime { background: var(--lime); color: #111; }
.btn-lime:hover { filter: brightness(1.06); }
.btn-lime:disabled { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
.btn-block { width: 100%; }

.main {
  flex: 1;
  overflow: auto;
  padding: 0 20px 48px;
  scrollbar-width: thin;
  scrollbar-color: #2a2d32 transparent;
}

.hero {
  position: relative;
  margin-top: 4px;
}
.hero-track {
  display: flex;
  gap: 12px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide {
  flex: 0 0 86%;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  height: min(32vw, 280px);
  min-height: 176px;
  background: var(--bg-3);
  cursor: pointer;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}
.hero-nav .icon-round { pointer-events: auto; }
.icon-round {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(11,12,13,.72);
  display: grid; place-items: center;
  color: var(--text);
  backdrop-filter: blur(8px);
}
.hero-dots {
  display: flex; gap: 6px; margin-top: 10px;
}
.hero-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3a3d43;
}
.hero-dots span.is-on { background: #7aa2ff; }

.promos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0 8px;
}
.promo-card {
  border-radius: 14px;
  overflow: hidden;
  height: 148px;
  background: var(--bg-3);
  cursor: pointer;
  transition: transform .2s;
}
.promo-card:hover { transform: translateY(-2px); }
.promo-card img { width: 100%; height: 100%; object-fit: cover; }

.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 8px;
  overflow: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-s);
  background: var(--bg-3);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.filter.is-on { background: var(--lime); color: #111; }

.row-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 12px;
}
.row-head h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.row-head .grow { flex: 1; }
.chip {
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-s);
  background: var(--bg-3);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.row-ctrl { display: flex; gap: 6px; }
.row-ctrl .icon-round { background: var(--bg-3); width: 32px; height: 32px; }

.scroller {
  display: flex;
  gap: 10px;
  overflow: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.scroller::-webkit-scrollbar { display: none; }

.game {
  flex: 0 0 148px;
  scroll-snap-align: start;
  cursor: pointer;
  isolation: isolate;
}
.game-art {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-3);
}
.game img {
  width: 100%;
  aspect-ratio: 158 / 212;
  object-fit: cover;
  transition: transform .35s ease;
}
.game:hover img { transform: scale(1.06); }
.game-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.78));
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  gap: 8px;
  transition: opacity .2s;
}
.game:hover .game-overlay,
.game:focus-within .game-overlay,
.game:active .game-overlay { opacity: 1; }
.play-mini {
  height: 34px;
  border-radius: var(--radius-s);
  background: var(--lime);
  color: #111;
  font-weight: 800;
  font-size: 13px;
}
.game-cap { padding: 7px 2px 0; }
.game-name {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.random-box {
  margin-top: 8px;
  border-radius: 16px;
  background: var(--bg-2);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.random-box h3 { font-size: 18px; font-weight: 800; }
.random-box p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.random-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.providers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.prov {
  height: 56px;
  border-radius: var(--radius-s);
  background: var(--bg-3);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  padding: 0 8px;
  transition: background .15s, color .15s;
}
.prov:hover { background: var(--bg-4); color: var(--text); }

.bets {
  background: var(--bg-2);
  border-radius: 16px;
  overflow: hidden;
}
.bets-tabs { display: flex; gap: 4px; padding: 10px; overflow: auto; }
.bets-tabs .chip.is-on { background: var(--lime); color: #111; }
.bets table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bets th {
  text-align: left;
  color: var(--muted-2);
  font-weight: 600;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
}
.bets td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.bets .win { color: var(--lime); font-weight: 700; }
.bets .user { color: var(--muted); }

.seo-lead {
  margin: 8px 0 18px;
  max-width: 860px;
}
.seo-lead h1 {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.seo-lead p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 12px; color: var(--muted-2); margin: 4px 0 12px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.faq {
  margin-top: 28px;
  background: var(--bg-2);
  border-radius: 16px;
  padding: 20px;
}
.faq h2 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.faq-item { padding: 12px 0; border-top: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 0; padding-top: 0; }
.faq-item h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.faq-item p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.trust {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.trust-card {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 14px;
}
.trust-card h3 { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.trust-card p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.seo-catalog {
  margin-top: 22px;
}
.seo-catalog h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.seo-catalog .lead { color: var(--muted); font-size: 14px; margin-bottom: 14px; line-height: 1.5; }
.static-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
}
.static-grid .game { flex: none; width: 100%; }
.seo-foot { margin-top: 28px; padding-top: 16px; }
.seo-foot a { color: var(--muted); margin-right: 12px; display: inline-block; margin-bottom: 6px; }
.seo-foot a:hover { color: var(--text); }
.prov-list {
  columns: 2;
  gap: 8px 24px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 720px) {
  .prov-list { columns: 1; }
}
@media (max-width: 760px) {
  .trust { grid-template-columns: 1fr; }
}

.footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
}
.footer h4 { color: var(--text); margin-bottom: 12px; font-size: 14px; }
.footer a, .footer button {
  display: block;
  color: var(--muted);
  padding: 5px 0;
  text-align: left;
  font-size: 13px;
}
.footer a:hover, .footer button:hover { color: var(--text); }
.socials { display: flex; gap: 8px; margin-top: 10px; }
.socials .icon-round { width: 40px; height: 40px; background: var(--bg-3); }
.legal { margin-top: 22px; font-size: 12px; color: var(--muted-2); line-height: 1.55; }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pay {
  height: 32px; min-width: 52px;
  border-radius: 6px;
  background: var(--bg-3);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800; color: var(--muted);
  padding: 0 8px;
}
.age {
  width: 40px; height: 40px;
  border: 2px solid var(--muted-2);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  margin-top: 16px;
}

.support-fab {
  position: fixed;
  right: 18px; bottom: 28px;
  width: 48px; height: 48px;
  border-radius: var(--radius-s);
  background: var(--lime);
  color: #111;
  display: grid; place-items: center;
  z-index: 40;
  box-shadow: var(--shadow);
}
.top-fab {
  position: fixed;
  right: 18px; bottom: 86px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-3);
  display: none;
  place-items: center;
  z-index: 40;
}
.top-fab.is-on { display: grid; }

.tabbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--tabbar);
  background: #121314;
  border-top: 1px solid var(--line);
  z-index: 85;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  padding: 6px 6px 10px;
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  position: relative;
  padding-bottom: 4px;
}
.tab.is-on { color: var(--lime); }
.tab.is-on::after {
  content: "";
  position: absolute;
  left: 18%; right: 18%; bottom: -10px; top: 0;
  background: linear-gradient(0deg, var(--lime-dim) 0%, transparent 50%);
  pointer-events: none;
  border-radius: 0 0 8px 8px;
}
.tab-wheel {
  width: 54px; height: 54px;
  border-radius: 50%;
  margin-top: -22px;
  background: conic-gradient(#ff4d6d, #ffd166, #bbeb00, #4cc9f0, #b5179e, #ff4d6d);
  animation: spin 4s linear infinite;
  box-shadow: 0 8px 20px rgba(0,0,0,.4), inset 0 0 0 4px #121314;
}

.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s cubic-bezier(.2,.8,.2,1);
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 82;
  height: min(86vh, 760px);
  background: #121416;
  border-radius: 16px 16px 0 0;
  transform: translate3d(0, 110%, 0);
  transition: transform .32s cubic-bezier(.22,.82,.24,1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px));
  will-change: transform;
}
.sheet.is-open { transform: translate3d(0, 0, 0); }
.sheet-grab {
  width: 36px; height: 4px;
  border-radius: 999px;
  background: #3a3d43;
  margin: 10px auto 6px;
  flex: 0 0 auto;
}
.menu-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px 14px 10px;
}
.menu-seg {
  height: 40px;
  border-radius: 10px;
  background: var(--bg-3);
  font-weight: 800;
  font-size: 14px;
  color: var(--muted);
}
.menu-seg.is-on { background: var(--lime); color: #111; }
.sheet-scroll {
  overflow: auto;
  padding: 0 10px 12px;
  -webkit-overflow-scrolling: touch;
}
.sheet-foot {
  border-top: 1px solid var(--line);
  padding: 8px 10px 10px;
  flex: 0 0 auto;
}
.sheet-lang { width: 100%; margin-top: 4px; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: #111214;
  z-index: 90;
  transform: translate3d(104%, 0, 0);
  transition: transform .28s cubic-bezier(.22,.82,.24,1);
  display: flex;
  overflow: hidden;
  box-shadow: var(--shadow);
  will-change: transform;
}
.drawer.is-open { transform: none; }
.drawer-promo {
  width: 42%;
  background:
    radial-gradient(80% 60% at 50% 10%, rgba(187,235,0,.2), transparent),
    linear-gradient(180deg, #1a1d12, #10110d);
  padding: 28px 16px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}
.drawer-promo h3 { font-size: 22px; font-weight: 800; line-height: 1.15; }
.bolt {
  width: 120px; height: 160px;
  margin: 20px auto 0;
  background: var(--lime);
  clip-path: polygon(55% 0, 100% 0, 60% 42%, 90% 42%, 20% 100%, 45% 52%, 10% 52%);
  filter: drop-shadow(0 12px 18px rgba(187,235,0,.35));
}
.drawer-body { flex: 1; padding: 22px 22px 28px; overflow: auto; }
.drawer-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-3);
  display: grid; place-items: center;
  z-index: 2;
}
.auth-tabs { display: flex; gap: 18px; margin: 8px 0 18px; }
.auth-tabs button {
  font-size: 22px; font-weight: 800;
  color: var(--muted-2);
}
.auth-tabs button.is-on { color: var(--text); }
.subtabs { display: flex; gap: 8px; margin-bottom: 16px; }
.subtabs button {
  height: 34px; padding: 0 12px;
  border-radius: 999px;
  background: var(--bg-3);
  font-size: 13px; font-weight: 700;
  color: var(--muted);
}
.subtabs button.is-on { background: var(--glass); color: var(--text); }
.field {
  background: var(--bg-3);
  border-radius: var(--radius-s);
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  margin-bottom: 10px;
  border: 1px solid transparent;
}
.field-ico { color: var(--muted-2); }
.field:focus-within { border-color: rgba(187,235,0,.45); }
.field input {
  width: 100%;
  background: none;
  border: 0;
  outline: none;
  height: 100%;
}
.field input::placeholder { color: var(--muted-2); }
.err { color: #ff6b6b; font-size: 12px; min-height: 16px; margin: -4px 0 8px; }
.linkish { color: var(--muted); font-size: 13px; margin: 8px 0 16px; display: block; text-align: left; }
.linkish:hover { color: var(--text); }
.lime-link { color: var(--lime); }
.lime-link:hover { color: var(--lime-2); }
.terms {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 12px;
  line-height: 1.4;
}
.terms input { margin-top: 3px; accent-color: var(--lime); }
.inline-link { color: var(--lime); font-weight: 700; display: inline; padding: 0; }
.or { text-align: center; color: var(--muted-2); font-size: 12px; margin: 16px 0 10px; }
.soc-row { display: flex; justify-content: center; gap: 10px; }
.soc-row .icon-round { width: 44px; height: 44px; background: var(--bg-3); }
.switch-auth { text-align: center; margin-top: 18px; color: var(--muted); font-size: 13px; }
.switch-auth button { color: var(--lime); font-weight: 700; }

.modal {
  position: fixed; inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-card {
  width: min(420px, 100%);
  background: #15171a;
  border-radius: 16px;
  overflow: hidden;
  transform: translateY(10px) scale(.98);
  transition: transform .22s;
  box-shadow: var(--shadow);
}
.modal.is-open .modal-card { transform: none; }
.modal-cover { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--bg-3); }
.modal-body { padding: 16px 16px 18px; }
.modal-body h3 { font-size: 18px; font-weight: 800; }
.modal-body .meta { color: var(--muted); font-size: 13px; margin: 4px 0 14px; }
.modal-actions { display: flex; gap: 8px; }
.search-pop {
  width: min(560px, 100%);
  background: #15171a;
  border-radius: 16px;
  padding: 16px;
  max-height: min(80vh, 640px);
  display: flex;
  flex-direction: column;
}
.search-pop .field { margin: 0 0 12px; }
.search-results { overflow: auto; display: grid; gap: 8px; }
.search-hit {
  display: flex; gap: 10px; align-items: center;
  padding: 6px; border-radius: 10px;
  text-align: left;
}
.search-hit:hover { background: var(--bg-3); }
.search-hit img { width: 44px; height: 58px; object-fit: cover; border-radius: 8px; }

.toast {
  position: fixed;
  left: 50%; bottom: 96px;
  transform: translateX(-50%) translateY(20px);
  background: #1c1e22;
  color: var(--text);
  padding: 12px 16px;
  border-radius: 12px;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.toast.is-on { opacity: 1; transform: translateX(-50%); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  margin-top: 16px;
  border-radius: var(--radius-s);
  background: var(--bg-3);
  font-weight: 700;
  font-size: 13px;
}
.lang-switch .ico-s { transform: rotate(90deg); color: var(--muted); }
.muted-line { margin-top: 12px; color: var(--muted-2); font-size: 12px; }
.lang-card { width: min(360px, 100%); }
.lang-opt {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  border-radius: var(--radius-s);
  background: var(--bg-3);
  font-weight: 700;
  text-align: left;
  padding: 0 14px;
}
.lang-opt.is-on {
  background: var(--lime-dim);
  color: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(187,235,0,.35);
}

.launch {
  position: absolute; inset: 0;
  background: rgba(11,12,13,.78);
  display: grid; place-items: center;
  color: var(--text);
  font-weight: 800;
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid #333;
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 1100px) {
  .drawer-promo { display: flex; }
  .drawer { width: min(720px, 100%); }
  .sheet { display: none !important; }
}

@media (max-width: 1099px) {
  .shell { grid-template-columns: 1fr; }
  .rail, .sidebar { display: none; }
  .hero-slide { flex-basis: 86%; height: 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tabbar { display: grid; }
  .main { padding: 0 16px calc(var(--tabbar) + 24px); }
  .support-fab { bottom: calc(var(--tabbar) + 16px); }
  .top-fab { bottom: calc(var(--tabbar) + 72px); }
}

@media (max-width: 760px) {
  .topbar { padding: 0 12px; height: 56px; }
  .brand-word { font-size: 18px; }
  .turbine-chip span { display: none; }
  .btn { height: 36px; padding: 0 12px; font-size: 13px; }
  .main { padding: 0 12px calc(var(--tabbar) + 24px); }
  .promos { grid-template-columns: 1fr 1fr; }
  .promos .promo-card:nth-child(3) { display: none; }
  .hero-slide { height: 168px; border-radius: 12px; }
  .hero-nav { display: none; }
  .row-head h2 { font-size: 18px; }
  .game { flex-basis: 112px; }
  .tabbar { display: grid; }
  .support-fab { bottom: calc(var(--tabbar) + 16px); right: 12px; }
  .top-fab { bottom: calc(var(--tabbar) + 72px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .random-box { grid-template-columns: 1fr; }
  .bets { overflow: auto; }
  .drawer {
    top: auto;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 92vh;
    transform: translate3d(0, 110%, 0);
    border-radius: 16px 16px 0 0;
  }
  .drawer.is-open { transform: none; }
  .drawer-promo { display: none; }
  .overlay.is-open { bottom: var(--tabbar); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
