*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  background: #07060c;
  color: #ece8f4;
  min-height: 100dvh;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:root {
  --gold: #f6c945;
  --gold-2: #ffb020;
  --rose: #ff4d7a;
  --mint: #3ee0b2;
  --ink: #0b0914;
  --card: #161222;
  --line: rgba(255,255,255,.1);
  --soft: rgba(255,255,255,.68);
}

body {
  background:
    radial-gradient(900px 480px at 50% -8%, #2a1848 0%, transparent 58%),
    radial-gradient(520px 320px at 90% 20%, rgba(255,77,122,.18), transparent 60%),
    #07060c;
}

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

/* ===== TOP ===== */
.topbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7,6,12,.82);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; height: auto; gap: 12px; padding: 8px 0;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.brand img { height: 36px; width: auto; max-width: 100%; }
.brand-sub { font-size: 11px; color: var(--soft); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.age-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 28px; padding: 0 8px; border-radius: 8px;
  background: #1a0b10; color: var(--rose); font-weight: 900; font-size: 13px;
  border: 1px solid rgba(255,77,122,.45);
}
.top-actions { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 800; font-size: 14px;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.22); }
.btn-gold {
  background: linear-gradient(180deg, #ffe27a, #f0a11a);
  color: #1a1204;
  box-shadow: 0 8px 24px rgba(240,161,26,.28);
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  padding: 36px 0 20px;
}
.kicker {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--gold); }
.lead { color: var(--soft); font-size: 17px; max-width: 52ch; margin-bottom: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; color: #d9d4e8;
}

/* steps outside phone */
.flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 22px;
}
.flow-item {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  position: relative;
}
.flow-item.is-on { border-color: rgba(246,201,69,.55); box-shadow: 0 0 0 1px rgba(246,201,69,.2) inset; }
.flow-n {
  width: 24px; height: 24px; border-radius: 50%;
  background: #2a2438; color: #fff; font-weight: 900; font-size: 12px;
  display: grid; place-items: center; margin-bottom: 8px;
}
.flow-item.is-on .flow-n { background: var(--gold); color: #1a1204; }
.flow-item p { font-size: 12px; color: var(--soft); font-weight: 700; }

/* ===== PHONE ===== */
.stage { position: relative; justify-self: center; width: 100%; max-width: 390px; }
.phone {
  width: 100%;
  background: #0c0a14;
  border-radius: 42px;
  border: 10px solid #17141f;
  box-shadow: 0 0 0 1px #3a3348, 0 30px 80px rgba(0,0,0,.55);
  overflow: hidden;
  position: relative;
  min-height: 720px;
}
.status {
  height: 34px; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 20px 0; font-size: 12px; font-weight: 800; position: relative;
}
.notch {
  position: absolute; left: 50%; top: 7px; transform: translateX(-50%);
  width: 108px; height: 12px; background: #000; border-radius: 0 0 12px 12px;
}
.app-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px 10px;
}
.app-head img { height: 28px; }
.app-head .mini { font-size: 11px; color: var(--mint); font-weight: 800; }

.screens { position: relative; min-height: 560px; }
.screen {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transform: translateX(24px);
  transition: opacity .35s, transform .35s;
  padding: 0 14px 80px;
}
.screen.is-active { opacity: 1; pointer-events: auto; transform: none; position: relative; }

