:root {
  --th: 52px;
  --menu-w: 280px;
  --bg: #0c0f14;
  --bg2: #131720;
  --bg3: #1a1f2b;
  --bg4: #222938;
  --accent: #ffd21a;
  --accent-l: #ffe46b;
  --red: #e5383b;
  --red-l: #ff5c5f;
  --green: #22c55e;
  --bd: rgba(255,255,255,.07);
  --bd2: rgba(255,255,255,.12);
  --t1: #f0f2f5;
  --t2: #8b929d;
  --t3: #555d6b;
  --r: 12px;
  --r2: 8px;
  --tr: .2s ease;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--t1);
  overflow-x: hidden; font-size: 14px; line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto }
a { color: inherit; text-decoration: none }
button, input { font: inherit; border: 0; outline: 0; background: transparent; cursor: pointer }
ul { list-style: none }

.topbar {
  position: sticky; top: 0; z-index: 500; height: var(--th);
  background: rgba(19,23,32,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bd);
  display: flex; align-items: center; padding: 0 14px; gap: 10px;
}
.tb-burger {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: var(--r2);
  color: var(--t1); font-size: 13px; font-weight: 600;
  transition: background var(--tr); flex-shrink: 0;
}
.tb-burger:hover { background: rgba(255,255,255,.06) }
.tb-logo { display: flex; align-items: center; flex-shrink: 0 }
.tb-logo img { height: 32px; width: auto; object-fit: contain }
.tb-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px }
.tb-nav a {
  padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--t2);
  border-radius: var(--r2); transition: color var(--tr), background var(--tr);
}
.tb-nav a:hover { color: var(--t1); background: rgba(255,255,255,.05) }
.tb-nav .nav-item { display: inline-flex }
.tb-nav .nav-link {
  padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--t2);
  border-radius: var(--r2); gap: 0; background: none;
  transition: color var(--tr), background var(--tr);
}
.tb-nav .nav-link:hover { color: var(--t1); background: rgba(255,255,255,.05) }
.tb-nav .nav-link svg, .tb-nav .nav-link img { display: none }
.tb-auth { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0 }
.btn-login {
  padding: 0 14px; height: 34px; display: flex; align-items: center;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 700;
  border-radius: var(--r2); transition: background var(--tr);
}
.btn-login:hover { background: var(--red-l) }
.btn-reg {
  display: flex; align-items: center; height: 34px; padding: 0 16px;
  background: var(--accent); color: #111; font-weight: 700; font-size: 13px;
  border-radius: var(--r2); white-space: nowrap; transition: background var(--tr);
}
.btn-reg:hover { background: var(--accent-l) }

.menu-drawer {
  position: fixed; top: 0; left: 0;
  width: var(--menu-w); height: 100dvh;
  background: var(--bg2); z-index: 700;
  display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform var(--tr);
}
.menu-drawer.is-open { transform: translateX(0) }
.md-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; flex-shrink: 0; border-bottom: 1px solid var(--bd);
}
.md-title { font-size: 14px; font-weight: 700 }
.md-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r2); color: var(--t2);
  transition: color var(--tr), background var(--tr);
}
.md-close:hover { color: var(--t1); background: rgba(255,255,255,.06) }
.md-banner { padding: 10px 12px 4px; flex-shrink: 0 }
.md-banner a { display: block; border-radius: var(--r); overflow: hidden }
.md-banner img { width: 100%; height: auto; object-fit: cover; border-radius: var(--r) }
.md-body { flex: 1; overflow-y: auto; padding: 6px 0 }
.md-body::-webkit-scrollbar { width: 2px }
.md-body::-webkit-scrollbar-thumb { background: var(--bd); border-radius: 2px }
.md-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; color: var(--t2);
  font-size: 14px; font-weight: 500;
  transition: color var(--tr), background var(--tr);
}
.md-link:hover { color: var(--t1); background: rgba(255,255,255,.04) }
.md-ico { width: 20px; height: 20px; flex-shrink: 0 }

.nav-item { list-style: none }
.nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; color: var(--t2);
  font-size: 14px; font-weight: 500;
  transition: color var(--tr), background var(--tr);
}
.nav-link:hover { color: var(--t1); background: rgba(255,255,255,.04) }
.nav-link.active, .nav-link.is-active { color: var(--accent) }
.nav-link svg, .nav-link img { width: 20px; height: 20px; flex-shrink: 0 }

.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 690; backdrop-filter: blur(2px);
}
.overlay.is-open { display: block }

.scroll-section { padding: 10px 10px 0; position: relative }
.scroll-track {
  display: flex; gap: 8px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; cursor: grab; padding-bottom: 4px;
}
.scroll-track::-webkit-scrollbar { display: none }

