:root {
  --bg: #07060f;
  --card: rgba(22, 20, 40, 0.66);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --text: #f3f1ff;
  --dim: #aba8c7;
  --faint: #6f6c8c;
  --violet: #8b7bff;
  --blue: #5b8cff;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --green: #34d399;
  --grad: linear-gradient(135deg, #8b7bff 0%, #5b8cff 50%, #22d3ee 100%);
  --grad-warm: linear-gradient(135deg, #f472b6 0%, #8b7bff 100%);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--sans);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 14px;
  font-weight: 600; font-size: 15.5px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05);
  transition: transform 0.12s, filter 0.2s, background 0.2s;
}
.btn:hover { background: rgba(255, 255, 255, 0.1); }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--grad); border: 0; color: #fff; box-shadow: 0 14px 40px -12px rgba(139, 123, 255, 0.9); }
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost { background: rgba(8, 8, 18, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 28px;
  padding: 16px clamp(16px, 4vw, 48px); transition: background 0.3s, border-color 0.3s, padding 0.3s; border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(7, 6, 15, 0.8); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--line); padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo b { display: block; font: 700 18px/1.1 var(--display); letter-spacing: -0.01em; }
.logo small { display: block; color: var(--dim); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--dim); font-size: 14.5px; font-weight: 500; transition: color 0.15s; }
.links a:hover { color: var(--text); }
@media (max-width: 860px) { .links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Hero ---------- */

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-stage { position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, #2a1447, #0b0718 60%, #05040b); }
.hero-stage canvas { position: absolute; inset: 0; display: block; }
.hero-stage .w-labels { display: none; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 6, 15, 0.96) 0%, rgba(7, 6, 15, 0.82) 38%, rgba(7, 6, 15, 0.2) 62%, rgba(7, 6, 15, 0) 78%), linear-gradient(0deg, var(--bg) 0%, rgba(7, 6, 15, 0) 35%);
}
.hero-copy { position: relative; z-index: 2; max-width: 660px; padding: 0 clamp(20px, 5vw, 64px) clamp(70px, 12vh, 130px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 100px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); font-size: 13px; color: var(--dim); backdrop-filter: blur(8px); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.hero h1 { font: 700 clamp(44px, 7vw, 92px)/0.98 var(--display); letter-spacing: -0.045em; margin: 22px 0 22px; }
.hero h1 span { background: linear-gradient(120deg, #f472b6, #8b7bff 45%, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(16px, 1.5vw, 19px); color: #cdcae6; max-width: 560px; margin: 0 0 30px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: var(--dim); font-size: 14px; }
.proof b { color: var(--text); font-family: var(--display); margin-right: 4px; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 26px; height: 42px; border-radius: 14px; border: 2px solid var(--line-2); transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--dim); animation: wheel 1.6s infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } }
@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 8%, rgba(7, 6, 15, 0.75) 55%, rgba(7, 6, 15, 0.1) 100%); }
  .scroll-hint { display: none; }
}

/* ---------- Sections ---------- */

