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

:root {
  color-scheme: dark;
  --bg: #0e0e15;
  --bg-2: #14141d;
  --bg-3: #191927;
  --bg-4: #1f1f2c;
  --header: #141420;
  --primary: #eb2424;
  --secondary: #bb05a9;
  --grad: linear-gradient(90deg, #eb2424, #bb05a9);
  --grad-soft: linear-gradient(105deg, #bb77ff -3%, #6e6eff 101%);
  --pink-glow: rgba(255, 105, 180, 0.55);
  --text: #ffffff;
  --muted: #9a9a9a;
  --muted-2: #838383;
  --line: rgba(255, 255, 255, 0.15);
  --line-2: rgba(255, 255, 255, 0.25);
  --glass: rgba(255, 255, 255, 0.1);
  --success: #47d524;
  --radius: 12px;
  --radius-s: 8px;
  --radius-l: 16px;
  --top: 64px;
  --tabbar: 72px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-safe: calc(var(--tabbar) + var(--safe-bottom));
  --max: 1760px;
  --font: Inter, "Inter Local Fallback", system-ui, sans-serif;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-bottom: var(--tabbar-safe);
}
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100%;
  overflow-x: hidden;
}
body {
  font-size: 16px;
  padding-bottom: calc(var(--tabbar-safe) + 8px);
}
@media (min-width: 1024px) {
  html { scroll-padding-bottom: 0; }
  body { padding-bottom: 0; }
}
button, input, select { 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 #ec4899; outline-offset: 2px; }
.hidden { display: none !important; }
.ico { width: 20px; height: 20px; flex: 0 0 auto; }
.ico-s { width: 16px; height: 16px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  border-bottom: 1px solid var(--line-2);
  padding: 8px 0;
}
@media (min-width: 768px) { .topbar { padding: 12px 0; } }
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (min-width: 768px) { .topbar-inner { padding: 0 20px; } }
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.brand img, .brand-logo {
  height: 18px;
  width: auto;
}
@media (min-width: 768px) {
  .brand img, .brand-logo { height: 22px; }
}
.top-nav {
  display: none;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.top-nav::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
  .top-nav { display: flex; }
}
.top-link {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.top-link:hover, .top-link.is-active { color: #fff; background: var(--glass); }
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.hdr-search {
  display: none;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: #fff;
}
.hdr-search:hover { background: var(--glass); }
@media (min-width: 1024px) {
  .hdr-search { display: grid; }
}
.lang-switch {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
@media (min-width: 768px) { .lang-switch { display: inline-flex; } }
@media (max-width: 420px) {
  .top-actions { gap: 6px; }
  .top-actions .btn { padding: 0 8px; font-size: 11px; height: 30px; }
  .brand-logo { height: 16px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .15s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-ghost {
  border: 1px solid #e5e7eb;
  color: #fff;
  background: transparent;
}
.btn-ghost:hover { background: #fff; color: #111; }
.btn-grad {
  background: var(--grad);
  color: #fff;
  border: 0;
}
.btn-grad:hover { box-shadow: 0 0 15px var(--pink-glow); }
.btn-block { width: 100%; height: 44px; font-size: 14px; border-radius: 8px; }
.btn-lg { height: 44px; padding: 0 18px; font-size: 14px; border-radius: 8px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 16px 32px;
}
@media (min-width: 768px) { .wrap { padding: 16px 20px 48px; } }

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 16px;
}
.hero-viewport { overflow: hidden; border-radius: 14px; }
.hero-track {
  display: flex;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.hero-slide {
  flex: 0 0 100%;
  display: block;
  width: 100%;
  background: var(--bg-3);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.hero-slide img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 14px;
}
.hero-desk { display: none; }
.hero-mob { display: block; }
@media (min-width: 768px) {
  .hero-desk { display: block; }
  .hero-mob { display: none; }
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.hero-dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
}
.hero-dots button.is-on { background: #fff; width: 18px; border-radius: 8px; }

.wins {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 16px;
  -webkit-overflow-scrolling: touch;
}
.wins::-webkit-scrollbar { display: none; }
.win-card {
  flex: 0 0 148px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  text-align: left;
  cursor: pointer;
}
.win-mul {
  display: inline-block;
  background: rgba(71, 213, 36, .15);
  color: var(--success);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.win-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}
.win-name { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  align-items: center;
}
.search-field {
  flex: 1 1 220px;
  min-width: 0;
  position: relative;
}
.search-field input {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  padding: 0 12px 0 38px;
  outline: none;
}
.search-field .ico {
  position: absolute;
  left: 12px;
  top: 11px;
  color: var(--muted);
}
.lobby-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn, .sort-btn {
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.filter-btn:hover, .filter-btn.is-on {
  border-color: #ec4899;
  color: #fff;
}

.game-row { margin-bottom: 22px; }
.row-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.row-head h2, .row-head .row-title {
  font-size: 16px;
  font-weight: 800;
}
.grow { flex: 1; }
.row-ctrl { display: flex; gap: 6px; }
.icon-round {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  color: #fff;
}
.icon-round:hover { background: var(--glass); }
.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 1fr);
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .scroller { grid-auto-columns: minmax(180px, 1fr); gap: 12px; }
}
.scroller::-webkit-scrollbar { display: none; }

.game {
  min-width: 0;
}
.game-art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 16 / 11;
}
@media (min-width: 1024px) {
  .game-art { border-radius: var(--radius-l); }
}
.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.72));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
  opacity: 0;
  transition: opacity .2s;
}
.game:hover .game-overlay, .game:focus-within .game-overlay { opacity: 1; }
@media (hover: none) {
  .game-overlay { opacity: 1; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); }
}
.play-mini {
  width: 100%;
  height: 32px;
  border-radius: 6px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.play-mini:hover { box-shadow: 0 0 15px var(--pink-glow); }
.game-cap { margin-top: 6px; }
.game-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}
.game-name:hover { color: #f472b6; }
.static-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 640px) { .static-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .static-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1200px) { .static-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.seo-lead, .seo-body, .faq, .seo-catalog { margin: 22px 0; }
.seo-lead h1, .faq h2, .seo-catalog h2, .seo-body h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.seo-body p, .seo-lead p, .lead {
  color: #d4d4d8;
  line-height: 1.65;
  margin-bottom: 12px;
  font-size: 15px;
}
.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 16px;
}
.crumbs a { color: #f472b6; }
.hub-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.seo-steps { padding-left: 18px; color: #d4d4d8; line-height: 1.6; }
.seo-steps li { margin-bottom: 8px; }
.seo-fresh {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  max-width: 52rem;
}
.seo-fresh time {
  color: var(--text);
  font-weight: 700;
}
.seo-fresh-sep { opacity: 0.7; }
.faq-item {
  border: 1px solid var(--line);
  background: var(--bg-3);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
}
.faq-item h3 { font-size: 15px; margin-bottom: 6px; }
.faq-item p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.providers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prov {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}
.prov:hover { border-color: #ec4899; }
.game-hero img {
  width: min(420px, 100%);
  border-radius: 16px;
  margin: 8px 0 16px;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 24px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}
.footer h3 {
  color: #fff;
  font-size: 13px;
  margin-bottom: 10px;
}
.footer a { display: block; padding: 4px 0; color: var(--muted); }
.footer a:hover { color: #fff; }
.legal { margin-top: 18px; line-height: 1.55; max-width: 920px; }
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.age {
  width: 36px; height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  display: grid; place-items: center;
  font-weight: 800;
  color: #fff;
}
.pay-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
  opacity: .85;
}
.pay-chip {
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  display: grid; place-items: center;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  height: var(--tabbar-safe);
  padding-bottom: var(--safe-bottom);
  background: rgba(14, 14, 21, .94);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  backdrop-filter: blur(12px);
}
@media (min-width: 1024px) { .tabbar { display: none; } }
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}
.tab.is-on, .tab:hover { color: #fff; }
.tab-fab {
  width: 54px; height: 54px;
  margin-top: -18px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(187, 5, 169, .45);
}
.tab-fab .ico { width: 24px; height: 24px; }

.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }
.sheet, .drawer, .modal {
  position: fixed;
  z-index: 70;
}
.sheet {
  left: 0; right: 0; bottom: 0;
  max-height: 82vh;
  background: var(--bg-2);
  border-radius: 16px 16px 0 0;
  transform: translateY(110%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
}
.sheet.is-open { transform: none; }
.sheet-grab {
  width: 40px; height: 4px;
  background: rgba(255,255,255,.25);
  border-radius: 4px;
  margin: 10px auto 6px;
}
.sheet-scroll { overflow: auto; padding: 8px 12px 16px; }
.sheet-foot { padding: 8px 12px 20px; border-top: 1px solid var(--line); }
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.nav-item:hover, .nav-item.is-active { background: var(--glass); }

.drawer {
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--bg-2);
  transform: translateX(110%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.drawer.is-open { transform: none; }
.drawer-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--glass);
  display: grid; place-items: center;
}
.drawer-body { padding: 48px 20px 24px; overflow: auto; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.auth-tabs button {
  height: 40px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-3);
}
.auth-tabs button.is-on { color: #fff; background: var(--grad); }
.field { margin-bottom: 10px; }
.field input {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0 12px;
  outline: none;
}
.terms { display: flex; gap: 8px; font-size: 13px; color: var(--muted); align-items: flex-start; }
.err { color: #f87171; font-size: 13px; min-height: 18px; margin: 6px 0; }
.linkish { color: #f9a8d4; font-size: 13px; margin: 8px 0; }
.switch-auth { margin-top: 14px; font-size: 13px; color: var(--muted); }
.switch-auth button { color: #f9a8d4; font-weight: 700; }

.modal {
  inset: 0;
  display: none;
  place-items: center;
  padding: 16px;
}
.modal.is-open { display: grid; }
.modal-card, .search-pop, .lang-card {
  width: min(520px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.search-pop { padding: 16px; }
.search-results { max-height: 50vh; overflow: auto; margin-top: 10px; }
.search-hit {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  text-align: left;
}
.search-hit:hover { background: var(--glass); }
.search-hit img { width: 64px; height: 44px; object-fit: cover; border-radius: 8px; }
.modal-cover { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.modal-body { padding: 16px; }
.modal-body h3 { margin-bottom: 6px; }
.meta { color: var(--muted); font-size: 13px; }
.modal-actions { display: flex; gap: 8px; margin-top: 14px; }
.lang-opt {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-3);
  margin-top: 8px;
  font-weight: 700;
}
.lang-opt.is-on { background: var(--grad); }
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-safe) + 12px);
  transform: translateX(-50%) translateY(20px);
  background: #fff;
  color: #111;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transition: .2s;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
html.is-leaving { cursor: wait; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.chip {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--glass);
  font-size: 12px;
  font-weight: 700;
}
.prov-logos {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 16px;
}
.prov-logos img { height: 28px; width: auto; filter: grayscale(1) brightness(2); opacity: .8; }
.prov-logos a:hover img { filter: none; opacity: 1; }
