:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f2f1ee;
  --muted: #9b9a96;
  --dim: #6a6a68;
  --accent-rgb: 255, 93, 58;
  --accent: #ff5d3a;
  --accent-2: #e8452a;
  --accent-text: #ffb19e;
  --accent-soft: rgba(var(--accent-rgb), 0.13);
  --danger: #f43f5e;
  --ok: #22c55e;
  --radius: 16px;
  --font: 'Inter', system-ui, sans-serif;
  --display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #0b0b0c; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #2a2a2e; border-radius: 10px; border: 2px solid var(--bg); }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--panel-2); font-weight: 600; font-size: 14px; cursor: pointer;
  transition: .2s ease; white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.btn-primary { background: var(--text); color: #0b0b0c; border-color: var(--text); }
.btn-primary:hover { background: #fff; border-color: #fff; }
.btn-danger { background: rgba(244, 63, 94, .12); border-color: rgba(244, 63, 94, .35); color: #fda4af; }
.btn-danger:hover { background: rgba(244, 63, 94, .2); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.input, select.input, textarea.input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .35); outline: none; transition: .2s;
}
textarea.input { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.label { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 7px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.logo img { width: 30px; height: 30px; }
.logo span b { color: var(--accent); font-weight: 700; }

.nav {
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px);
  background: rgba(11, 11, 12, .6); border-bottom: 1px solid var(--line);
}
.nav-in { max-width: 1180px; margin: 0 auto; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.nav-links { display: flex; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.hero { padding: 90px 20px 70px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px;
  background: var(--panel); border: 1px solid var(--line-2); font-size: 13px; color: var(--muted);
}
.pill b { background: var(--accent); color: #fff; padding: 2px 9px; border-radius: 99px; font-size: 11px; letter-spacing: .04em; }
.hero h1 {
  font-family: var(--display); font-size: clamp(42px, 6vw, 76px); line-height: 1; letter-spacing: -.04em;
  margin: 22px 0 20px; font-weight: 800;
}
.grad { background: linear-gradient(120deg, var(--accent-text), var(--accent) 40%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 520px; }
.claim {
  margin-top: 34px; display: flex; align-items: center; max-width: 500px; padding: 6px; border-radius: 16px;
  background: rgba(0, 0, 0, .45); border: 1px solid var(--line-2); transition: .2s;
}
.claim:focus-within { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.claim span { padding-left: 14px; color: var(--muted); font-weight: 500; }
.claim input { flex: 1; min-width: 0; background: none; border: none; outline: none; height: 44px; padding: 0 2px; font-weight: 600; }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; }
.hero-stats div b { display: block; font-family: var(--display); font-size: 28px; }
.hero-stats div span { color: var(--dim); font-size: 13px; }

.mock-wrap { position: relative; perspective: 1200px; }
.mock {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/5; max-width: 420px; margin-left: auto;
  border: 1px solid var(--line-2); background: radial-gradient(circle at 30% 20%, #3b1366, #0b0614 70%);
  transform: rotateY(-10deg) rotateX(6deg); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotateY(-6deg) rotateX(3deg) translateY(-12px); } }
.mock::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .015) 3px 4px);
}
.mock-card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 80%;
  padding: 30px 22px 22px; border-radius: 22px; text-align: center;
  background: rgba(10, 6, 20, .45); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12);
}
.mock-av { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 12px; background: conic-gradient(from 90deg, var(--accent), var(--accent-2), #f59e0b, var(--accent)); padding: 3px; }
.mock-av div { width: 100%; height: 100%; border-radius: 50%; background: #141416 url('/img/logo.svg') center/46% no-repeat; }
.mock-name { font-family: var(--display); font-size: 26px; font-weight: 700; text-shadow: 0 0 18px var(--accent), 0 0 2px #fff; }
.mock-badges { display: flex; gap: 6px; justify-content: center; margin: 8px 0; }
.mock-badges i { width: 18px; height: 18px; border-radius: 6px; display: block; }
.mock-bio { color: #c7bfd9; font-size: 14px; }
.mock-icons { display: flex; justify-content: center; gap: 14px; margin: 16px 0; }
.mock-icons svg { width: 22px; height: 22px; fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .7)); }
.mock-dc { display: flex; gap: 10px; align-items: center; text-align: left; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); font-size: 12px; }
.mock-dc .av { width: 38px; height: 38px; border-radius: 50%; background: #5865f2; position: relative; flex: none; }
.mock-dc .av::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: #23a55a; border: 3px solid #1a1427; }
.mock-dc b { display: block; font-size: 13px; }
.mock-dc span { color: #a49cb8; }
.mock-views { position: absolute; left: 16px; bottom: 14px; font-size: 12px; color: #d8cfee; display: flex; gap: 6px; align-items: center; }
.mock-music { position: absolute; right: 14px; top: 14px; font-size: 12px; padding: 6px 10px; border-radius: 99px; background: rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .1); }

.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-family: var(--display); font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; line-height: 1.05; margin: 14px 0; }
.section-head p { color: var(--muted); font-size: 17px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  padding: 26px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line);
  transition: .3s; position: relative; overflow: hidden;
}
.feature:hover { border-color: rgba(var(--accent-rgb), .4); transform: translateY(-3px); background: linear-gradient(180deg, rgba(var(--accent-rgb), .08), transparent); }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 18px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }
.feature.wide { grid-column: span 2; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 30px; border-radius: 20px; border: 1px dashed var(--line-2); }
.step::before { counter-increment: s; content: '0' counter(s); font-family: var(--display); font-size: 44px; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), .7); }
.step h3 { margin: 10px 0 6px; }
.step p { color: var(--muted); font-size: 14px; }

.cta-band {
  margin: 30px auto 90px; padding: 60px 30px; border-radius: 28px; text-align: center; position: relative; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-2);
}
.cta-band h2 { font-family: var(--display); font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 26px; }
.footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--dim); font-size: 13px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.auth-links { display: flex; justify-content: center; gap: 16px; margin-top: 22px; font-size: 13px; color: var(--dim); }
.auth-links a:hover { color: var(--text); }

