:root {
  --bg: #0b0e12;
  --panel: #12161c;
  --panel-2: #171c23;
  --text: #e7eaee;
  --muted: #a8b0ba;
  --primary: #f5c542;
  --primary-2: #e1b12c;
  --accent: #1f2937;
  --card: #0f1318;
  --border: #1d2430;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: rgba(0,0,0,.3);
}
* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.topbar {
  background: linear-gradient(180deg, #0c1016 0%, #0b0e12 100%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}
.topbar-left, .topbar-right { display: flex; gap: 8px; align-items: center }
.lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}
.top-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  padding: 4px 8px;
}
.notice {
  background: #0e131a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.notice-text { display: inline-block; padding: 8px 0; color: var(--muted) }
.auth-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 8px }
.logo { display: block; height: 36px }
.auth-actions { display: flex; gap: 8px; align-items: center }
.auth-actions { margin-left: auto }
.btn {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--panel-2) }
.btn-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #111317;
  box-shadow: 0 6px 20px rgba(245, 197, 66, .2);
}
.btn-primary:hover { filter: brightness(1.05) }
.btn-small { padding: 8px 12px; font-size: 14px }
.btn-large { padding: 14px 22px; font-size: 18px }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 8px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
}
.main-nav {
  position: sticky;
  top: 96px;
  z-index: 29;
  background: rgba(11,14,18,.7);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}
