:root {
  color-scheme: dark;
  --ink: #08050f;
  --panel: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #a3a0b5;
  --accent: #a855f7;
  --accent2: #22d3ee;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(closest-side, rgba(168, 85, 247, 0.45), transparent) 12% 8% / 60% 55% no-repeat,
    radial-gradient(closest-side, rgba(34, 211, 238, 0.35), transparent) 92% 12% / 55% 50% no-repeat,
    radial-gradient(closest-side, rgba(236, 72, 153, 0.28), transparent) 50% 108% / 70% 60% no-repeat;
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.wrap { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 28px 20px 56px; }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.mark {
  width: 40px; height: 40px; border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: grid; place-items: center; color: #06040b; font-weight: 900; font-size: 15px;
}
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
h1 { font-size: 34px; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 12px; font-weight: 900; }
h1 .grad { background: linear-gradient(120deg, #c084fc, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  padding: 18px; backdrop-filter: blur(14px); margin-bottom: 14px;
}
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; border-radius: 16px; border: 0;
  font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
  color: #06040b; background: linear-gradient(120deg, var(--accent), #6366f1 55%, var(--accent2));
  box-shadow: 0 14px 40px -18px rgba(168, 85, 247, 0.9);
}
.btn:active { transform: scale(0.985); }
.btn.ghost {
  background: rgba(255, 255, 255, 0.06); color: var(--text);
  border: 1px solid var(--line); box-shadow: none; font-weight: 600;
}
.meta { display: flex; justify-content: center; gap: 14px; color: var(--muted); font-size: 12px; margin-top: 12px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; display: flex; gap: 12px; padding: 9px 0; font-size: 14px; color: #d8d4e6; }
.steps li::before {
  content: counter(step); flex: 0 0 24px; height: 24px; border-radius: 50%;
  background: rgba(168, 85, 247, 0.2); color: #dcc6ff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.feature { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 12px; }
.feature b { display: block; font-size: 13px; margin-bottom: 3px; }
.feature span { color: var(--muted); font-size: 12px; }
.label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin: 0 0 10px; }
input[type="text"] {
  width: 100%; min-height: 50px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05); color: var(--text); padding: 0 14px; font-size: 15px;
}
input[type="text"]::placeholder { color: #6f6a85; }
.row { display: flex; gap: 10px; margin-top: 10px; }
.row .btn { min-height: 48px; font-size: 14px; }
.share-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.art { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; background: linear-gradient(135deg, rgba(168,85,247,.5), rgba(34,211,238,.4)); flex: 0 0 84px; }
.share-title { font-size: 19px; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.01em; }
.share-sub { color: var(--muted); font-size: 13px; margin: 0; }
.tracks { list-style: none; padding: 0; margin: 14px 0 0; }
.tracks li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,0.06); font-size: 13px; }
.tracks li:first-child { border-top: 0; }
.tracks img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; background: rgba(255,255,255,0.08); }
.tracks .t { min-width: 0; }
.tracks .t b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tracks .t span { color: var(--muted); font-size: 11px; }
.note { color: var(--muted); font-size: 12px; text-align: center; margin-top: 18px; }
.pill { display: inline-block; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(34, 211, 238, 0.15); color: #a5f3fc; margin-bottom: 12px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
a { color: #a5f3fc; }
