:root {
  --bg: #1b0e26;
  --bg-2: #281837;
  --bg-3: #2e243f;
  --text: #e6e6e6;
  --text-2: #a79fb1;
  --text-3: #777777;
  --purple: #b633fe;
  --purple-2: #c65eff;
  --purple-active: #ce74ff;
  --purple-deep: #993ef7;
  --green: #35ec90;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --sidebar: 272px;
  --sidebar-mini: 68px;
  --font: "Inter", "Segoe UI", sans-serif;
  --display: "Rubik", "Inter", sans-serif;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body { overflow-x: clip; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
}

button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: block;
}

.app { min-height: 100dvh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: var(--bg-2);
  z-index: 160;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  transform: translateX(-105%);
  transition: transform 0.22s ease, width 0.22s ease;
}

.sidebar.is-open { transform: none; }

.sidebar-head {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 16px;
  flex: 0 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #d27bff 0%, #8a12d6 100%);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(182, 51, 254, 0.35);
  flex: 0 0 auto;
}

.custom-logo-link { display: flex; }
.custom-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 10px; }

.logo-word {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 15px;
  white-space: nowrap;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--text-2);
}

.icon-btn:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

.sidebar-scroll {
  overflow: auto;
  flex: 1;
  padding: 4px 10px 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(182, 51, 254, 0.45) transparent;
}

.nav-group {
  margin: 14px 8px 6px;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link {
  width: 100%;
  min-height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  color: var(--text);
  text-align: left;
  position: relative;
}

.nav-link:hover { background: rgba(255, 255, 255, 0.06); }

.nav-link.is-active {
  background: rgba(182, 51, 254, 0.14);
  color: var(--purple-active);
}

.nav-link.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #993ef7, #b83df7);
}

.side-banner {
  margin: 16px 8px 8px;
  padding: 14px;
  border-radius: 16px;
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(53, 236, 144, 0.35), transparent 55%),
    linear-gradient(160deg, #4b0d78, #2a123d);
  display: grid;
  gap: 4px;
}

.side-banner strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}

.side-banner span { color: var(--text-2); font-size: 12px; }

