:root {
  --bg: #0a0d14;
  --surface: #111622;
  --slot: #161c2b;
  --cyan: #00e5ff;
  --cyan-hover: #00b0ff;
  --magenta: #d500f9;
  --magenta-hover: #aa00ff;
  --gold: #ffb300;
  --text: #ffffff;
  --muted: #8e9cb2;
  --border: rgba(0, 229, 255, 0.12);
  --header-h: 64px;
  --header-h-m: 54px;
  --tabbar-h: 68px;
  --radius: 14px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  --font: "Inter", "Segoe UI", sans-serif;
  --display: "Montserrat", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--cyan);
  color: #041016;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background-color 180ms ease-out, border-color 180ms ease-out, transform 120ms ease-out;
}
.btn:focus-visible, .chip:focus-visible, .nav a:focus-visible, .icon-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(180deg, var(--cyan) 0%, #00c6e0 100%);
  color: #041016;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.28);
}
.btn-primary:hover { background: var(--cyan-hover); color: #041016; }
.btn-ghost {
  background: transparent;
  border-color: rgba(0, 229, 255, 0.55);
  color: var(--cyan);
}
.btn-ghost:hover { background: rgba(0, 229, 255, 0.08); }
.btn-magenta {
  background: linear-gradient(180deg, var(--magenta), #9c00c7);
  color: #fff;
  box-shadow: 0 0 22px rgba(213, 0, 249, 0.28);
}
.btn-magenta:hover { background: var(--magenta-hover); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(10, 13, 20, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 18px;
}
.logo-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}
.nav {
  display: flex;
  gap: 18px;
  justify-content: center;
}
.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.search {
  position: relative;
  width: 220px;
}
.search input {
  width: 100%;
  height: 42px;
  background: var(--slot);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 12px 0 36px;
}
.search svg {
  position: absolute;
  left: 10px;
  top: 11px;
  color: var(--muted);
}
.header-cta { display: flex; gap: 8px; }
.m-auth { display: none; }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.header-cta-mobile { gap: 4px; align-items: center; flex-wrap: nowrap; white-space: nowrap; }
.header-cta-mobile .btn { min-height: 36px; padding: 0 8px; font-size: 11px; flex: 0 0 auto; }
.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-h-m) 0 auto 0;
  background: #0d121c;
  border-bottom: 1px solid var(--border);
  z-index: 39;
  padding: 12px 16px 18px;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer a {
  display: block;
  min-height: 44px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 520px;
  isolation: isolate;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,13,20,0.94) 0%, rgba(10,13,20,0.78) 42%, rgba(10,13,20,0.18) 100%);
  z-index: -1;
}
.hero-copy {
  padding: 56px 0 72px;
  max-width: 640px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22e389;
  box-shadow: 0 0 10px #22e389;
}
h1, .h1 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 800;
}
.hero-offer {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
}
.status-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.28);
  color: var(--cyan);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.micro {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0;
}

.livebar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  background: #0c111c;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.ticker {
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: inline-flex;
  gap: 28px;
  animation: marquee 28s linear infinite;
}
.ticker-item { color: var(--muted); font-size: 14px; }
.ticker-item b { color: var(--gold); }
.jackpot {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--slot);
  border: 1px solid rgba(255, 179, 0, 0.35);
  border-radius: 12px;
  padding: 8px 14px;
  min-height: 48px;
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
}
.jackpot span { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 56px 0; }
.section h2 {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 8px;
}
.lead { color: var(--muted); margin: 0 0 24px; max-width: 720px; }

.filters { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.chip.is-active, .chip:hover {
  color: #041016;
  background: var(--cyan);
  border-color: var(--cyan);
}
.provider-select {
  min-height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 12px;
  min-width: 180px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.game-card {
  position: relative;
  display: block;
  background: var(--slot);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}
.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 6px;
}
.badge-hot { background: var(--magenta); }
.badge-new { background: var(--cyan); color: #041016; }
.badge-jackpot { background: var(--gold); color: #2a1a00; }
.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 14, 0.72);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px;
  opacity: 0;
  transition: opacity 160ms ease-out;
}
.game-card:hover .game-overlay, .game-card:focus-within .game-overlay { opacity: 1; }
.game-title {
  font-weight: 700;
  font-size: 13px;
  margin: 0;
}
.game-actions { display: flex; gap: 8px; }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.promo-card {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 220px;
  aspect-ratio: 16 / 9;
}
.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.promo-card .promo-body {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 20%, rgba(8,10,16,0.88));
}
.promo-card h3 { margin: 0 0 8px; font-size: 18px; }
.section-link { color: var(--cyan); font-weight: 600; }