.nav-list a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 6px;
  border-radius: 8px;
}
.nav-list a:hover, .nav-list a.active {
  color: var(--text);
  background: var(--panel-2);
}
.hero {
  position: relative;
  padding: 24px 0 8px;
  min-height: 420px;
}
.hero .hero-slide {
  position: absolute;
  inset: 24px 16px 8px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  background-image: var(--bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #0b0e12;
  overflow: hidden;
  transition: transform .6s ease;
}
.hero .hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,14,18,.85) 0%, rgba(11,14,18,.35) 55%, rgba(11,14,18,0) 100%);
}
.hero .hero-slide.current { transform: translateX(0) }
.hero-content {
  position: relative;
  padding: 32px 16px;
  max-width: 560px;
  z-index: 1;
}
.hero-content h1 { color: var(--text) }
.hero-content p { color: var(--muted) }
.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  display: flex;
  gap: 8px;
}
.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--panel);
  cursor: pointer;
}
.hero-dots .dot.current { background: var(--primary) }
.hero-ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.5);
  color: var(--text);
  cursor: pointer;
}
.hero-prev { left: 24px }
.hero-next { right: 24px }
.hero-simple .hero-inner { min-height: 420px }
.hero-banner {
  position: relative;
  inset: 0;
  display: grid;
  align-items: center;
  min-height: 420px;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background-image: var(--bg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #0b0e12;
  overflow: hidden;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,14,18,.85) 0%, rgba(11,14,18,.2) 60%);
}
.hero-inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(1200px 400px at 50% 0%, #1b2230 0%, #0b0e12 60%);
  border: 1px solid var(--border);
  min-height: 520px;
}
.slides { position: relative; height: 100% }
.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 32px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,14,18,.85) 0%, rgba(11,14,18,.2) 60%);
}
.slide.is-active { opacity: 1; transform: scale(1) }
.slide { background-image: var(--bg) }
.slide[data-fit="contain"] {
  background-size: contain;
  background-color: #0b0e12;
}
.slide-content {
  position: relative;
  max-width: 520px;
  padding: 16px;
}
.slide-content h1 {
  margin: 0 0 8px;
  font-size: 44px;
  line-height: 1.05;
}
.slide-content p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
}
.actions { display: flex; gap: 12px }
.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.ctrl {
  background: rgba(0,0,0,.5);
  color: var(--text);
  border: 1px solid var(--border);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
}
.dots { display: flex; gap: 8px }
.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--panel);
  cursor: pointer;
}
.dots button.active { background: var(--primary) }
.quick-links { padding: 18px 0 8px }
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
}
.tile img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  filter: saturate(1.2);
  transition: transform .3s ease;
}
.tile span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(0,0,0,.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-weight: 700;
}
.tile:hover img { transform: scale(1.06) }
.features { padding: 16px 0 }
.features-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.feat {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.feat-ico { font-size: 24px }
.feat-text h3 { margin: 0 0 4px; font-size: 18px }
.feat-text p { margin: 0; color: var(--muted) }
.cards { padding: 8px 0 32px }
.cards-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cards-header h2 { margin: 0 }
.link { color: var(--primary); text-decoration: none; font-weight: 700 }
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.card-body { padding: 12px }
.card-body h4 { margin: 0 0 4px }
.card-body p { margin: 0; color: var(--muted) }
.games { padding: 8px 0 24px }
.games-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.games-toolbar { display: flex; align-items: center; gap: 8px }
.games-toolbar select {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}
.games-pager button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.game-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.game-cover {
  width: 100%;
  height: 180px;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--panel);
}
.game-meta { display: none }
.game-title { font-weight: 700 }
.badge {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 6px;
}
.fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.4);
  color: var(--text);
  line-height: 30px;
  text-align: center;
  cursor: pointer;
}
.fav-btn[aria-pressed="true"] { background: var(--primary); color: #111317 }
.cta-strip {
  background: linear-gradient(180deg, #141a23 0%, #0b0e12 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-footer { padding: 28px 0 }
.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.footer-col h4 { margin: 0 0 8px }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px }
.footer-col a { text-decoration: none; color: var(--muted) }
.footer-col a:hover { color: var(--text) }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
}
.payments {
  background: #0e131a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.payments-bar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
}
.payments-viewport {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0c1218;
  padding: 8px;
}
.payments-track {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 6px 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.pay img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}
.pay img[src$=".svg"] { filter: invert(1) brightness(1.4) contrast(1.1) }
.pay-ctrl {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}
.site-footer {
  background: #0b0f15;
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding: 24px 0 16px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand.mark { margin-bottom: 8px }
.brand-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px }
.brand-links a { color: var(--muted); text-decoration: none }
.brand-links a:hover { color: var(--text) }
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.link-col h4 { margin: 0 0 8px }
.link-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px }
.link-col a { color: var(--muted); text-decoration: none }
.link-col a:hover { color: var(--text) }
.footer-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
}
.action-buttons { display: flex; gap: 8px }
.compliance { display: flex; align-items: center; gap: 10px }
.shield {
  width: 48px;
  height: 64px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #14202b 0%, #0f151c 100%);
  display: grid;
  place-items: center;
  color: var(--text);
}
.age {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  background: var(--panel);
  font-weight: 800;
}
.socials-row { display: flex; gap: 10px }
.socials-row a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.socials-row img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}
.footer-legal {
  padding-top: 12px;
  color: var(--muted);
  font-size: 12px;
  display: grid;
  gap: 8px;
}
.legal-meta { color: var(--muted) }
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 72px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  display: none;
}
.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
}
@media (max-width: 980px) {
  .nav-inner { min-height: 48px }
  .nav-list { display: none }
  .hamburger { display: flex }
  .tiles { grid-template-columns: repeat(2, 1fr) }
  .card-grid { grid-template-columns: repeat(2, 1fr) }
  .features-inner { grid-template-columns: 1fr }
  .footer-top { grid-template-columns: repeat(2, 1fr) }
  .slide-content h1 { font-size: 34px }
  .hero-inner { min-height: 380px }
  .hero { min-height: 360px; }
  .hero-banner, .hero-simple .hero-inner { min-height: 360px }
  .hero-banner, .hero-simple .hero-inner { min-height: 360px }
}
@media (max-width: 640px) {
  .auth-actions .btn-ghost { display: none }
  .tiles { grid-template-columns: 1fr 1fr }
  .card-grid { grid-template-columns: 1fr }
  .games-grid { grid-template-columns: 1fr 1fr }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 10px }
  .footer-top { grid-template-columns: 1fr }
  .footer-main { grid-template-columns: 1fr }
  .footer-actions { justify-items: start }
}