.side-banner .btn { margin-top: 8px; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.overlay.is-open { opacity: 1; pointer-events: auto; }

.shell { min-height: 100dvh; display: flex; flex-direction: column; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 10px 12px;
  background: rgba(27, 14, 38, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 100%;
  min-width: 0;
  order: 3;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
  border: 1px solid transparent;
}

.search:focus-within {
  border-color: rgba(182, 51, 254, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
}

.search input::placeholder { color: var(--text-3); }

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }

.btn-accent {
  background: var(--green);
  color: #062216;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-purple {
  background: linear-gradient(180deg, #c65eff, #a020ef);
  color: #fff;
}

.btn-block { width: 100%; }

.btn .icon { width: 18px; height: 18px; flex-basis: 18px; }

.lang {
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  display: none;
  align-items: center;
  gap: 6px;
}

.content {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 14px 12px calc(118px + env(safe-area-inset-bottom));
  flex: 1;
}

.view[hidden] { display: none !important; }

.hero {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.hero::-webkit-scrollbar { display: none; }

.banner {
  scroll-snap-align: start;
  min-height: 196px;
  border-radius: 20px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  isolation: isolate;
}

.banner h2 {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.banner p { color: rgba(255, 255, 255, 0.82); max-width: 28ch; }

.banner .btn { margin-top: 10px; }

.banner-welcome {
  background:
    radial-gradient(90% 120% at 100% 20%, rgba(53, 236, 144, 0.55), transparent 46%),
    linear-gradient(115deg, #4a0878 0%, #b31cf0 58%, #6a12b0 100%);
}

.banner-originals {
  background:
    radial-gradient(70% 80% at 90% 80%, rgba(53, 236, 144, 0.35), transparent 50%),
    linear-gradient(160deg, #123524, #1b0e26 60%);
}

.banner-live {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255, 70, 70, 0.45), transparent 50%),
    linear-gradient(160deg, #4a0d18, #1b0e26 70%);
}

.banner-deco {
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 120px;
  line-height: 1;
  opacity: 0.28;
  z-index: -1;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.jackpot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.jackpot span { color: var(--text-2); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.jackpot strong {
  margin-left: auto;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.jackpot em { font-style: normal; color: var(--green); font-weight: 800; }

.wins {
  margin-top: 12px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.wins-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.wins:hover .wins-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.win {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #1b0e26;
}

.win b { font-weight: 700; }
.win small { display: block; color: var(--text-3); font-size: 11px; }
.win .sum { color: var(--green); font-weight: 800; margin-left: 8px; }

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 16px 0 6px;
  padding-bottom: 2px;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--text-2);
  border: 1px solid var(--line);
  font-weight: 700;
}

.chip.is-active,
.chip:hover {
  color: #fff;
  border-color: transparent;
  background: rgba(182, 51, 254, 0.22);
}

.rail { margin-top: 22px; }

.rail-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.rail-head h2 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.rail-head .more {
  margin-left: auto;
  color: var(--purple-2);
  font-weight: 700;
  font-size: 13px;
}

.rail-arrows { display: none; gap: 6px; }

.rail-arrows button,
.more-round {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--bg-3);
  color: #fff;
  display: grid;
  place-items: center;
}

.rail-arrows .icon { width: 18px; height: 18px; }

.rail-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.rail-track::-webkit-scrollbar { display: none; }

.game-card {
  cursor: pointer;
  display: block;
  position: relative;
  width: 118px;
  flex: 0 0 118px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  text-align: left;
  color: #fff;
  background:
    radial-gradient(90% 70% at 20% 0%, var(--c1), transparent 60%),
    radial-gradient(80% 70% at 100% 100%, var(--c2), transparent 55%),
    linear-gradient(180deg, #3a2452, #160a20);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease;
}

.game-card:hover { transform: translateY(-4px); }

.game-card[hidden] { display: none !important; }

.game-symbol {
  position: absolute;
  inset: 18px 8px 42px;
  display: grid;
  place-items: center;
  font-size: 46px;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.35));
}

.game-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.game-provider {
  position: absolute;
  left: 8px;
  top: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  padding: 3px 7px;
}

.badge {
  position: absolute;
  right: 8px;
  top: 8px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.04em;
}

.badge-hot { background: #ff4d6d; color: #fff; }
.badge-new { background: var(--purple); color: #fff; }
.badge-live { background: #ff3b30; color: #fff; }
.badge-buy { background: var(--green); color: #062216; }

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  margin-right: 4px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
}

.game-grid .game-card { width: auto; flex: none; }

.page-head { margin: 6px 0 14px; }
.page-head h1,
.page-head h2,
.lobby-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.lobby-title {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.archive-desc { color: var(--text-2); margin-top: 6px; }
.navigation.pagination { margin-top: 16px; }
.navigation .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--text);
  font-weight: 700;
}
.page-numbers.current { background: var(--purple); color: #fff; }
.page-links { margin-top: 16px; }
.page-head p { color: var(--text-2); margin-top: 6px; }

.empty {
  display: none;
  margin: 28px 0;
  padding: 28px 16px;
  text-align: center;
  color: var(--text-2);
  background: var(--bg-2);
  border-radius: 16px;
}

.empty.is-visible { display: block; }

.sport-layout { display: grid; gap: 12px; }

.match-list { display: grid; gap: 8px; }

.match {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}

.match-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 12px;
  margin-bottom: 8px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ff6b6b;
  font-weight: 800;
}

.teams { font-family: var(--display); font-size: 16px; font-weight: 600; margin-bottom: 10px; }

.odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.odds.two { grid-template-columns: repeat(2, 1fr); }

.odd {
  cursor: pointer;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-weight: 700;
}

.odd span { color: var(--text-3); font-size: 12px; font-weight: 600; }
.odd b { font-family: var(--display); }
.odd.is-picked, .odd:hover { background: rgba(182, 51, 254, 0.28); color: #fff; }

.slip {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  display: none;
}

.slip h3 { font-family: var(--display); font-size: 18px; margin-bottom: 8px; }
.slip-empty { color: var(--text-2); font-size: 13px; }
.slip-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.slip-item button { color: var(--text-3); }
.slip .btn { margin-top: 12px; }

.slip-mobile {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 125;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #35184c;
  box-shadow: var(--shadow);
}

.slip-mobile.is-visible { display: flex; }

.bonus-grid, .promo-list { display: grid; gap: 12px; }

.bonus-card, .promo-card, .panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.bonus-card {
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(182, 51, 254, 0.35), transparent 50%),
    var(--bg-2);
}

.bonus-card h2, .promo-card h2, .panel h2 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.bonus-card p, .promo-card p, .panel p { color: var(--text-2); }

.bonus-card .sum {
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
  margin: 8px 0;
  background: linear-gradient(90deg, #fff, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.steps { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.steps li { display: flex; gap: 8px; align-items: flex-start; color: var(--text); }
.steps i {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(53, 236, 144, 0.16);
  color: var(--green);
  display: grid; place-items: center;
  font-style: normal; font-size: 12px; font-weight: 800; flex: 0 0 auto;
}

.page-copy {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.page-copy h1,
.page-copy h2,
.page-copy h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.page-copy h1 { font-size: 28px; }
.page-copy h2 { margin-top: 20px; font-size: 22px; }
.page-copy h3 { margin-top: 16px; font-size: 18px; }
.page-copy p,
.page-copy li { color: var(--text-2); }
.page-copy a { color: var(--purple-2); }
.page-copy ul,
.page-copy ol { margin: 8px 0 12px; padding-left: 18px; }
.page-copy img { border-radius: 16px; margin: 12px 0; }

.entry { max-width: 760px; }
.entry h1, .entry h2, .entry h3 { font-family: var(--display); letter-spacing: -0.03em; margin: 0 0 10px; }
.entry p, .entry li { color: var(--text-2); }
.entry a { color: var(--purple-2); }
.posts { display: grid; gap: 10px; }
.post-card { display: block; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 12px calc(28px + env(safe-area-inset-bottom));
  color: var(--text-2);
}

.footer-inner { width: min(1280px, 100%); margin: 0 auto; }

.pay-row, .footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pay {
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--bg-3);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}
.footer-links { margin: 14px 0; }
.footer-links a:hover { color: #fff; }
.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--text-2);
  font-weight: 800;
  margin-right: 8px;
}
.legal { font-size: 12px; max-width: 78ch; }
.legal strong { color: var(--text); }

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 140;
  padding: 0 10px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(27, 14, 38, 0), rgba(27, 14, 38, 0.96) 30%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
}

.tab {
  height: 58px;
  border-radius: 16px;
  color: var(--text-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
}

.tab .icon { width: 22px; height: 22px; }
.tab.is-active { color: var(--purple-active); }

.tab-play {
  cursor: pointer;
  width: 52px;
  height: 52px;
  justify-self: center;
  align-self: end;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--green);
  color: #062216;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(53, 236, 144, 0.35);
}

.tab-play .icon { width: 22px; height: 22px; color: #062216; }

.modal[hidden], .toast[hidden] { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: end center;
  background: rgba(0, 0, 0, 0.64);
  padding: 12px;
}

.modal-card {
  width: min(440px, 100%);
  background: #2a1738;
  border-radius: 20px 20px 16px 16px;
  padding: 18px 16px 16px;
  box-shadow: var(--shadow);
  max-height: min(92dvh, 760px);
  overflow: auto;
}

.modal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.modal-head h2 { font-family: var(--display); font-size: 22px; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: rgba(0,0,0,.2); padding: 4px; border-radius: 12px; margin-bottom: 14px; }
.tabs button { height: 36px; border-radius: 10px; color: var(--text-2); font-weight: 700; }
.tabs button.is-active { background: var(--bg-3); color: #fff; }

.field { display: grid; gap: 6px; margin-bottom: 10px; }
.field span { font-size: 12px; color: var(--text-2); font-weight: 600; }
.field input, .field select {
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #1b0e26;
  padding: 0 12px;
  outline: none;
  width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--purple); }

.check { display: flex; gap: 8px; align-items: flex-start; color: var(--text-2); font-size: 12px; margin: 8px 0 12px; }
.check input { margin-top: 2px; }

.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.socials button { background: rgba(255,255,255,.06); }

.note { margin-top: 8px; color: var(--text-3); font-size: 12px; text-align: center; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(108px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 220;
  background: #fff;
  color: #1b0e26;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 12px;
  width: min(420px, calc(100% - 24px));
  text-align: center;
  box-shadow: var(--shadow);
}

@media (max-width: 1099px) {
  .site-footer { padding-bottom: calc(176px + env(safe-area-inset-bottom)); }
}

@media (max-width: 420px) {
  .topbar .logo-word { display: none; }
  .top-actions .btn { padding: 0 10px; font-size: 13px; }
}

@media (min-width: 720px) {
  .hero { grid-auto-columns: calc(50% - 6px); }
  .banner { min-height: 230px; }
  .banner h2 { font-size: 36px; }
  .game-card { width: 142px; flex-basis: 142px; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); }
  .modal { place-items: center; }
  .modal-card { border-radius: 20px; padding: 22px; }
  .content { padding-left: 20px; padding-right: 20px; }
  .site-footer { padding-left: 20px; padding-right: 20px; }
}

@media (min-width: 1100px) {
  .sidebar { transform: none; }
  .sidebar-head { height: 84px; }
  .overlay { display: none; }
  .shell { margin-left: var(--sidebar); }
  body.is-collapsed .sidebar { width: var(--sidebar-mini); }
  body.is-collapsed .shell { margin-left: var(--sidebar-mini); }
  body.is-collapsed .logo-word,
  body.is-collapsed .nav-label,
  body.is-collapsed .nav-group,
  body.is-collapsed .side-banner { display: none; }
  body.is-collapsed .sidebar-head { padding: 0; justify-content: center; }
  body.is-collapsed .logo { flex: 0; }
  body.is-collapsed .nav-link { justify-content: center; padding: 0; }
  body.is-collapsed .side-close { display: none; }

  .topbar {
    min-height: 84px;
    padding: 0 24px;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .topbar .logo { display: none; }
  .search { order: 0; flex: 1 1 280px; max-width: 460px; }
  .lang { display: inline-flex; }
  .content { padding: 18px 24px 56px; }
  .hero { grid-auto-columns: calc(33.33% - 8px); }
  .banner { min-height: 248px; }
  .game-card { width: 156px; flex-basis: 156px; }
  .game-symbol { font-size: 54px; }
  .rail-arrows { display: flex; }
  .sport-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .slip { display: block; position: sticky; top: 100px; }
  .slip-mobile { display: none !important; }
  .tabbar { display: none; }
  .site-footer { padding-bottom: 36px; }
  .bonus-grid { grid-template-columns: 1.3fr 1fr; }
  .promo-list { grid-template-columns: 1fr 1fr; }
}

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