.auth { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; }
.auth-card {
  width: 100%; max-width: 410px; padding: 36px 30px; border-radius: 24px;
  background: rgba(17, 17, 19, .75); border: 1px solid var(--line-2); backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px -40px rgba(var(--accent-rgb), .5);
}
.auth-card .logo { margin-bottom: 26px; }
.auth-card h1 { font-family: var(--display); font-size: 28px; letter-spacing: -.02em; }
.auth-card .sub { color: var(--muted); margin: 4px 0 24px; font-size: 14px; }
.field { margin-bottom: 16px; }
.input-prefix { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(0, 0, 0, .35); transition: .2s; }
.input-prefix:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input-prefix span { padding-left: 14px; color: var(--dim); font-size: 14px; }
.input-prefix input { border: none; background: none; box-shadow: none !important; padding-left: 2px; }
.err { color: #fda4af; font-size: 13px; min-height: 20px; margin-bottom: 8px; }
.auth-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; }
.auth-foot a { color: var(--accent-text); font-weight: 600; }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 60px; }
  .mock { margin: 0 auto; transform: none; animation: none; width: min(380px, 100%); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; }
  .hero-stats { gap: 22px; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
}

/* sign-in options */
.oauth-list { display: grid; gap: 10px; }
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 46px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text);
  font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
}
.oauth-btn:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .24); }
.oauth-btn:active { transform: translateY(1px); }
.oauth-btn svg { width: 19px; height: 19px; flex: none; }
.oauth-btn.discord svg { color: #5865f2; }
.oauth-btn.email svg { color: var(--accent-text); }
.oauth-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.oauth-btn[aria-expanded="true"] { border-color: var(--accent); background: var(--accent-soft); }
.oauth-btn .soon { font-size: 11px; font-weight: 500; color: var(--dim); margin-left: 2px; }
.email-panel { display: none; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.email-panel.open { display: block; }
.auth-step[hidden] { display: none; }
.auth-who { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); margin-bottom: 18px; font-size: 14px; }
.auth-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.auth-who small { display: block; color: var(--muted); font-size: 12.5px; }
.code-input { text-align: center; letter-spacing: .5em; font-size: 26px; font-weight: 700; height: 60px; font-family: var(--display); padding-left: .5em; }
.auth-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 13.5px; }
.link-btn { background: none; border: none; color: var(--accent-text); font-weight: 600; cursor: pointer; padding: 0; }
.link-btn:disabled { color: var(--dim); cursor: default; }
.ok-note { color: #86efac; font-size: 13px; min-height: 20px; margin-bottom: 8px; }

/* ---------- shared nav ---------- */
.nav-links a { position: relative; transition: color .15s; }
.nav-links a.on { color: var(--text); }
.nav-links a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -24px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-burger span { width: 16px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- shared footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 50px 0 26px; color: var(--muted); font-size: 14px; margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .04)); }
.sf-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.sf-brand p { margin-top: 10px; color: var(--dim); }
.sf-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.sf-cols div { display: grid; gap: 9px; align-content: start; }
.sf-cols h4 { color: var(--text); font-size: 13px; margin-bottom: 3px; }
.sf-cols a { transition: color .15s; }
.sf-cols a:hover { color: var(--text); }
.sf-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

