:root{
  --brand: #33ff0a;
  --bg: #ffffff;
  --fg: #111827;
  --muted: #4b5563;
  --soft: #6b7280;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --border: #e5e7eb;
  --ring: color-mix(in srgb, var(--brand) 45%, transparent);
  --radius: 14px;
}

* { box-sizing: border-box }
html, body { margin:0; padding:0 }
html { scroll-behavior: smooth; background: var(--bg) }
body{
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans";
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}

a{ color: #0b8d00; text-decoration: none }
a:hover{ text-decoration: underline }

.container{ max-width: 1160px; margin: 0 auto; padding: 0 18px }

.topbar{
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.topbar[data-glass]{ background: color-mix(in srgb, #ffffff 85%, transparent); backdrop-filter: saturate(120%) blur(8px) }
.topbar .container{ display: flex; align-items: center; gap: 16px; padding: 12px 18px }
.brand img{ display:block; height: 28px; width: auto }

.nav{ margin-left: auto; display:flex; align-items:center; gap:16px }
.nav ul{ display:flex; gap:12px; list-style:none; margin:0; padding:0 }
.nav a{ color:#111827 }
.nav a:hover{ color:#000 }

.nav-cta{ display:flex; gap:8px }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius: 12px; border:1px solid transparent;
  font-weight: 700; letter-spacing:.2px; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:active{ transform: translateY(1px) }

.btn-primary{
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 75%, #7bff5b 25%));
  color:#000; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 25%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 45%, #99ff88 55%);
}
.btn-primary:hover{ box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 30%, transparent) }
.btn-ghost{
  background: var(--surface-2); color: #0b0b0b; border:1px solid var(--border);
}
.btn-ghost:hover{ background: color-mix(in srgb, var(--surface-2) 85%, #eef2f7 15%) }
.btn-line{
  padding:8px 12px; border:1px solid var(--brand); color:#0b8d00; background: transparent; border-radius:10px;
}
.btn-line:hover{ background: color-mix(in srgb, var(--brand) 10%, transparent) }

.burger{
  display:none; margin-left: auto; width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface); border:1px solid var(--border); cursor: pointer;
  align-items:center; justify-content:center; padding:0; position: relative;
}
.burger .line{
  position:absolute; left:50%; width: 22px; height: 2px; border-radius: 2px;
  background:#111; transform: translateX(-50%); transition: transform .22s ease, opacity .22s ease, background-color .22s ease;
  will-change: transform, opacity;
}
.burger .line:nth-child(1){ top: 12px }
.burger .line:nth-child(2){ top: 19px }
.burger .line:nth-child(3){ top: 26px }
.burger[aria-expanded="true"] .line:nth-child(1){ transform: translate(-50%,7px) rotate(45deg) }
.burger[aria-expanded="true"] .line:nth-child(2){ opacity: 0 }
.burger[aria-expanded="true"] .line:nth-child(3){ transform: translate(-50%,-7px) rotate(-45deg) }

.hero{
  position: relative;
  background: radial-gradient(900px 360px at 15% 10%, color-mix(in srgb, var(--brand) 22%, #ffffff 78%), transparent 60%);
  padding: 48px 0 32px; overflow: hidden;
}
.hero__inner{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items:center }
.title{ font-size: clamp(32px, 5vw, 64px); line-height: 1.05; margin:0 0 12px; letter-spacing:.2px }
.subtitle{ margin:0 0 16px; color: var(--muted) }
.actions{ display:flex; gap:10px; margin-bottom: 10px }
.ticks{ margin:10px 0 0; padding-left: 18px; color:#374151 }
.ticks li{ margin:4px 0 }

.hero__art{ position:relative; height: 320px }
.orb{ position:absolute; border-radius: 999px; filter: blur(24px); opacity:.35 }
.orb--lg{ width: 380px; height: 380px; right:-80px; top:-40px; background: color-mix(in srgb, var(--brand) 45%, #66ff59) }
.orb--sm{ width: 180px; height: 180px; right:120px; bottom:-20px; background: color-mix(in srgb, var(--brand) 40%, #baffaa) }

.hero__ball{
  position: absolute; right: 20px; bottom: -10px; width: 440px; height: auto;
  animation: ballFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.12));
}
@keyframes ballFloat{
  0%,100%{ transform: translateY(0) rotate(0deg) }
  50%{ transform: translateY(-10px) rotate(2deg) }
}

.features{ padding: 32px 0 }
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 14px }
.feature{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding:16px;
}
.feature .ico{ width:38px; height:38px; border-radius:10px; display:grid; place-items:center;
  background: color-mix(in srgb, var(--brand) 18%, #eaffea); margin-bottom:8px; color:#0b8d00 }
.feature h3{ margin:0 0 6px }
.feature p{ margin:0; color:#374151 }

.games{ padding: 12px 0 32px }
.row-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px }
.section-title{ margin:0; font-size: clamp(22px, 3vw, 32px) }

.grid-4{ display:grid; grid-template-columns: repeat(4,1fr); gap: 12px }
.card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover{ transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.08) }
.thumb{ display:block; background:#f3f4f6 }
.thumb img{ display:block; width:100%; height:auto; aspect-ratio: 16 / 9; object-fit: cover }
.meta{ display:grid; gap:6px; padding:10px 12px }
.card-title{ margin:0; font-weight:800 }
.prov{ color:#6b7280; font-size:.9rem }

.promo{ padding: 20px 0 36px }
.promo__box{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 12%, #ffffff), #f9fafb);
  border:1px solid var(--border); border-radius: var(--radius); padding: 14px 16px;
}
.promo__text{ margin:0; color:#1f2937 }

.faq{ padding: 18px 0 48px }
.qa{ background: var(--surface); border:1px solid var(--border); border-radius: 12px; padding: 10px 14px; margin:10px 0 }
.qa > summary{ cursor: pointer; font-weight:700; outline:none }
.qa > p{ margin:8px 0 0; color:#374151 }

.seo{ padding: 18px 0 48px }
.seo-lead{ font-size: 1.05rem; color:#1f2937 }
.seo-subtitle{ margin: 18px 0 8px }
.seo-list{ padding-left: 20px }
.seo-note{ margin-top: 12px; color:#374151 }
.table-wrap{ margin: 12px 0; overflow-x: auto; border:1px solid var(--border); border-radius: 12px }
.seo-table{ width:100%; border-collapse: collapse; font-variant-numeric: tabular-nums }
.seo-table thead th{ background:#f3f4f6; text-align:left; padding:10px 12px; border-bottom:1px solid var(--border) }
.seo-table tbody th, .seo-table tbody td{ padding:10px 12px; border-bottom:1px solid var(--border) }
.seo-table tbody tr:nth-child(even){ background:#fafafa }

.footer{ border-top:1px solid var(--border); background: var(--surface); margin-top:20px }
.footgrid{ display:flex; justify-content:space-between; align-items:flex-start; gap:14px; padding:16px 0 }
.foot-brand p{ margin:8px 0 0; color:#6b7280 }
.foot-nav{ display:flex; gap:12px; flex-wrap:wrap }
.foot-nav a{ color:#0b8d00 }
.foot-nav a:hover{ color:#000 }

.copy{
  border-top:1px solid var(--border);
  text-align:center; padding:12px 18px; color:#6b7280; font-size:.95rem;
}

.reveal{ opacity:0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease }
.reveal.is-visible{ opacity:1; transform:none }

a:focus-visible, button:focus-visible, .btn:focus-visible{
  outline: none; box-shadow: 0 0 0 3px var(--ring);
  border-radius: 12px;
}

@media (max-width: 900px){
  .burger{ display:inline-flex }

  .nav{
    position: fixed; top: 56px; right: 12px; left: 12px;
    display:none; flex-direction:column; gap:12px;
    background: var(--surface); border:1px solid var(--border); border-radius:12px;
    padding:12px; box-shadow: 0 20px 40px rgba(0,0,0,.08);
  }
  .nav.open{ display:grid }
  .nav ul{ flex-direction:column }
  .nav-cta{ display:grid; grid-template-columns: 1fr 1fr; gap:8px }

  .hero__inner{ grid-template-columns: 1fr }
  .hero__art{ height: 260px }
  .hero__ball{ right: 6px; width: 200px }

  .grid-3{ grid-template-columns: 1fr; gap:12px }
  .grid-4{ grid-template-columns: repeat(2,1fr); gap:10px }

  .footgrid{ flex-direction:column; gap:10px }
}

@media (max-width: 560px){
  .grid-4{ grid-template-columns: 1fr }
  .promo__box{ flex-direction:column; align-items:stretch }
}

@media (prefers-reduced-motion: reduce){
  .reveal{ transition: none; transform:none; opacity:1 }
  .btn{ transition: none }
  .hero__ball{ animation: none }
}

.error-404 {
  padding: 80px 0;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.error-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-size: clamp(80px, 15vw, 120px);
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 20px;
}

.error-title {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 16px;
  color: var(--fg);
}

.error-description {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Breadcrumbs */
.breadcrumb {
  background: var(--surface-2);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb ol {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--soft);
}

.breadcrumb a {
  color: var(--brand);
}

.breadcrumb a:hover {
  color: #0b8d00;
}

/* Responsive */
@media (max-width: 768px) {
  .error-404 {
    padding: 60px 0;
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .breadcrumb ol {
    font-size: 0.8rem;
  }
}

.site-header {
  background: color-mix(in srgb, #ffffff 85%, transparent);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.primary-nav .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
}

.actions {
  display: flex;
  gap: 8px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 20px 0;
}

.kv {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.kv thead th {
  background: var(--surface-2);
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}

.kv tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.kv tbody tr:nth-child(even) {
  background: var(--surface-2);
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.slot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slot:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.slot__img {
  display: block;
  position: relative;
  overflow: hidden;
}

.slot__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.slot__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--brand);
  color: #000;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.slot__body {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.slot__meta {
  flex: 1;
}

.slot__title {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.slot__provider {
  font-size: 0.9rem;
  color: var(--muted);
}

.slot__play {
  background: var(--brand);
  color: #000;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.section-faq {
  margin-top: 60px;
}

.wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.question {
  padding: 16px 20px;
  background: var(--surface-2);
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.item.active .answer {
  padding: 16px 20px;
  max-height: 200px;
}

.item.active .question::after {
  content: "-";
}

.mini {
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 8%, #ffffff), #f9fafb);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.mini__text {
  margin: 0;
  font-weight: 600;
}

.to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--brand);
  color: #000;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.to-top.visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .slots {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .mini {
    flex-direction: column;
    text-align: center;
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .search-form {
    flex-direction: column;
  }
  
  .primary-nav .menu {
    gap: 16px;
  }
}