.section { max-width: 1200px; margin: 0 auto; padding: clamp(70px, 10vw, 120px) clamp(20px, 4vw, 40px) 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.section h2 { font: 700 clamp(32px, 4.2vw, 52px)/1.05 var(--display); letter-spacing: -0.035em; margin: 0 0 16px; }
.section-head p { color: var(--dim); font-size: 17.5px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: transform 0.25s, border-color 0.25s; }
.feature:hover { transform: translateY(-4px); border-color: var(--line-2); }
.feature h3 { font: 600 20px var(--display); margin: 18px 0 8px; letter-spacing: -0.01em; }
.feature p { color: var(--dim); margin: 0; font-size: 15px; }
.f-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; }
.f-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f-icon.v { background: rgba(139, 123, 255, 0.16); color: #b3a8ff; }
.f-icon.p { background: rgba(244, 114, 182, 0.16); color: #f9a8d4; }
.f-icon.c { background: rgba(34, 211, 238, 0.14); color: #67e8f9; }
.f-icon.g { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; }
@media (max-width: 1000px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split-card { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px); border-radius: 28px; border: 1px solid var(--line-2); }
.split-card.artists { background: radial-gradient(ellipse at 100% 0%, rgba(244, 114, 182, 0.28), transparent 60%), linear-gradient(160deg, #1c1030, #0e0a1c); }
.split-card.fans { background: radial-gradient(ellipse at 100% 0%, rgba(34, 211, 238, 0.24), transparent 60%), linear-gradient(160deg, #0d1a30, #0a0e1c); }
.split-card h2 { font-size: clamp(28px, 3vw, 38px); }
.split-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 14px; }
.split-card li { position: relative; padding-left: 32px; color: #d6d3ee; }
.split-card li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad-warm) ; -webkit-mask: radial-gradient(circle, #000 35%, transparent 38%), linear-gradient(#000, #000); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.9; }
.split-card.fans li::before { background: var(--grad); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.item { border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform 0.25s, border-color 0.25s; }
.item:hover { transform: translateY(-4px); border-color: var(--line-2); }
.item .pic { aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, #2d2752, #0c0b18); overflow: hidden; }
.item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.item:hover .pic img { transform: scale(1.06); }
.item .info { padding: 16px 18px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.item b { font-size: 15.5px; font-weight: 600; }
.item small { display: block; color: var(--faint); font-size: 13px; }
.price { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.coin { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font: 800 10px var(--display); color: #5a3a00; background: radial-gradient(circle at 35% 30%, #fff3b0, #fbbf24 55%, #d97706); }
.item.skel { min-height: 330px; background: linear-gradient(100deg, var(--card) 30%, rgba(255, 255, 255, 0.06) 50%, var(--card) 70%) 0 0 / 300% 100%; animation: shine 1.4s infinite linear; }
@keyframes shine { to { background-position: -150% 0; } }
@media (max-width: 1000px) { .items { grid-template-columns: repeat(2, 1fr); } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.steps span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--grad); font: 700 19px var(--display); color: #fff; }
.steps h3 { font: 600 20px var(--display); margin: 18px 0 8px; }
.steps p { color: var(--dim); margin: 0; font-size: 15px; }
.devices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.devices div { padding: 18px 22px; border-radius: 18px; border: 1px dashed var(--line-2); }
.devices div:first-child { border-style: solid; border-color: rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.06); }
.devices b { display: block; font: 600 17px var(--display); }
.devices small { color: var(--dim); }
@media (max-width: 860px) { .steps, .devices { grid-template-columns: 1fr; } }

.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.phase { padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.phase .tag { display: inline-block; padding: 4px 11px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.phase.now { border-color: rgba(52, 211, 153, 0.4); }
.phase.now .tag { background: rgba(52, 211, 153, 0.15); color: var(--green); }
.phase.next .tag { background: rgba(139, 123, 255, 0.18); color: #b3a8ff; }
.phase.later .tag { background: rgba(255, 255, 255, 0.07); color: var(--dim); }
.phase h3 { font: 600 22px var(--display); margin: 16px 0 12px; }
.phase ul { margin: 0; padding-left: 18px; color: var(--dim); display: flex; flex-direction: column; gap: 7px; }
@media (max-width: 860px) { .roadmap { grid-template-columns: 1fr; } }

.final { max-width: 1200px; margin: 0 auto; padding: clamp(70px, 10vw, 120px) clamp(20px, 4vw, 40px); }
.final-card {
  position: relative; overflow: hidden; text-align: center; padding: clamp(46px, 7vw, 80px) 24px; border-radius: 32px; border: 1px solid var(--line-2);
  background: radial-gradient(ellipse at 20% 0%, rgba(244, 114, 182, 0.3), transparent 50%), radial-gradient(ellipse at 90% 100%, rgba(34, 211, 238, 0.28), transparent 50%), linear-gradient(135deg, #1a1238, #0c1026);
}
.final-card h2 { font: 700 clamp(36px, 5vw, 60px)/1 var(--display); letter-spacing: -0.04em; margin: 0 0 14px; }
.final-card p { color: #cdcae6; font-size: 18px; margin: 0 0 30px; }

.footer { max-width: 1200px; margin: 0 auto; padding: 30px clamp(20px, 4vw, 40px) 50px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer p { margin: 0; flex: 1; }
.footer p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .eyebrow i, .scroll-hint span, .item.skel { animation: none; }
}

/* Six-up feature grids (R-Mall) read better in threes. */
#mall .features { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { #mall .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { #mall .features { grid-template-columns: 1fr; } }
#mall, #create { scroll-margin-top: 80px; }
.devices small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