body.shell { display: flex; flex-direction: column; min-height: 100vh; }
body.shell > main { flex: 1; }

@media (max-width: 960px) {
  .nav-burger { display: inline-flex; }
  .nav-in { gap: 10px; }
  .nav-cta { margin-left: auto; }
  .nav.open .nav-links {
    display: grid; position: absolute; top: 68px; left: 0; right: 0; gap: 0; padding: 8px 12px 14px;
    background: #111113; border-bottom: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  }
  .nav.open { background: #111113; backdrop-filter: none; }
  .nav.open .nav-links a { padding: 12px 10px; border-radius: 10px; font-size: 15px; }
  .nav.open .nav-links a:hover, .nav.open .nav-links a.on { background: var(--panel); }
  .nav-links a.on::after { display: none; }
}
@media (max-width: 560px) {
  .sf-cols { gap: 36px; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
}

/* auth pages inside the shared shell */
body.shell .auth { min-height: auto; padding: 56px 16px 40px; align-content: start; }
body.shell .auth-card { margin-top: 0; }

/* ---------- error pages (404, 403, 429, 500, 503) ---------- */
.err-wrap { position: relative; display: grid; place-items: center; padding: 90px 20px 70px; overflow: hidden; }
.err-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .22), transparent 65%); top: 50%; left: 50%; transform: translate(-50%, -55%); pointer-events: none; }
.err-box { position: relative; text-align: center; max-width: 520px; }
.err-code {
  font-family: var(--display); font-weight: 800; font-size: clamp(110px, 22vw, 190px); line-height: .9; letter-spacing: -.06em;
  background: linear-gradient(180deg, #f4f2fa 10%, rgba(var(--accent-rgb), .55) 70%, transparent); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: errfloat 6s ease-in-out infinite;
}
@keyframes errfloat { 50% { transform: translateY(-8px); } }
.err-box h1 { font-family: var(--display); font-size: clamp(26px, 4vw, 34px); letter-spacing: -.02em; margin: 6px 0 10px; }
.err-box p { color: var(--muted); font-size: 16px; }
.err-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.err-ref { font-size: 12.5px; color: var(--dim); margin-top: 22px; min-height: 1em; }
@media (prefers-reduced-motion: reduce) { .err-code { animation: none; } }

/* ---------- landing page polish ---------- */
.hero { padding: 80px 20px 60px; gap: 56px; }
.claim-hint { margin-top: 10px; font-size: 13px; color: var(--dim); padding-left: 6px; min-height: 1.2em; }
.hero-stats { margin-top: 30px; }

.mock-wrap { display: grid; justify-items: end; gap: 14px; }
.mock { width: 100%; transition: transform .25s ease-out; transform-style: preserve-3d; }
.mock.live { animation: none; transition: transform .08s linear; }
.mock::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .09), transparent 45%); }
.mock.live::after { opacity: 1; }
.mock-card { overflow: visible; }
.mock-caption { font-size: 12.5px; color: var(--dim); width: 100%; max-width: 420px; text-align: center; }