.hint-bar {
  position: absolute; left: 14px; right: 14px; top: 78px; z-index: 8;
  background: rgba(10,8,16,.92);
  border: 1px solid rgba(246,201,69,.4);
  color: var(--gold);
  font-weight: 800; font-size: 13px;
  padding: 8px 12px; border-radius: 12px;
  display: flex; align-items: center; gap: 8px;
}
.hint-bar b { color: #fff; }

/* welcome */
.welcome-hero {
  margin-top: 118px;
  background: linear-gradient(160deg, #3a2048 0%, #1a1028 45%, #24101a 100%);
  border-radius: 22px;
  padding: 22px 18px 18px;
  position: relative;
  overflow: hidden;
  min-height: 210px;
}
.welcome-hero::after {
  content: "";
  position: absolute; right: -20px; top: -20px;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,201,69,.35), transparent 70%);
}
.bonus-num { font-size: 34px; font-weight: 900; color: var(--gold); line-height: 1; }
.welcome-hero p { margin-top: 6px; color: #f3e9ff; font-weight: 700; }
.welcome-hero small { display: block; margin-top: 8px; color: rgba(255,255,255,.65); font-size: 12px; }
.welcome-actions { display: grid; gap: 10px; margin-top: 16px; }
.btn-block { width: 100%; height: 48px; border-radius: 14px; font-weight: 800; }
.btn-reg {
  background: linear-gradient(180deg, #ffe27a, #f0a11a);
  color: #1a1204;
}
.btn-play { background: rgba(255,255,255,.08); border: 1px solid var(--line); }
.quick-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.qcard {
  aspect-ratio: 1;
  border-radius: 14px;
  background: #1c1730;
  display: grid; place-items: center;
  font-size: 28px;
  border: 1px solid var(--line);
}

/* form */
.form-card {
  margin-top: 108px;
  background: #14101f;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.form-card h2 { font-size: 18px; margin-bottom: 12px; }
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 11px; font-weight: 800; color: var(--soft); margin-bottom: 5px; letter-spacing: .04em; text-transform: uppercase; }
.field .box {
  height: 44px; border-radius: 12px; background: #0d0b16;
  border: 1px solid var(--line); padding: 0 12px;
  display: flex; align-items: center; font-weight: 700;
  color: #fff; min-height: 44px;
}
.field .box.is-on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246,201,69,.15); }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--soft); margin: 8px 0; }
.check i {
  width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--line);
  display: grid; place-items: center; flex: 0 0 18px; background: #0d0b16;
}
.check.is-done i { background: var(--mint); border-color: var(--mint); color: #06261c; font-weight: 900; font-style: normal; font-size: 12px; }
.check.is-done i::after { content: "✓"; }

/* lobby */
.lobby-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 108px; }
.game {
  border-radius: 16px; overflow: hidden; position: relative;
  min-height: 150px; display: flex; align-items: flex-end;
  padding: 12px; border: 1px solid var(--line);
}
.game b { font-size: 13px; }
.g1 { background: linear-gradient(160deg, #5b1d7a, #1d1030); }
.g2 { background: linear-gradient(160deg, #7a4a12, #24140c); }
.g3 { background: linear-gradient(160deg, #145c4a, #0c1c18); }
.g4 { background: linear-gradient(160deg, #7a1d3a, #1c0c14); }
.game .sym { position: absolute; top: 16px; right: 12px; font-size: 36px; }

/* slot */
.slot-wrap { margin-top: 108px; }
.slot-machine {
  background: linear-gradient(180deg, #2a1a12, #140c10);
  border: 2px solid #f0a11a;
  border-radius: 20px;
  padding: 16px 12px 14px;
  box-shadow: inset 0 0 40px rgba(0,0,0,.4);
}
.reels {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  background: #09070e; border-radius: 14px; padding: 10px; overflow: hidden;
  height: 118px;
}
.reel {
  background: #16111f; border-radius: 10px; overflow: hidden; position: relative;
}
.reel-track {
  display: flex; flex-direction: column; align-items: center;
  animation: none;
}
.reel.is-spin .reel-track { animation: reelspin .28s linear infinite; }
.reel-track span {
  height: 98px; display: grid; place-items: center; font-size: 42px; font-weight: 900;
}
@keyframes reelspin { to { transform: translateY(-294px); } }
.slot-meta { display: flex; justify-content: space-between; margin: 12px 2px 10px; font-weight: 800; font-size: 13px; }
.spin-btn {
  width: 100%; height: 52px; border-radius: 16px;
  background: linear-gradient(180deg, #ff6b8a, #e11d48);
  color: #fff; font-weight: 900; letter-spacing: .04em;
}
.win-banner {
  margin-top: 12px; border-radius: 16px; padding: 14px;
  background: linear-gradient(135deg, rgba(246,201,69,.18), rgba(62,224,178,.12));
  border: 1px solid rgba(246,201,69,.45);
  text-align: center;
  opacity: 0; transform: scale(.94);
  transition: .35s;
}
.win-banner.show { opacity: 1; transform: none; }
.win-banner strong { display: block; font-size: 26px; color: var(--gold); }
.cashout {
  margin-top: 10px; width: 100%; height: 46px; border-radius: 14px;
  background: linear-gradient(180deg, #ffe27a, #f0a11a); color: #1a1204; font-weight: 900;
}

/* pulse / tap */
.hot {
  position: relative; z-index: 6;
  box-shadow: 0 0 0 0 rgba(246,201,69,.7);
  animation: hotpulse 1.15s ease-out infinite;
}
@keyframes hotpulse {
  0% { box-shadow: 0 0 0 0 rgba(246,201,69,.55); }
  70% { box-shadow: 0 0 0 14px rgba(246,201,69,0); }
  100% { box-shadow: 0 0 0 0 rgba(246,201,69,0); }
}
.finger {
  position: absolute; z-index: 20; width: 72px; height: 72px;
  pointer-events: none; opacity: 0;
  transition: left .55s cubic-bezier(.2,.8,.2,1), top .55s cubic-bezier(.2,.8,.2,1), opacity .2s;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.45));
  transform: rotate(-18deg);
}
.finger.is-on { opacity: 1; }
.finger.is-tap { animation: tap 0.28s ease; }
@keyframes tap {
  0% { transform: rotate(-18deg) scale(1); }
  50% { transform: rotate(-18deg) scale(.82) translateY(8px); }
  100% { transform: rotate(-18deg) scale(1); }
}
.finger svg { width: 72px; height: 72px; }

.coins { pointer-events: none; position: absolute; inset: 0; overflow: hidden; }
.coin {
  position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff6c4, #f0a11a);
  animation: fall 1.6s linear infinite;
  opacity: 0;
}
.coins.on .coin { opacity: 1; }
@keyframes fall {
  0% { transform: translateY(-20px) rotate(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(640px) rotate(220deg); opacity: 0; }
}

.home-bar {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: 118px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.28);
}

.nav-app {
  position: absolute; left: 0; right: 0; bottom: 14px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 8px 10px;
  background: linear-gradient(#161222, #100e18);
  border-top: 1px solid var(--line);
}
.nav-app span { text-align: center; font-size: 10px; font-weight: 800; color: #b9b3c9; }
.nav-app b { display: block; font-size: 16px; margin-bottom: 2px; }

/* ===== CONTENT ===== */
.panel {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px;
  margin: 28px 0;
}
.panel h2 { font-size: 26px; letter-spacing: -.02em; margin: 8px 0 12px; }
.panel h3 { font-size: 18px; margin: 22px 0 8px; }
.panel p, .panel li { color: #d5d0e2; margin-bottom: 10px; }
.panel ol, .panel ul { padding-left: 18px; }
.panel ol li, .panel ul li { margin-bottom: 8px; }
.panel ol { list-style: decimal; }
.panel ul { list-style: disc; }
.toc { background: #120f1c; border-radius: 14px; padding: 14px 16px; margin: 16px 0; }
.toc a { color: var(--gold); font-weight: 700; }
.table-wrap { overflow-x: auto; margin: 12px 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
th { background: #1a1626; }
.callout {
  background: rgba(246,201,69,.08); border-left: 3px solid var(--gold);
  padding: 12px 14px; border-radius: 0 12px 12px 0; margin: 14px 0;
}
.updated { font-size: 12px; color: #9b95aa; margin-bottom: 8px; }

.legal-strip {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px;
  background: #12080e; border: 1px solid rgba(255,77,122,.28);
  border-radius: 18px; padding: 18px; margin: 18px 0 8px;
}
.legal-strip .plus {
  width: 64px; height: 64px; border-radius: 16px;
  background: #2a1018; color: var(--rose); display: grid; place-items: center;
  font-weight: 900; font-size: 22px; border: 1px solid rgba(255,77,122,.4);
}

.pay-row, .prov-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px;
}
.pay-row img, .prov-row img { height: 28px; width: auto; filter: brightness(1.1); }
.pay-chip, .prov-chip {
  background: #161222; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 10px; display: grid; place-items: center; min-height: 44px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 120px;
  color: #b7b1c6; font-size: 13px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 14px 0; }
.footer-links a { color: var(--gold); font-weight: 700; }
.gcb {
  display: inline-block; background: #1a7c3a; color: #fff; border-radius: 10px;
  padding: 8px 12px; text-align: center; font-weight: 900;
}
.gcb small { display: block; font-size: 9px; font-weight: 600; opacity: .75; }

/* cookies */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  background: #16111f; border: 1px solid rgba(246,201,69,.35);
  border-radius: 18px; padding: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  max-width: 720px; margin: 0 auto;
}
.cookie.is-hidden { display: none; }
.cookie h2 { font-size: 16px; margin-bottom: 6px; }
.cookie p { font-size: 13px; color: var(--soft); margin-bottom: 12px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { height: 40px; font-size: 13px; }
.cookie-set { margin-top: 10px; display: none; }
.cookie-set.open { display: block; }
.sw { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.sw input { accent-color: var(--gold); }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 18px; }
  .stage { order: -1; }
  .flow { grid-template-columns: 1fr 1fr; }
  .brand-sub { display: none; }
  .brand img { height: 32px; }
  .top-actions { gap: 6px; }
  .top-actions .btn { height: 36px; padding: 0 12px; font-size: 12px; white-space: nowrap; }
}
@media (max-width: 480px) {
  body { background: #07060c; }
  .phone { border-width: 8px; border-radius: 32px; min-height: 680px; }
  .wrap { width: min(1120px, calc(100% - 16px)); }
  .topbar-inner {
    flex-wrap: wrap;
    min-height: 52px;
    padding: 8px 0;
    gap: 8px;
  }
  .brand { flex: 1 1 auto; max-width: calc(100% - 48px); }
  .brand img { height: 28px; }
  .age-pill { min-width: 34px; height: 28px; font-size: 12px; padding: 0 6px; }
  .top-actions {
    flex: 1 1 100%;
    justify-content: flex-end;
    gap: 6px;
  }
  .top-actions .btn { height: 34px; padding: 0 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hot, .reel.is-spin .reel-track, .finger, .screen, .coin { animation: none !important; transition: none !important; }
}
