:root {
  --bg: #13181f;
  --card: #1c2532;
  --line: rgba(255, 255, 255, 0.08);
  --text: #fff;
  --muted: #93acd3;
  --header: 64px;
  --font: "Figtree", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; appearance: none; -webkit-appearance: none; }
:focus-visible { outline: 2px solid #ff5a7a; outline-offset: 3px; }
section[id] { scroll-margin-top: 80px; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #ff0036;
  color: white;
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(19, 24, 31, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-inner {
  height: 100%;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand img { height: 32px; width: auto; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover { color: white; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.age-mark { width: 32px; height: 32px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #1c2532;
  color: white;
  cursor: pointer;
  place-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(105deg, #ff2b44 0%, #ff0036 100%);
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.06); }
.btn-l { min-height: 52px; padding: 0 22px; font-size: 16px; }

.hero { padding: 36px 0 12px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  gap: 24px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.pill {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #e7eefb;
  font-size: 13px;
  font-weight: 600;
}
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
.sub {
  margin: 12px 0 22px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}
.fine { margin: 14px 0 0; color: #7e8da8; font-size: 13px; max-width: 46ch; }
.hero-art { display: flex; justify-content: flex-end; }
.hero-art img { width: min(100%, 560px); height: auto; }

.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 28px 0 8px;
}
.feat {
  background: var(--card);
  border-radius: 16px;
  padding: 18px 18px 20px;
}
.feat img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 10px; }
.feat h2 { font-size: 18px; margin-bottom: 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; }

.welcome { padding: 36px 0; }
.welcome-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
  background:
    radial-gradient(420px 220px at 80% 40%, rgba(255, 0, 54, 0.18), transparent 70%),
    var(--card);
  border-radius: 20px;
  padding: 28px 28px 20px 36px;
  overflow: hidden;
}
.welcome-card h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.05; max-width: 12ch; }
.welcome-card p { margin: 12px 0 20px; color: var(--muted); max-width: 42ch; }
.welcome-card img { width: min(100%, 460px); margin-left: auto; }

.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-bottom: 12px;
}
.cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 148px;
  padding: 18px 8px 18px 20px;
  background: var(--card);
  border-radius: 16px;
}
.cat h3 { font-size: 22px; margin-bottom: 6px; }
.cat p { margin: 0; color: var(--muted); font-size: 14px; }
.cat img { width: 108px; height: 104px; object-fit: contain; flex: none; }
.cat-earn img { width: 88px; height: 88px; }

.section { padding: 36px 0; }
.section h2 { font-size: 22px; margin-bottom: 14px; }
.games {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.game {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.game img { width: 100%; height: auto; border-radius: 12px; }
.game:hover { transform: translateY(-3px); }

.pays { padding: 8px 0 28px; }
.pays p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pay-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pay-row img {
  height: 36px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #ff4d6a; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); max-width: 70ch; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.foot-logo { height: 28px; width: auto; margin-bottom: 10px; }
.site-footer p { margin: 0; max-width: 68ch; }
.help-links { display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.help-links a { color: white; }

.dock {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(19, 24, 31, 0.96);
  border-top: 1px solid var(--line);
}
.dock .btn { width: 100%; }

.nav-drawer {
  display: none;
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 45;
  background: #13181f;
  padding: 8px 22px 24px;
  overflow: auto;
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block;
  font-size: 22px;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav-drawer .btn { width: 100%; margin-top: 16px; }

@media (max-width: 900px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid, .welcome-card, .feats, .cats, .footer-grid { grid-template-columns: 1fr; }
  .hero-art { justify-content: center; }
  .welcome-card { padding: 22px 18px 8px; }
  .welcome-card img { margin: 0 auto; }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dock { display: block; }
  .site-footer { padding-bottom: 96px; }
  .cat img { width: 84px; height: 80px; }
}
@media (max-width: 640px) {
  .wrap, .header-inner { width: min(1120px, calc(100% - 28px)); }
  .brand img { height: 26px; }
  .game:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