.mock-badges { gap: 6px; margin: 10px 0 8px; }
.mbadge { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; cursor: default;
  background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); transition: transform .15s, box-shadow .15s; }
.mbadge svg { width: 15px; height: 15px; fill: var(--c); }
.mbadge:hover, .mbadge:focus-visible { transform: translateY(-2px) scale(1.08); box-shadow: 0 6px 18px -6px var(--c); outline: none; }

.mock-icons { gap: 10px; }
.msocial { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; cursor: default; transition: background .15s, transform .15s; }
.msocial svg { width: 21px; height: 21px; fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .55)); transition: fill .15s, filter .15s; }
.msocial:hover, .msocial:focus-visible { background: rgba(255, 255, 255, .08); transform: translateY(-2px); outline: none; }
.msocial:hover svg, .msocial:focus-visible svg { fill: var(--c); filter: drop-shadow(0 0 8px var(--c)); }

.tip { position: relative; }
.tip::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translate(-50%, 4px);
  white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: #0f0f11; border: 1px solid var(--line-2);
  color: var(--text); font-size: 12px; font-weight: 500; font-family: var(--font); letter-spacing: 0; text-shadow: none;
  opacity: 0; pointer-events: none; transition: opacity .12s, transform .12s; z-index: 5; box-shadow: 0 10px 30px -10px #000;
}
.tip:hover::after, .tip:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

.mock-music { display: inline-flex; align-items: center; gap: 8px; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.eq i { width: 3px; border-radius: 2px; background: var(--accent-text); animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.4s; } .eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 11px; } }
.mock-views svg { width: 14px; height: 14px; fill: currentColor; }

.features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { display: flex; flex-direction: column; }
.feature.accent { background: linear-gradient(135deg, rgba(var(--accent-rgb), .12), rgba(var(--accent-rgb), .04) 60%, transparent); border-color: rgba(var(--accent-rgb), .25); }
.feat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 16px; }
.feat-chips span { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: #d8cfee; }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: auto; padding-top: 16px; }
.spark i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb), .25)); opacity: .8; transition: opacity .2s; }
.feature:hover .spark i { opacity: 1; }

.steps .step { background: var(--panel); border-style: solid; border-color: var(--line); transition: border-color .2s, transform .2s; }
.steps .step:hover { border-color: rgba(var(--accent-rgb), .35); transform: translateY(-2px); }
.cta-band { background: radial-gradient(600px 240px at 50% 0%, rgba(var(--accent-rgb), .22), transparent 70%), var(--bg-2); }

@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-wrap { justify-items: center; }
  .mock { margin: 0 auto; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .feature.wide { grid-column: auto; }
  .hero { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { .mock, .eq i { animation: none; } }

/* ---------- example profile card (home hero) ---------- */
.mock-wrap { position: relative; perspective: 1400px; display: grid; justify-items: center; gap: 16px; }
.mock-glow { position: absolute; width: 120%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -54%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .35), rgba(var(--accent-rgb), .12) 40%, transparent 68%); filter: blur(10px); }
.pcard {
  position: relative; width: min(380px, 100%); border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, rgba(24, 16, 40, .92), rgba(12, 8, 22, .96));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--accent-rgb), .08), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: rotateY(-8deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .3s ease-out;
  animation: pfloat 7s ease-in-out infinite;
}
@keyframes pfloat { 50% { transform: rotateY(-5deg) rotateX(2deg) translateY(-10px); } }
.pcard.live { animation: none; transition: transform .08s linear; }
.pcard::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 20%), rgba(255, 255, 255, .1), transparent 45%); }
.pcard.live::after { opacity: 1; }