.scroll-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 8px 0 2px;
}
.scroll-arr {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--bd2);
  color: var(--t2);
  display: flex; align-items: center; justify-content: center;
  transition: color var(--tr), background var(--tr), border-color var(--tr);
}
.scroll-arr:hover { color: #111; background: var(--accent); border-color: var(--accent) }

.promo-card {
  flex-shrink: 0; width: 400px;
  aspect-ratio: 2/1; border-radius: var(--r); overflow: hidden;
  background: var(--bg3); scroll-snap-align: start;
  transition: transform var(--tr);
}
.promo-card:hover { transform: scale(1.02) }
.promo-card img { width: 100%; height: 100%;}

.hero-banner { margin: 10px auto 0; max-width: 1500px;}
.hero-link {
  display: block; position: relative;
  border-radius: var(--r); overflow: hidden;
  height: clamp(140px, 22vw, 260px); background: var(--bg3);
}
.hero-bg { position: absolute; inset: 0 }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center }
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 24px 32px;
  background: linear-gradient(90deg, rgba(12,15,20,.88) 0%, rgba(12,15,20,.5) 55%, transparent 100%);
}
.hero-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent); margin-bottom: 4px;
}
.hero-amount {
  font-size: clamp(22px, 4vw, 42px); font-weight: 800;
  color: var(--t1); line-height: 1.1; margin-bottom: 4px;
}
.hero-amount span { color: var(--accent) }
.hero-note { font-size: clamp(11px, 1.2vw, 14px); color: var(--t2); margin-bottom: 12px }
.hero-cta {
  display: inline-flex; align-items: center;
  padding: 8px 20px; width: fit-content;
  background: var(--red); color: #fff;
  font-weight: 700; font-size: 12px; border-radius: var(--r2);
  transition: background var(--tr);
}
.hero-link:hover .hero-cta { background: var(--red-l) }

.games { padding: 14px 10px 0 }
.games-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px }
.games-title { font-size: 14px; font-weight: 700 }
.games-all { font-size: 12px; color: var(--t2); font-weight: 500; transition: color var(--tr) }
.games-all:hover { color: var(--accent) }