.vip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.vip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.vip-card h3 { margin: 0 0 8px; }
.vip-card.supreme { border-color: rgba(255, 179, 0, 0.45); }
.vip-art {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 18px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.pay-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.pay-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}
.pay-ok { color: #7dffa6; border-color: rgba(125, 255, 166, 0.3); }

.seo-hub h2 { margin-top: 28px; }
.seo-hub h3 { margin-top: 18px; color: var(--cyan); font-size: 18px; }
.seo-hub p { color: #c9d4e4; }
.seo-hub.is-collapsed .seo-extra { display: none; }
.seo-toggle { display: none; margin-top: 12px; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: var(--surface);
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--border);
}
th { color: var(--cyan); width: 38%; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 16px;
  margin-bottom: 10px;
}
.faq summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
}
.faq p { color: var(--muted); }

.site-footer {
  background: #080b12;
  border-top: 1px solid var(--border);
  padding: 36px 0 110px;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a:hover { color: var(--cyan); }
.age {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border: 2px solid #ff5a7a;
  color: #ff5a7a;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  height: var(--tabbar-h);
  background: rgba(12, 16, 26, 0.96);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
  overflow: visible;
}
.tabbar a.accent {
  color: #041016;
  background: var(--cyan);
  margin: 8px 6px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 800;
  padding: 0 4px;
}
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  color: var(--muted);
  min-height: 48px;
  min-width: 0;
  flex: 1 1 0;
  padding: 0 2px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}
.tabbar a.accent { color: #041016; background: var(--cyan); margin: 6px 4px; border-radius: 10px; font-size: 10px; font-weight: 800; padding: 0 4px; }

.page-hero {
  padding: 36px 0 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.form-grid { display: grid; gap: 12px; }
label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 6px; }
.field {
  width: 100%;
  min-height: 48px;
  background: var(--slot);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 14px;
}
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bonus-pick { display: grid; gap: 10px; }
.bonus-opt {
  border: 1px solid var(--border);
  background: var(--slot);
  border-radius: 12px;
  padding: 14px;
  text-align: left;
  min-height: 64px;
}
.bonus-opt.is-on { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan) inset; }
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 1100px) {
  .game-grid { grid-template-columns: repeat(4, 1fr); }
  .nav { display: none; }
}
@media (max-width: 900px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-grid, .vip-grid, .footer-grid, .split, .steps, .bonus-cards { grid-template-columns: 1fr; }
  .livebar { grid-template-columns: 1fr; }
  .search { display: none; }
  .search.is-open {
    display: block;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 58px;
    width: auto;
    z-index: 41;
  }
}
@media (max-width: 767px) {
  .livebar .container { grid-template-columns: 1fr !important; }
  .jackpot { justify-content: space-between; white-space: normal; }
  .site-header { height: var(--header-h-m); }
  .site-header .container {
    width: 100%;
    max-width: none;
    padding: 0 10px;
  }
  .header-inner { grid-template-columns: 40px 1fr auto auto; }
  .burger { display: inline-flex; }
  .m-auth { display: inline-flex !important; min-height: 36px; padding: 0 8px; font-size: 11px; }
  .header-cta, .search, .nav { display: none; }
  .search.is-open {
    display: block;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 54px;
    width: auto;
    z-index: 41;
  }
  .logo { justify-content: center; font-size: 0; gap: 0; }
  .logo-mark { width: 26px; height: 26px; }
  .hero { min-height: auto; }
  .hero-copy { padding: 28px 0 36px; text-align: center; max-width: none; }
  .hero::after {
    background: linear-gradient(180deg, rgba(10,13,20,0.55) 0%, rgba(10,13,20,0.92) 70%);
  }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; height: 48px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tabbar { display: flex !important; flex-wrap: nowrap; }
  .seo-toggle { display: inline-flex; }
  .seo-hub.is-collapsed .seo-extra { display: none; }
  .game-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 8, 14, 0.88));
  }
  .game-actions { display: none; }
  .vip-art { margin-bottom: 12px; }
}
@media (max-width: 420px) {
  .logo { font-size: 0; gap: 0; }
  .logo-mark { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