.pcard-banner { position: relative; height: 112px; display: flex; justify-content: space-between; align-items: flex-start; padding: 12px;
  background: radial-gradient(120% 140% at 15% 0%, var(--accent-2), transparent 55%), radial-gradient(100% 120% at 100% 0%, var(--accent-2), transparent 55%), linear-gradient(135deg, #2a1052, #120a24); }
.pcard-banner::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .025) 3px 4px); }
.pcard-music, .pcard-views { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: 99px;
  background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); color: #ece6fb; }
.pcard-views svg { width: 13px; height: 13px; fill: currentColor; opacity: .85; }

.pcard-body { padding: 0 22px 22px; text-align: center; margin-top: -50px; position: relative; }
.pcard-av { position: relative; width: 96px; height: 96px; margin: 0 auto 10px; border-radius: 50%; padding: 4px;
  background: conic-gradient(from 200deg, var(--accent), var(--accent-2), #f59e0b, var(--accent)); box-shadow: 0 10px 30px -8px rgba(var(--accent-rgb), .7); }
.pcard-av img { width: 100%; height: 100%; border-radius: 50%; border: 4px solid #141416; background: #141416; object-fit: cover; }
.pcard-status { position: absolute; right: 6px; bottom: 6px; width: 18px; height: 18px; border-radius: 50%; background: #23a55a; border: 4px solid #141416; }
.pcard-name { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  background: linear-gradient(90deg, #fff, var(--accent-text), #fff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(var(--accent-rgb), .65)); animation: shimmer 4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.pcard-handle { font-size: 12.5px; color: #9f94b8; margin-top: 2px; }
.pcard-badges { display: flex; justify-content: center; gap: 6px; margin: 12px 0 10px; }
.pcard-bio { color: #d6cde9; font-size: 14.5px; }
.pcard-socials { display: flex; justify-content: center; gap: 8px; margin: 16px 0 16px; }

.mbadge { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; cursor: default;
  background: color-mix(in srgb, var(--c) 16%, rgba(255, 255, 255, .03)); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform .15s, box-shadow .15s, background .15s; }
.mbadge svg { width: 16px; height: 16px; fill: var(--c); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--c) 70%, transparent)); }
.mbadge:hover, .mbadge:focus-visible { transform: translateY(-3px) scale(1.1); background: color-mix(in srgb, var(--c) 28%, transparent); box-shadow: 0 8px 20px -6px var(--c); outline: none; }

.msocial { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; cursor: default; user-select: none;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; }
.msocial svg { width: 20px; height: 20px; fill: #f4f2fa; transition: fill .15s; }
.msocial:hover, .msocial:focus-visible { transform: translateY(-3px); outline: none;
  background: color-mix(in srgb, var(--c) 22%, transparent); border-color: color-mix(in srgb, var(--c) 65%, transparent); box-shadow: 0 10px 24px -8px var(--c); }
.msocial:hover svg, .msocial:focus-visible svg { fill: #fff; }

.pcard-dc-av { position: relative; width: 48px; height: 48px; flex: none; }
.pcard-dc-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pcard-dc-dot { position: absolute; right: -1px; bottom: -1px; width: 15px; height: 15px; border-radius: 50%; border: 3px solid #19191c; background: #80848e; }
.pcard-dc-dot.online { background: #23a55a; } .pcard-dc-dot.idle { background: #f0b232; } .pcard-dc-dot.dnd { background: #f23f43; }
.pcard-dc-text { flex: 1; min-width: 0; }
.pcard-dc-name { display: flex; gap: 6px; align-items: baseline; min-width: 0; }
.pcard-dc-name b { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-dc-name small { font-size: 12px; color: #a49cb8; opacity: .8; white-space: nowrap; }
.pcard-dc-act { font-size: 12.5px; color: #c9c2da; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.pcard-dc-art { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.pcard-dc-art[hidden] { display: none; }
.pcard-dc { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }

.tip::after { bottom: calc(100% + 10px); }
@media (max-width: 960px) { .pcard { transform: none; animation: none; } }
@media (prefers-reduced-motion: reduce) { .pcard, .pcard-name { animation: none; } }
.pcard-banner { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }

/* featured profile: music toggle, media banner, live status */
button.pcard-music { cursor: pointer; font: inherit; font-size: 12px; transition: background .15s, border-color .15s, transform .15s; }
button.pcard-music:hover { background: rgba(0, 0, 0, .55); border-color: rgba(255, 255, 255, .25); }
button.pcard-music:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pcard-music svg { width: 14px; height: 14px; fill: currentColor; }
.pcard-music .ic-on, .pcard-music.on .ic-muted { display: none; }
.pcard-music.on .ic-on { display: block; }
.pcard-music .eq { display: none; }
.pcard-music.on .eq { display: inline-flex; }
.pcard-music.ready:not(.on) { animation: musicping 2.4s ease-out infinite; }
@keyframes musicping { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } }
.pcard-music.on { background: rgba(var(--accent-rgb), .55); border-color: rgba(216, 180, 254, .5); }
.pcard-music.nudge { animation: nudge .35s; }
@keyframes nudge { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.pcard-track { max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-banner-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.pcard-banner.has-media::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 60%); }
.pcard-status[data-s="idle"] { background: #f0b232; }
.pcard-status[data-s="dnd"] { background: #f23f43; }
.pcard-status[data-s="offline"] { background: #80848e; }
.mbadge img { width: 18px; height: 18px; object-fit: contain; }
.mock-caption a { color: var(--accent-text); font-weight: 600; white-space: nowrap; }
.mock-caption a:hover { text-decoration: underline; }
.pcard-av img { background: #141416; }
.pcard-dc[hidden] { display: none; }

/* =====================================================================
   2026-11 redesign: neutral surfaces, one accent, no gradients or glows
   ===================================================================== */
body { background: var(--bg); }
h1, h2, h3 { font-weight: 700; }

/* nav */
.nav { background: rgba(11, 11, 12, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { height: 60px; }
.logo { gap: 8px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.logo img { width: 24px; height: 24px; }
.logo span b { color: inherit; }
.nav-links { gap: 4px; font-size: 14px; color: var(--muted); }
.nav-links a { padding: 7px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--text); background: var(--panel-2); }
.nav-links a.on { color: var(--text); background: var(--panel-2); }
.nav-links a.on::after { display: none; }
.nav-cta { gap: 6px; align-items: center; }
.nav-cta .btn-ghost { color: var(--muted); }
.nav-cta .btn-ghost:hover { color: var(--text); background: var(--panel-2); }
.btn { border-radius: 10px; font-weight: 600; }
.btn-sm { border-radius: 8px; }
@media (max-width: 960px) {
  .nav.open .nav-links { top: 60px; background: #111113; }
  .nav.open { background: #111113; }
}

/* hero */
.home .hero { padding: 96px 20px 80px; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; }
.kicker { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.home .hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6.4vw, 84px); line-height: .95; letter-spacing: -.045em; margin: 18px 0 22px; max-width: 11ch; }
.home .hero p.lead { color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 34em; }
.home .claim { margin-top: 32px; padding: 5px; border-radius: 12px; background: #141416; border: 1px solid var(--line-2); max-width: 470px; }
.home .claim:focus-within { border-color: rgba(255, 255, 255, .35); box-shadow: none; }
.home .claim span { padding-left: 12px; color: var(--dim); font-weight: 500; font-size: 15px; }
.home .claim input { font-size: 15px; }
.home .claim .btn { height: 40px; border-radius: 8px; }
.claim-hint { padding-left: 2px; }
.home .hero-stats { display: flex; gap: 0; margin-top: 44px; border-top: 1px solid var(--line); padding-top: 18px; max-width: 470px; }
.home .hero-stats div { flex: 1; }
.home .hero-stats div + div { padding-left: 18px; border-left: 1px solid var(--line); margin-left: 18px; }
.home .hero-stats dt { font-family: var(--mono); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .04em; }
.home .hero-stats dd { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }

/* example card: flat, no glow, no float */
.mock-glow { display: none; }
.pcard { transform: none; animation: none; background: #141416; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); border-radius: 22px; }
.pcard::after { background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 20%), rgba(255, 255, 255, .05), transparent 45%); }
.pcard-banner { background: #1d1d20; }
.pcard-banner::after { display: none; }
.pcard-av { background: #141416; box-shadow: none; padding: 0; }
.pcard-av img { border: 4px solid #141416; background: #1d1d20; }
.pcard-status { border-color: #141416; }
.pcard-name { background: none; color: var(--text); -webkit-text-fill-color: currentColor; filter: none; animation: none; font-weight: 700; }
.pcard-handle { color: var(--dim); }
.pcard-bio { color: #c9c8c4; }
.mbadge { box-shadow: none; }
.mbadge svg { filter: none; }
.mbadge:hover, .mbadge:focus-visible { box-shadow: none; transform: translateY(-2px); }
.msocial { border-radius: 10px; }
.msocial:hover, .msocial:focus-visible { box-shadow: none; }
.pcard-dc-dot { border-color: #1a1a1d; }
.pcard-music.on { background: rgba(var(--accent-rgb), .25); border-color: rgba(var(--accent-rgb), .5); }
.eq i { background: var(--accent); }
.mock-caption { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.mock-caption a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* sections */
.home .section { padding: 80px 20px; border-top: 1px solid var(--line); }
.home .section-head { text-align: left; margin: 0 0 36px; max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.home .section-head h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.035em; margin: 0; }
.home .section-head p { color: var(--muted); font-size: 16px; max-width: 30em; }
.fn { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .02em; }
.flist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.flist li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.flist li:nth-child(odd) { border-right: 1px solid var(--line); }
.flist li:nth-child(even) { padding-left: 24px; }
.flist .fn { padding-top: 4px; }
.flist h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 4px; }
.flist p { color: var(--muted); font-size: 14.5px; }
.home .steps { gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.home .steps .step { background: none; border: none; border-radius: 0; padding: 26px; transform: none; }
.home .steps .step + .step { border-left: 1px solid var(--line); }
.home .steps .step::before { display: none; }
.home .steps .step:hover { transform: none; }
.home .step h3 { margin: 10px 0 4px; font-size: 18px; }
.home .cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; text-align: left; margin: 20px auto 80px; padding: 36px; border-radius: 16px; background: #141416; border: 1px solid var(--line-2); }
.home .cta-band h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em; margin-bottom: 6px; max-width: 20ch; }
.home .cta-band p { margin: 0; }

/* footer */
.site-foot { background: none; }
.sf-cols h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--dim); }

/* other shared bits that used to glow */
.auth-card { background: #111113; box-shadow: none; backdrop-filter: none; }
.err-glow { display: none; }
.err-code { background: none; color: var(--text); -webkit-text-fill-color: currentColor; animation: none; }
.tip::after { background: #1a1a1d; }

@media (max-width: 960px) {
  .home .hero { grid-template-columns: minmax(0, 1fr); padding-top: 56px; gap: 48px; }
  .flist { grid-template-columns: minmax(0, 1fr); }
  .flist li:nth-child(odd) { border-right: none; }
  .flist li:nth-child(even) { padding-left: 0; }
  .home .steps { grid-template-columns: minmax(0, 1fr); }
  .home .steps .step + .step { border-left: none; border-top: 1px solid var(--line); }
}
