:root {
  --bg: #0d1024;
  --bg-alt: #12163a;
  --panel: #1a1f4a;
  --line: rgba(255, 255, 255, 0.1);
  --ink: #f4f6ff;
  --muted: #aab1d8;
  --gold: #ffcc33;
  --gold-dark: #c99600;
  --green: #5ee36f;
  --purple: #9945ff;
  --teal: #14f195;
  --grad: linear-gradient(120deg, #b07bff 0%, #6f8bff 45%, #2ff3b0 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 600 17px/1.6 'Nunito', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: 'Lilita One', sans-serif; font-weight: 400; margin: 0; line-height: 1.05; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 400 20px 'Lilita One', sans-serif; letter-spacing: 0.4px; text-decoration: none;
  padding: 13px 26px; border-radius: 16px; border: 0; cursor: pointer;
  transition: transform 0.08s, box-shadow 0.08s, filter 0.15s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(4px); }
.btn.gold { background: var(--gold); color: #1d2433; box-shadow: 0 6px 0 var(--gold-dark); }
.btn.gold:active { box-shadow: 0 2px 0 var(--gold-dark); }
.btn.ghost { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); backdrop-filter: blur(6px); }
.btn.big { font-size: 24px; padding: 16px 32px; border-radius: 18px; }
.btn.small { font-size: 17px; padding: 9px 18px; border-radius: 13px; box-shadow: 0 4px 0 var(--gold-dark); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 14px max(20px, calc((100% - 1120px) / 2));
  background: rgba(13, 16, 36, 0.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { font: 400 30px/1 'Lilita One', sans-serif; text-decoration: none; letter-spacing: 0.5px; }
.brand.small { font-size: 24px; }
.crossy { color: var(--green); }
.sol { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--muted); text-decoration: none; font-weight: 800; font-size: 16px; }
.links a:hover { color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: #8fd3ff; }
#hero-canvas { position: absolute; inset: 0; display: block; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 16, 36, 0.86) 0%, rgba(13, 16, 36, 0.55) 38%, rgba(13, 16, 36, 0) 62%),
    linear-gradient(0deg, var(--bg) 0%, rgba(13, 16, 36, 0) 18%);
}
.hero-copy {
  position: relative; z-index: 1; height: 100%;
  width: min(1120px, 100% - 40px); margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding-top: 64px; max-width: 1120px;
}
.hero-copy > * { max-width: 560px; }
.eyebrow {
  align-self: flex-start; font-weight: 800; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero h1 { font-size: clamp(48px, 7vw, 88px); text-shadow: 0 6px 0 rgba(0, 0, 0, 0.25); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.25)); }
.hero p { font-size: 19px; color: #dfe3ff; margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.facts { list-style: none; display: flex; gap: 26px; padding: 0; margin: 8px 0 0; color: var(--muted); font-weight: 700; }
.facts b { color: #fff; font: 400 24px 'Lilita One', sans-serif; margin-right: 4px; }
.live-chip {
  position: absolute; right: max(20px, calc((100% - 1120px) / 2)); bottom: 34px; z-index: 1;
  display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: rgba(13, 16, 36, 0.75); backdrop-filter: blur(6px); font-weight: 800; font-size: 15px;
}
.live-chip b { font: 400 18px 'Lilita One', sans-serif; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.25); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section.alt { background: var(--bg-alt); }
.kicker { margin: 0 0 10px; font-weight: 900; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); }
.section h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 19px; margin: 0 0 34px; max-width: 620px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 30px 28px 32px; }
.step-num {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px;
  background: var(--grad); color: #0d1024; font: 400 28px 'Lilita One', sans-serif;
}
.step h3 { font-size: 32px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

.cast { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.hopper {
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 16px 10px 18px;
  text-align: center; transition: transform 0.15s, border-color 0.15s;
}
.hopper:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.3); }
.hopper img { width: 100%; max-width: 110px; aspect-ratio: 1; display: block; margin: 0 auto 6px; }
.hopper h3 { font-size: 21px; }
.price { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 900; font-size: 15px; color: var(--gold); }
.price.free { color: var(--green); }
.coin { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, #ffe27a 0 34%, #ffcc33 36% 100%); box-shadow: inset 0 -2px 0 #c99600; }

.board-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.board { list-style: none; margin: 0; padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; }
.board li { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; font-weight: 800; }
.board li:nth-child(odd):not(.empty) { background: rgba(255, 255, 255, 0.04); }
.board .rank { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 400 18px 'Lilita One', sans-serif; background: rgba(255, 255, 255, 0.08); }
.board li:nth-child(1) .rank { background: #ffcc33; color: #1d2433; }
.board li:nth-child(2) .rank { background: #d8dee6; color: #1d2433; }
.board li:nth-child(3) .rank { background: #e0a06a; color: #1d2433; }
.board .who { flex: 1; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; color: var(--muted); }
.board .best { font: 400 22px 'Lilita One', sans-serif; }
.board .best small { font: 700 13px 'Nunito', sans-serif; color: var(--muted); margin-left: 4px; }
.board .empty { justify-content: center; color: var(--muted); padding: 40px 16px; text-align: center; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 34px; }
.panel h3 { font-size: 32px; margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: var(--muted); }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center; font-size: 13px; font-weight: 900; color: #0d1024; background: var(--teal);
}

details { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; margin-top: 12px; }
summary { cursor: pointer; list-style: none; padding: 20px 24px; font: 400 22px 'Lilita One', sans-serif; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--teal); font-size: 28px; line-height: 0.8; }
details[open] summary::after { content: '–'; }
details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

.final { padding: 110px 0; text-align: center; background: radial-gradient(ellipse at 50% 100%, rgba(153, 69, 255, 0.35), transparent 60%), var(--bg-alt); }
.final h2 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 30px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 14px; }
.foot-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-row p { margin: 0; flex: 1; }
.foot-row a:last-child { font-weight: 800; }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .cast { grid-template-columns: repeat(4, 1fr); }
  .board-wrap { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .links { display: none; }
  .nav { justify-content: space-between; }
  .steps, .two { grid-template-columns: 1fr; }
  .cast { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 0; }
  .hero-shade { background: linear-gradient(0deg, rgba(13, 16, 36, 0.92) 0%, rgba(13, 16, 36, 0.6) 45%, rgba(13, 16, 36, 0.15) 75%); }
  .hero-copy { justify-content: flex-end; padding-bottom: 36px; gap: 12px; }
  .eyebrow { font-size: 11px; padding: 6px 11px; letter-spacing: 0.6px; }
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 15.5px; line-height: 1.5; }
  .cta-row { gap: 10px; }
  .btn.big { font-size: 18px; padding: 12px 18px; border-radius: 15px; }
  .live-chip { top: 76px; bottom: auto; right: 16px; font-size: 13px; padding: 7px 12px; }
  .facts { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
}