.gc {
  flex-shrink: 0; position: relative;
  width: clamp(100px, 13vw, 140px);
  scroll-snap-align: start;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.gc.is-visible { opacity: 1; transform: none }
.gc-link { display: block; position: relative }
.gc-img {
  aspect-ratio: 3/4; border-radius: var(--r2);
  overflow: hidden; background: var(--bg3);
}
.gc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease }
.gc:hover .gc-img img { transform: scale(1.05) }
.gc-hover {
  position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 3/4;
  background: rgba(12,15,20,.75);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r2); opacity: 0; transition: opacity var(--tr);
}
.gc:hover .gc-hover { opacity: 1 }
.gc-play {
  padding: 5px 12px; background: var(--red); color: #fff;
  font-weight: 700; font-size: 10px; border-radius: 20px;
}
.gc-name {
  font-size: 10px; color: var(--t2); margin-top: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: center; transition: color var(--tr);
}
.gc:hover .gc-name { color: var(--t1) }
.gc-badge {
  position: absolute; top: 4px; left: 4px; z-index: 5;
  padding: 2px 5px; border-radius: 4px;
  font-size: 8px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.gc-badge--new { background: var(--accent); color: #111 }
.gc-badge--hot { background: var(--red); color: #fff }
.gc-badge--excl { background: var(--green); color: #fff }

.content-section { display: flex; justify-content: center; padding: 20px 14px 32px }
.content-inner { width: 100%; max-width: 1200px }
.content-inner h1 { font-size: clamp(17px, 2.4vw, 24px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px }
.content-inner h2 { font-size: 16px; font-weight: 700; margin: 24px 0 10px; padding-bottom: 7px; border-bottom: 1px solid var(--bd) }
.content-inner h3 { font-size: 14px; font-weight: 600; color: var(--accent); margin: 18px 0 6px }
.content-inner p { font-size: 13px; line-height: 1.75; color: var(--t2); margin-bottom: 12px }
.content-inner ul, .content-inner ol { margin: 0 0 12px 18px }
.content-inner li { font-size: 13px; line-height: 1.7; color: var(--t2); margin-bottom: 3px }
.content-inner ul li { list-style: disc }
.content-inner ol li { list-style: decimal }
.content-inner a { color: var(--accent) }
.content-inner a:hover { color: var(--accent-l) }
.content-inner blockquote {
  margin: 14px 0; padding: 12px 16px;
  background: rgba(255,210,26,.06); border-left: 3px solid var(--accent);
  border-radius: 0 var(--r2) var(--r2) 0; font-size: 13px; color: var(--t2);
}
.content-inner img { border-radius: var(--r2); margin: 14px auto; display: block; width: 100%; height: auto }
.content-inner img[style] { margin: 14px auto; border-radius: var(--r2); height: auto; display: block }

.tw {
  width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 14px 0; scrollbar-width: thin; scrollbar-color: var(--bd) transparent; border-radius: var(--r2);
}
.tw::-webkit-scrollbar { height: 4px }
.tw::-webkit-scrollbar-thumb { background: var(--bd); border-radius: 4px }
.content-inner table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 12px }
.content-inner thead th {
  background: var(--bg3); color: var(--t2); font-weight: 700;
  text-transform: uppercase; font-size: 10px; letter-spacing: .07em;
  padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--bd); white-space: nowrap;
}
.content-inner tbody td { padding: 9px 12px; border-bottom: 1px solid var(--bd); color: var(--t2); vertical-align: top }
.content-inner tbody tr:hover td { background: rgba(255,255,255,.03); color: var(--t1) }
.content-inner tbody td:first-child { color: var(--t1); font-weight: 500 }

.pag { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 18px }
.pag a, .pag span {
  display: flex; align-items: center; justify-content: center;
  min-width: 30px; height: 30px; padding: 0 8px;
  border-radius: var(--r2); font-size: 12px; font-weight: 600;
  background: var(--bg3); border: 1px solid var(--bd); color: var(--t2);
  transition: all var(--tr);
}
.pag a:hover { color: var(--t1); border-color: var(--accent) }
.pag .active { background: var(--accent); border-color: var(--accent); color: #111 }

.footer {
  background: var(--bg2); border-top: 1px solid var(--bd);
  padding: 28px 14px 16px; margin-top: auto;
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 900px; margin: 0 auto 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--bd);
}
.footer-logo img { height: 28px; width: auto; opacity: .7; transition: opacity var(--tr) }
.footer-logo:hover img { opacity: 1 }
.footer-socials { display: flex; gap: 10px }
.footer-socials a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg3); color: var(--t2);
  transition: color var(--tr), background var(--tr);
}
.footer-socials a:hover { color: var(--accent); background: rgba(255,210,26,.1) }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 900px; margin: 0 auto 20px;
}
.footer-col h4 {
  font-size: 13px; font-weight: 700; color: var(--t1);
  margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--bd);
}
.footer-col a {
  display: block; font-size: 13px; color: var(--t2);
  padding: 4px 0 4px 12px; margin-bottom: 2px;
  border-left: 2px solid transparent;
  transition: color var(--tr), border-color var(--tr);
}
.footer-col a:hover { color: var(--accent); border-left-color: var(--accent) }
.footer-cms-links {
  max-width: 900px; margin: 0 auto 16px;
  padding-top: 12px; border-top: 1px solid var(--bd);
  display: flex; flex-wrap: wrap;
}
.footer-cms-links .nav-item { flex: 0 0 auto }
.footer-cms-links .nav-link {
  display: inline-flex; padding: 5px 14px;
  font-size: 12px; color: var(--t3);
  border-left: 1px solid var(--bd); border-radius: 0; background: none;
}
.footer-cms-links .nav-item:first-child .nav-link { border-left: none }
.footer-cms-links .nav-link:hover { color: var(--accent); background: none }
.footer-payments {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; max-width: 900px; margin: 0 auto 16px;
  padding: 12px 0; border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd);
}
.footer-payments img { height: 20px; width: auto; opacity: .4; transition: opacity var(--tr) }
.footer-payments img:hover { opacity: .8 }
.footer-hr { display: none }
.footer-bottom {
  max-width: 900px; margin: 0 auto; text-align: center; position: relative;
}
.footer-disc { font-size: 11px; color: var(--t3); line-height: 1.6; margin-bottom: 6px }
.footer-copy { font-size: 11px; color: var(--t3) }
.footer-age {
  position: absolute; right: -31; top: 0;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 2px solid var(--red); border-radius: 50%;
  font-size: 12px; font-weight: 800; color: var(--red);
}

@media (max-width: 960px) {
  .tb-nav { display: none }
}

@media (max-width: 700px) {
  .topbar { padding: 0 10px; gap: 6px }
  .tb-logo img { height: 28px }
  .tb-auth { gap: 6px }
  .btn-login { padding: 0 10px; font-size: 12px; height: 32px }
  .btn-reg { padding: 0 12px; font-size: 12px; height: 32px }
  .scroll-section { padding: 8px 6px 0 }
  .promo-card { width: clamp(260px, 70vw, 380px) }
  .hero-banner { margin: 8px 6px 0 }
  .hero-link { height: clamp(130px, 36vw, 200px) }
  .hero-content { padding: 16px 20px }
  .games { padding: 12px 6px 0 }
  .gc { width: clamp(90px, 26vw, 120px) }
  .footer-cols { grid-template-columns: 1fr; gap: 14px }
  .footer-top { flex-direction: column; gap: 12px; text-align: center }
  .footer-payments { flex-wrap: wrap; gap: 12px }
  .footer-age { position: static; margin: 10px auto 0 }
  .content-section { padding: 14px 10px 24px }
}

@media (max-width: 480px) {
  .btn-login { display: none }
  .btn-reg { padding: 0 10px; font-size: 11px; height: 30px }
  .tb-logo img { height: 26px }
  .tb-burger span { display: none }
  .promo-card { width: clamp(220px, 80vw, 360px) }
  .gc { width: clamp(80px, 28vw, 105px) }
  .hero-amount { font-size: 20px }
  .scroll-arr { width: 28px; height: 28px }
}