/* Statusong — stage-light amber on near-black.
   Committed colour strategy: the amber carries the brand; Spotify green and
   Discord blurple appear only where those products are literally represented. */
:root {
  --bg: oklch(0.07 0.004 280);
  --bg-2: oklch(0.115 0.008 280);
  --surface: oklch(0.16 0.011 280);
  --line: oklch(0.28 0.015 280);
  --ink: oklch(0.98 0.004 280);
  --muted: oklch(0.76 0.012 280);
  --dim: oklch(0.6 0.014 280);
  /* Two colours, two jobs: green is the Spotify side (music, playback,
     emphasis), blurple is the Discord side (actions, the status card).
     They never blend into each other — the page itself reads left-to-right
     as the route a lyric takes. */
  --accent: oklch(0.84 0.23 149);        /* electric green — Spotify side */
  --accent-deep: oklch(0.66 0.19 149);
  --brand: oklch(0.62 0.25 300);         /* neon violet — Discord side */
  --brand-lift: oklch(0.76 0.19 300);    /* violet that holds up as text */
  --on-accent: oklch(0.14 0.03 149);
  --on-brand: oklch(0.99 0 0);
  --spotify: #1db954;
  --discord: #5865f2;

  /* Neon bloom. Kept to borders, marks and CTAs — never behind body copy,
     where it would eat legibility. */
  --glow-green: 0 0 18px color-mix(in oklab, var(--accent) 45%, transparent);
  --glow-violet: 0 0 18px color-mix(in oklab, var(--brand) 55%, transparent);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  /* Shared with the desktop app so both surfaces move the same way. */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* overflow-x goes on <html>, not <body>: setting it on body makes body compute
   overflow-y:auto per spec and some mobile browsers then treat body as its OWN
   nested scroll container instead of propagating it to the viewport — the page
   scrolls fine at first, then the real document stops moving and goes blank. */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: Archivo, "Archivo Fallback", system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* The stage light: one fixed cone from above. No animation — it's a room, not a party. */
.spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 42% at 6% -4%, color-mix(in oklab, var(--accent) 26%, transparent), transparent 70%),
    radial-gradient(62% 46% at 96% 2%, color-mix(in oklab, var(--brand) 34%, transparent), transparent 72%),
    radial-gradient(90% 55% at 50% 106%, color-mix(in oklab, var(--brand) 14%, transparent), transparent 72%);
}

section, header, nav, footer { position: relative; z-index: 1; }

/* ---------- type scale (1.3 ratio, fluid) ---------- */
.display {
  font-size: clamp(2.9rem, 8.5vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  text-wrap: balance;
}
.display em {
  font-style: normal;
  color: var(--accent);
  font-variation-settings: "wdth" 78;
  font-weight: 900;
  text-shadow: 0 0 34px color-mix(in oklab, var(--accent) 55%, transparent);
}
.h2 {
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 800;
  font-variation-settings: "wdth" 105;
  text-wrap: balance;
}
.lede {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.65;
  text-wrap: pretty;
}
.sub { color: var(--muted); max-width: 58ch; margin-top: 12px; text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 14px 30px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  box-shadow: var(--glow-green);
  transition: transform 160ms var(--ease-out), background 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: color-mix(in oklab, var(--accent) 88%, white);
    transform: translateY(-1px);
    box-shadow: 0 0 30px color-mix(in oklab, var(--accent) 65%, transparent);
  }
}
.btn:active { transform: scale(0.975); }
.btn-sm { padding: 9px 18px; font-size: 0.87rem; }
.btn-lg { padding: 17px 38px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ghost {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 4px;
  transition: color 180ms var(--ease-out);
}
.btn-ghost:hover { color: var(--ink); }

/* ---------- nav ---------- */
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--pad);
  display: flex;
  align-items: center;
  gap: 22px;
}
.wordmark {
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 88;
  color: var(--ink);
  text-decoration: none;
}
.nav-links { margin-left: auto; display: flex; gap: 26px; }
/* Deliberately not green — green is "buy". This is "I already own it". */
.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--brand) 55%, transparent);
  color: var(--brand-lift);
  background: color-mix(in oklab, var(--brand) 12%, transparent);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 700;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out),
    border-color 180ms var(--ease-out), transform 150ms var(--ease-out);
}
.nav-login svg { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) {
  .nav-login:hover {
    background: color-mix(in oklab, var(--brand) 26%, transparent);
    border-color: var(--brand);
    color: #fff;
  }
}
.nav-login:active { transform: scale(0.97); }
@media (max-width: 720px) { .nav-login { display: none; } }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 180ms var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links { display: none; } .nav { gap: 12px; } .btn-sm { margin-left: auto; } }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 76px) var(--pad) clamp(60px, 9vw, 120px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}
@media (max-width: 940px) { .hero { grid-template-columns: 1fr; } }

.hero-cta { display: flex; align-items: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.lede { margin-top: 24px; }
/* Trust row under the CTA — every claim here must stay literally true. */
.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted);
}
.trust svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.hero-meta { margin-top: 12px; font-size: 0.8rem; color: var(--dim); }

/* entrance: one orchestrated load, content visible by default if JS/anim never runs */
.hero-copy > *, .hero-stage { animation: rise 780ms var(--ease-out) backwards; }
.hero-copy > *:nth-child(1) { animation-delay: 40ms; }
.hero-copy > *:nth-child(2) { animation-delay: 120ms; }
.hero-copy > *:nth-child(3) { animation-delay: 190ms; }
.hero-copy > *:nth-child(4) { animation-delay: 250ms; }
.hero-stage { animation-delay: 200ms; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}

/* ---------- the Discord card mock ---------- */
.hero-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dcard {
  width: 100%;
  max-width: 380px;
  background: #232428;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 44px 90px -30px rgba(0, 0, 0, 0.9);
  /* Discord renders in its own font — keep the mock honest. */
  font-family: "gg sans", "Segoe UI", system-ui, sans-serif;
}
.dcard-banner {
  height: 74px;
  background: linear-gradient(115deg, var(--accent-deep), var(--brand) 78%);
}
.dcard-body { padding: 0 16px 16px; }
.dcard-avatar {
  width: 74px; height: 74px;
  border-radius: 50%;
  margin-top: -34px;
  border: 6px solid #232428;
  background: linear-gradient(140deg, var(--accent), var(--brand));
}
.dcard-name { margin-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.dcard-name strong { font-size: 1.2rem; color: #fff; font-weight: 700; }
.dcard-name span { font-size: 0.78rem; color: #949ba4; }

.dstatus {
  margin-top: 12px;
  background: #111214;
  border-radius: 9px;
  padding: 11px 13px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  min-height: 46px;
  font-size: 0.94rem;
  color: #dbdee1;
  line-height: 1.35;
}
.dstatus-emoji { flex-shrink: 0; }
/* text is always set synchronously; the animation only decorates the change */
.dstatus-text.beat { animation: beat 260ms var(--ease-out); }
@keyframes beat {
  from { opacity: 0; transform: translateY(5px); filter: blur(2px); }
}

.dspotify { margin-top: 12px; background: #111214; border-radius: 9px; padding: 12px 13px; }
.dspotify-head {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 700; color: #b5bac1;
  text-transform: uppercase; letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.dspotify-row { display: flex; gap: 11px; }
.dspotify-art {
  width: 56px; height: 56px; border-radius: 5px; flex-shrink: 0;
  background: #2b2d31; object-fit: cover;
}
.dspotify-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dspotify-meta b {
  font-size: 0.86rem; color: #fff; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dspotify-meta span {
  font-size: 0.78rem; color: #b5bac1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dbar { height: 4px; background: #4f545c; border-radius: 99px; margin-top: 8px; overflow: hidden; }
.dbar i { display: block; height: 100%; width: 0%; background: #fff; border-radius: 99px; }

.mark { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.mark.sp { color: var(--spotify); }
.mark.dc { color: var(--discord); }
.stage-caption { font-size: 0.79rem; color: var(--dim); }

/* ---------- sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 116px) var(--pad);
}
.section-head { margin-bottom: clamp(28px, 4vw, 46px); }

/* ---------- demo ---------- */
.demo {
  background: color-mix(in oklab, var(--bg-2) 88%, var(--accent) 4%);
  border: 1px solid color-mix(in oklab, var(--accent) 42%, transparent);
  border-radius: 20px;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: 0 0 34px -6px color-mix(in oklab, var(--accent) 34%, transparent),
    inset 0 0 40px -22px color-mix(in oklab, var(--accent) 55%, transparent);
}
.search { display: flex; gap: 10px; }
.search input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.search input::placeholder { color: var(--dim); }
.search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}

.results { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; }
.result {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
  transition: background 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.result:hover { background: var(--surface); border-color: var(--line); }
.result:active { transform: scale(0.99); }

/* Results arrive one after another rather than dumping in as a block —
   the same staggered-depth language the desktop settings panel uses. */
@media (prefers-reduced-motion: no-preference) {
  .results.in .result { animation: rowIn 420ms var(--ease-spring) backwards; }
  .results.in .result:nth-child(1) { animation-delay: 0ms; }
  .results.in .result:nth-child(2) { animation-delay: 45ms; }
  .results.in .result:nth-child(3) { animation-delay: 90ms; }
  .results.in .result:nth-child(4) { animation-delay: 135ms; }
  .results.in .result:nth-child(5) { animation-delay: 180ms; }
  .results.in .result:nth-child(6) { animation-delay: 225ms; }
  .results.in .result:nth-child(7) { animation-delay: 270ms; }
  .results.in .result:nth-child(8) { animation-delay: 315ms; }
  @keyframes rowIn {
    from { opacity: 0; transform: translateY(-10px) scale(0.97); }
    to { opacity: 1; transform: none; }
  }
}

/* Panels lift toward you on hover — depth, not just a colour change. */
@media (hover: hover) and (pointer: fine) {
  .price-main, .vault-col, .win, .demo {
    transition: transform 380ms var(--ease-out), box-shadow 380ms var(--ease-out);
  }
  .price-main:hover, .vault-col:hover, .win:hover {
    transform: translateY(-4px);
  }
}
.result b { font-size: 0.93rem; font-weight: 600; display: block; }
.result span { font-size: 0.82rem; color: var(--muted); }
.result .tag {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  padding: 2px 7px;
  border-radius: 99px;
  flex-shrink: 0;
}
.demo-note { margin-top: 14px; font-size: 0.85rem; color: var(--dim); }

/* ---- Spotify embed ---- */
.listen { margin-top: 16px; }
.sound {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  border-radius: 13px;
  background: color-mix(in oklab, var(--accent) 6%, transparent);
  flex-wrap: wrap;
}

/* speaker button */
.sound-btn {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 160ms var(--ease-out), transform 130ms var(--ease-out);
}
.sound-btn:hover { background: color-mix(in oklab, var(--accent) 14%, transparent); }
.sound-btn:active { transform: scale(0.94); }
.sound-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent); }
.spk { width: 22px; height: 22px; }

/* Muted (not playing): show the little ✕, hide the sound waves. */
.spk-x1, .spk-x2 { opacity: 0; transition: opacity 160ms var(--ease-out); }
.sound-btn[aria-pressed="false"] .spk-w1,
.sound-btn[aria-pressed="false"] .spk-w2 { opacity: 0; }
.sound-btn[aria-pressed="false"] .spk-x1,
.sound-btn[aria-pressed="false"] .spk-x2 { opacity: 1; }
/* Playing: the number of visible waves reflects the volume level. */
.sound-btn[data-level="0"] .spk-w1,
.sound-btn[data-level="0"] .spk-w2 { opacity: 0; }
.sound-btn[data-level="1"] .spk-w2 { opacity: 0.25; }
.sound-btn[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.spk-w1, .spk-w2 { transition: opacity 160ms var(--ease-out); }

.sound-body { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 5px; }
.sound-top { display: flex; align-items: center; gap: 12px; }
.sound-top b { font-size: 0.92rem; font-weight: 700; white-space: nowrap; }
.sound-body small { font-size: 0.78rem; color: var(--muted); }

/* Volume slider — collapsed until the row is hovered or focused, so it feels
   like it lives inside the speaker until you reach for it. */
.volume {
  flex: 1;
  min-width: 0;
  max-width: 0;
  opacity: 0;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 22%, oklch(0.3 0.01 149));
  outline: none;
  transition: max-width 260ms var(--ease-out), opacity 200ms var(--ease-out);
}
.sound:hover .volume,
.sound:focus-within .volume { max-width: 140px; opacity: 1; }
.volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 8px color-mix(in oklab, var(--accent) 60%, transparent);
}
.volume::-moz-range-thumb {
  width: 13px; height: 13px; border: none;
  border-radius: 50%; background: var(--accent); cursor: pointer;
}
@media (hover: none) {
  /* No hover on touch — always show the slider. */
  .volume { max-width: 120px; opacity: 1; }
}

/* nudge, now a compact inline cluster on the right */
.nudge { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nudge-label { font-size: 0.76rem; color: var(--dim); }
.nudge button {
  min-width: 38px;
  padding: 5px 8px;
  border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms var(--ease-out), transform 120ms var(--ease-out);
}
.nudge button:hover { background: color-mix(in oklab, var(--accent) 14%, transparent); }
.nudge button:active { transform: scale(0.94); }
.nudge-val {
  min-width: 40px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.player {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 14px;
}
.playbtn {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--glow-green);
  transition: transform 160ms var(--ease-out);
}
.playbtn:active { transform: scale(0.94); }
.playbtn svg { width: 22px; height: 22px; fill: currentColor; grid-area: 1 / 1; }
.playbtn .ico-pause { display: none; }
.playbtn[data-playing="true"] .ico-play { display: none; }
.playbtn[data-playing="true"] .ico-pause { display: block; }
.player-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.player-meta b { font-size: 0.94rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-meta span { font-size: 0.82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-time { font-size: 0.82rem; color: var(--dim); font-variant-numeric: tabular-nums; flex-shrink: 0; }

.demo-card-wrap { margin-top: 20px; display: flex; justify-content: center; }
.demo-card-wrap .dcard { max-width: 400px; box-shadow: 0 30px 70px -32px rgba(0, 0, 0, 0.9); }

/* ---------- the flow diagram (wired to the live demo) ---------- */
.flow {
  display: grid;
  grid-template-columns: 1fr 56px 1fr 56px 1fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: clamp(34px, 5vw, 60px);
}
.flow-node {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: var(--bg-2);
  min-height: 152px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
.flow-node.lit.n-sp,
.flow-node.lit.n-ly {
  border-color: color-mix(in oklab, var(--accent) 55%, transparent);
  box-shadow: 0 0 30px -8px color-mix(in oklab, var(--accent) 55%, transparent);
}
.flow-node.lit.n-dc {
  border-color: color-mix(in oklab, var(--brand) 60%, transparent);
  box-shadow: 0 0 30px -8px color-mix(in oklab, var(--brand) 60%, transparent);
}
.flow-head {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.flow-read { margin-top: auto; font-size: 0.76rem; color: var(--dim); }
.flow-read b { color: var(--accent); font-variant-numeric: tabular-nums; }

/* equaliser bars — constant motion, so linear timing */
.wave { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.wave i {
  width: 4px; border-radius: 2px; background: var(--accent);
  height: 30%; opacity: 0.85;
  animation: eq 900ms linear infinite alternate;
}
.wave i:nth-child(2) { animation-delay: -120ms; }
.wave i:nth-child(3) { animation-delay: -240ms; }
.wave i:nth-child(4) { animation-delay: -360ms; }
.wave i:nth-child(5) { animation-delay: -480ms; }
.wave i:nth-child(6) { animation-delay: -600ms; }
.wave i:nth-child(7) { animation-delay: -720ms; }
.wave i:nth-child(8) { animation-delay: -840ms; }
.wave i:nth-child(9) { animation-delay: -960ms; }
@keyframes eq { from { height: 18%; } to { height: 100%; } }
.flow.paused .wave i { animation-play-state: paused; }

.flow-match {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.flow-status {
  display: flex; gap: 8px; align-items: flex-start;
  background: #111214; border-radius: 8px; padding: 10px 11px;
  font-size: 0.87rem; color: #dbdee1; line-height: 1.35;
}
.flow-status em { font-style: normal; }

/* wire + travelling pulse */
.flow-wire { position: relative; display: grid; place-items: center; }
.flow-wire::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--line);
}
.flow-wire .pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px; height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  opacity: 0;
}
.flow-wire .pulse.run { animation: travel 620ms var(--ease-in-out); }
.flow-wire:last-of-type .pulse { background: var(--brand-lift); box-shadow: 0 0 10px var(--brand-lift); }
@keyframes travel {
  0% { opacity: 0; transform: translateX(0); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(48px); }
}

@media (max-width: 820px) {
  .flow { grid-template-columns: 1fr; }
  .flow-wire { height: 34px; }
  .flow-wire::before { left: 50%; right: auto; top: 0; bottom: 0; height: auto; width: 1px; }
  @keyframes travel {
    0% { opacity: 0; transform: translate(0, 0); }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { opacity: 0; transform: translate(0, 30px); }
  }
  .flow-wire .pulse { left: 50%; margin-left: -3.5px; top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wave i { animation: none; height: 60%; }
  .flow-wire .pulse.run { animation: none; opacity: 1; }
}

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.steps li { padding-top: 20px; border-top: 1px solid var(--line); }
.step-n {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.14rem; font-weight: 700; margin-top: 10px; letter-spacing: -0.015em; }
.steps p { color: var(--muted); margin-top: 7px; font-size: 0.95rem; text-wrap: pretty; }

/* ---------- inside the app ---------- */
.appshot { display: grid; grid-template-columns: 1.5fr 0.85fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .appshot { grid-template-columns: 1fr; } }

.win {
  border-radius: 14px;
  overflow: hidden;
  background: oklch(0.09 0.006 280);
  border: 1px solid color-mix(in oklab, var(--brand) 32%, transparent);
  box-shadow: 0 40px 90px -34px #000, 0 0 46px -14px color-mix(in oklab, var(--brand) 40%, transparent);
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  background: oklch(0.13 0.008 280);
  border-bottom: 1px solid var(--line);
}
.win-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.win-bar .dot.r { background: #ff5f57; }
.win-bar .dot.y { background: #febc2e; }
.win-bar .dot.g { background: #28c840; }
.win-title { margin-left: 8px; font-size: 0.76rem; color: var(--dim); font-weight: 600; }

.win-body { padding: 16px 18px 20px; }
.win-top { display: flex; align-items: center; gap: 8px; }
.win-brand {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 8px; margin-right: auto;
  border: 1px solid var(--line); border-radius: 8px;
}
.win-arrow { width: 10px; height: 10px; color: var(--dim); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 99px; padding: 4px 9px;
}
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.chip.on { border-color: color-mix(in oklab, var(--accent) 45%, transparent); color: var(--ink); }
.chip.on i { background: var(--accent); box-shadow: 0 0 7px var(--accent); }
.chip.on.v { border-color: color-mix(in oklab, var(--brand) 50%, transparent); }
.chip.on.v i { background: var(--brand-lift); box-shadow: 0 0 7px var(--brand-lift); }

.win-center { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 0 6px; }
.win-art {
  width: 74px; height: 74px; border-radius: 14px;
  /* gradient shows through until real artwork loads */
  background: linear-gradient(140deg, var(--accent-deep), var(--brand));
  object-fit: cover;
  box-shadow: 0 18px 36px -14px #000;
}
.win-track { margin-top: 14px; }
.win-track b { display: block; font-size: 1.05rem; font-weight: 700; }
.win-track span { font-size: 0.82rem; color: var(--muted); }
.win-lyrics { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.l-prev, .l-next { font-size: 0.84rem; color: var(--dim); }
.l-now {
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-shadow: 0 0 26px color-mix(in oklab, var(--accent) 40%, transparent);
}
/* word-by-word: words.js renders .w spans and drives --p plus .on / .done.
   Unsung = dim; the word being sung gets a bright sweep, lifts and glows;
   sung = solid. The sweep's soft edge runs from p*116%-16% to p*116%, so p=0 is
   fully dim and p=1 fully lit. */
.l-now { --w-dim: color-mix(in oklab, var(--ink) 34%, transparent); text-shadow: none; }
.l-now .w {
  display: inline-block;
  color: var(--w-dim);
  transition: transform 0.3s var(--ease-out), filter 0.3s var(--ease-out); /* not colour: on→done mustn't dip */
}
.l-now .w.on {
  color: transparent;
  background: linear-gradient(
    var(--sweep, 90deg),
    var(--ink) 0,
    var(--ink) calc(var(--p, 0) * 116% - 16%),
    var(--w-dim) calc(var(--p, 0) * 116%)
  );
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateY(-0.05em) scale(1.03);
  filter: drop-shadow(0 0 0.5em color-mix(in oklab, var(--accent) 70%, transparent));
}
.l-now .w.done { color: var(--ink); }
.l-now[dir="rtl"] { --sweep: 270deg; }
.win-hint {
  margin-top: 14px; font-size: 0.74rem; color: var(--dim); max-width: 30ch; text-wrap: balance;
}
@media (prefers-reduced-motion: reduce) {
  .l-now .w { transition: none; }
  .l-now .w.on { transform: none; filter: none; background: none; color: var(--ink); }
}
/* ---- the live demo's app-style stage: the song as it looks inside Statusong ---- */
.app-stage {
  position: relative;
  isolation: isolate;
  margin: 22px auto 0;
  max-width: 560px;
  padding: 30px 26px 26px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border-radius: 22px;
  background: oklch(0.15 0.012 280);
  border: 1px solid color-mix(in oklab, var(--accent) 22%, transparent);
  overflow: hidden;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.95);
}
/* the album-coloured glow at the top, like the app's */
.app-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 0%, color-mix(in oklab, var(--accent) 26%, transparent), transparent 72%);
  transition: background 0.8s ease;
}
.app-stage[hidden] { display: none; }
.stage-art {
  width: 128px; height: 128px; border-radius: 22px; object-fit: cover;
  box-shadow: 0 22px 44px -16px #000, 0 0 40px -14px color-mix(in oklab, var(--accent) 60%, transparent);
}
.stage-art[hidden] { display: none; }
.stage-track { margin-top: 16px; }
.stage-track b { display: block; font-size: 1.35rem; font-weight: 700; line-height: 1.25; text-wrap: balance; }
.stage-track span { display: block; margin-top: 3px; font-size: 0.9rem; color: var(--muted); }
.stage-lyrics {
  margin-top: 26px; width: 100%; min-height: 8.4rem;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.stage-lyrics .l-prev, .stage-lyrics .l-next { font-size: 0.98rem; line-height: 1.3; text-wrap: balance; }
.stage-lyrics .l-now {
  font-size: clamp(1.45rem, 4.4vw, 2rem); font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.3; min-height: 1.3em; text-wrap: balance;
}
.stage-bar { margin-top: 24px; width: min(420px, 100%); }
.stage-bar i { width: 0; transition: width 0.5s linear; }
.win-bar-progress {
  width: min(280px, 80%); height: 4px; border-radius: 99px;
  background: oklch(0.24 0.01 280); margin-top: 22px; overflow: hidden;
}
.win-bar-progress i {
  display: block; height: 100%; width: 42%; border-radius: 99px;
  background: var(--accent); box-shadow: var(--glow-green);
}
/* ---- the friends-preview card, as it appears inside the app ---- */
.win-friends {
  position: relative;
  margin: 22px auto 0;
  width: min(300px, 92%);
  padding: 16px 12px 12px;
  border: 1px solid color-mix(in oklab, var(--brand) 36%, transparent);
  border-radius: 14px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 8%, transparent), transparent 65%);
}
.win-friends-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: oklch(0.09 0.006 280);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.win-friends-label i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand-lift);
  box-shadow: 0 0 6px var(--brand-lift);
}
.win-dcard {
  background: #232428;
  border-radius: 9px;
  padding: 10px;
  text-align: left;
  font-family: "gg sans", "Segoe UI", system-ui, sans-serif;
}
.win-dc-top { display: flex; align-items: center; gap: 8px; }
.win-dc-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(140deg, var(--accent-deep), var(--brand));
  flex-shrink: 0;
}
.win-dc-name { font-size: 12px; font-weight: 700; color: #fff; }
.win-dc-status {
  margin-top: 8px;
  background: #111214;
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 11px;
  line-height: 1.35;
  color: #dbdee1;
  min-height: 28px;
  display: flex;
  align-items: center;
}

/* Equaliser inside the Stop button, matching the real app. */
.win-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; margin-right: 7px; }
.win-eq i {
  width: 2.5px; border-radius: 1px; background: currentColor; height: 40%;
  animation: winBump 780ms linear infinite alternate;
}
.win-eq i:nth-child(2) { animation-delay: -190ms; }
.win-eq i:nth-child(3) { animation-delay: -390ms; }
.win-eq i:nth-child(4) { animation-delay: -580ms; }
@keyframes winBump { from { height: 25%; } to { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .win-eq i { animation: none; height: 70%; } }

.win-foot { display: flex; justify-content: center; margin-top: 20px; }
.win-stop {
  font-size: 0.85rem; font-weight: 700; color: var(--ink);
  background: oklch(0.2 0.01 280); border-radius: 10px; padding: 10px 30px;
}

.appshot-notes { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.appshot-notes li { color: var(--muted); font-size: 0.94rem; padding-top: 16px; border-top: 1px solid var(--line); text-wrap: pretty; }
.appshot-notes b { color: var(--ink); font-weight: 700; }

/* ---------- setup ---------- */
.setup { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(24px, 4vw, 54px); align-items: start; }
@media (max-width: 860px) { .setup { grid-template-columns: 1fr; } }
.setup-list { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 4px; }
.setup-list li {
  counter-increment: s;
  padding: 18px 0 18px 52px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-wrap: pretty;
}
.setup-list li:last-child { border-bottom: none; }
.setup-list li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 15px;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}
.setup-list b { color: var(--ink); font-weight: 700; }
.setup-aside {
  background: color-mix(in oklab, var(--bg-2) 82%, var(--brand) 5%);
  border: 1px solid color-mix(in oklab, var(--brand) 38%, transparent);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 34px -12px color-mix(in oklab, var(--brand) 45%, transparent);
}
.marks { display: flex; align-items: center; gap: 12px; color: var(--dim); margin-bottom: 12px; }
.marks .mark { width: 26px; height: 26px; }
.setup-aside p { font-size: 0.88rem; color: var(--muted); text-wrap: pretty; }

/* ---------- privacy ---------- */
.vault { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(18px, 3vw, 28px); align-items: start; }
@media (max-width: 860px) { .vault { grid-template-columns: 1fr; } }

.vault-col { border-radius: 20px; padding: clamp(22px, 3vw, 30px); }
.vault-col.stays {
  background: color-mix(in oklab, var(--bg-2) 86%, var(--accent) 5%);
  border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
  box-shadow: 0 0 40px -10px color-mix(in oklab, var(--accent) 40%, transparent);
}
.vault-col.leaves {
  background: color-mix(in oklab, var(--bg-2) 84%, var(--brand) 5%);
  border: 1px solid color-mix(in oklab, var(--brand) 40%, transparent);
}
.vault-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.vault-ico { width: 24px; height: 24px; flex-shrink: 0; }
.stays .vault-ico { color: var(--accent); }
.leaves .vault-ico { color: var(--brand-lift); }
.vault-head h3 { font-size: 1.14rem; font-weight: 800; letter-spacing: -0.02em; }
.vault-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.vault-col li {
  font-size: 0.96rem;
  color: var(--ink);
  padding: 11px 14px;
  border-radius: 10px;
  background: oklch(0.11 0.008 280);
  border: 1px solid var(--line);
}
.vault-note { margin-top: 16px; font-size: 0.88rem; color: var(--muted); text-wrap: pretty; }

/* The section animates its point: things on the left settle and lock down,
   the two things on the right are the only ones that leave. */
@media (prefers-reduced-motion: no-preference) {
  /* .js-anim is set by script, so if JS never runs the list stays visible
     instead of shipping a blank panel. */
  .js-anim .vault-col li { opacity: 0; }
  .vault.in .stays li { animation: settle 520ms var(--ease-out) forwards; }
  .vault.in .leaves li { animation: depart 620ms var(--ease-out) forwards; }
  .vault-col li:nth-child(1) { animation-delay: 120ms; }
  .vault-col li:nth-child(2) { animation-delay: 210ms; }
  .vault-col li:nth-child(3) { animation-delay: 300ms; }
  .vault-col li:nth-child(4) { animation-delay: 390ms; }

  @keyframes settle {
    from { opacity: 0; transform: translateY(-10px); }
    70%  { transform: translateY(2px); }
    to   { opacity: 1; transform: none; }
  }
  /* starts left of where it lands, so the eye reads it as moving outward */
  @keyframes depart {
    from { opacity: 0; transform: translateX(-14px); }
    to   { opacity: 1; transform: none; }
  }

  .vault.in .vault-ico { animation: markIn 520ms var(--ease-out) backwards; }
  @keyframes markIn {
    from { opacity: 0; transform: scale(0.7); }
    to   { opacity: 1; transform: none; }
  }

  /* the safe keeps breathing, very slowly, so it reads as live protection */
  .vault.in .stays { animation: guard 5.5s ease-in-out 900ms infinite; }
  @keyframes guard {
    50% {
      box-shadow: 0 0 60px -6px color-mix(in oklab, var(--accent) 52%, transparent),
        inset 0 0 50px -26px color-mix(in oklab, var(--accent) 60%, transparent);
    }
  }
}

.verify {
  margin-top: clamp(20px, 3vw, 30px);
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
  text-wrap: pretty;
}
.verify b { color: var(--ink); }
.verify code {
  background: oklch(0.16 0.01 280);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.86em;
  color: var(--accent);
}

/* ---------- pricing ---------- */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3.5vw, 44px); align-items: start; }
@media (max-width: 900px) { .price { grid-template-columns: 1fr; } }
.price-main {
  background: color-mix(in oklab, var(--bg-2) 88%, var(--accent) 4%);
  border: 1px solid color-mix(in oklab, var(--accent) 48%, transparent);
  border-radius: 22px;
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: 0 0 44px -8px color-mix(in oklab, var(--accent) 38%, transparent),
    inset 0 0 50px -26px color-mix(in oklab, var(--accent) 60%, transparent);
}
.price-tag {
  font-size: clamp(4rem, 11vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variation-settings: "wdth" 84;
  color: var(--accent);
  margin: 20px 0 6px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  text-shadow: 0 0 40px color-mix(in oklab, var(--accent) 60%, transparent);
}
.price-tag span { font-size: 0.36em; margin-top: 0.4em; font-weight: 700; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 18px 0 26px; }
.price-list li { color: var(--muted); font-size: 0.95rem; padding-left: 26px; position: relative; }
.price-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.62em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
/* PayPal's own blue — people scan for this, so don't restyle it away. */
.btn-paypal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  background: #0070ba;
  color: #fff;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  box-shadow: 0 0 20px -6px rgba(0, 112, 186, 0.7);
  transition: filter 180ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn-paypal svg { width: 19px; height: 19px; }
@media (hover: hover) and (pointer: fine) {
  .btn-paypal:hover { filter: brightness(1.12); transform: translateY(-1px); }
}
.btn-paypal:active { transform: scale(0.975); }

.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  text-wrap: pretty;
}
.guarantee svg { width: 17px; height: 17px; flex-shrink: 0; }
.pay-note { text-align: center; font-size: 0.82rem; color: var(--dim); margin-top: 10px; }

.risk {
  border: 1px solid color-mix(in oklab, var(--brand) 42%, transparent);
  border-radius: 22px;
  padding: clamp(24px, 3.5vw, 36px);
  background: color-mix(in oklab, var(--bg-2) 80%, var(--brand) 5%);
  box-shadow: 0 0 40px -10px color-mix(in oklab, var(--brand) 40%, transparent);
}
.risk h3 {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.risk p { color: var(--muted); font-size: 0.93rem; margin-bottom: 13px; text-wrap: pretty; }
.risk b { color: var(--ink); font-weight: 700; }
.risk-foot { color: var(--ink) !important; font-weight: 600; margin-bottom: 0 !important; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 clamp(24px, 4vw, 54px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 17px 28px 17px 0;
  font-weight: 600;
  font-size: 0.99rem;
  list-style: none;
  position: relative;
  transition: color 160ms var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--dim);
  border-bottom: 2px solid var(--dim);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 220ms var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { color: var(--muted); font-size: 0.92rem; padding-bottom: 18px; max-width: 52ch; text-wrap: pretty; }
/* Grid-item <details> can leak their content while collapsed — hide it explicitly. */
.faq details:not([open]) p { display: none; }

/* ---------- sign in ---------- */
.signin {
  max-width: 440px;
  margin: 0 auto;
  padding: clamp(40px, 9vw, 96px) var(--pad) 80px;
  text-align: center;
}
.signin-title {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variation-settings: "wdth" 108;
}
.signin-sub { margin-top: 12px; color: var(--muted); font-size: 0.94rem; text-wrap: pretty; }

.signin-box {
  margin-top: 34px;
  background: color-mix(in oklab, var(--bg-2) 88%, var(--accent) 4%);
  border: 1px solid color-mix(in oklab, var(--accent) 38%, transparent);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 30px);
  box-shadow: 0 0 44px -12px color-mix(in oklab, var(--accent) 34%, transparent);
}

/* Provider buttons wear their own brand colour — that recognition is the
   whole reason people trust a "continue with" button. */
.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--discord); /* real Discord blurple #5865F2 */
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 0 20px -4px color-mix(in srgb, var(--discord) 60%, transparent);
  transition: transform 160ms var(--ease-out), filter 180ms var(--ease-out);
}
.oauth-btn svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .oauth-btn:hover { filter: brightness(1.1); transform: translateY(-1px); } }
.oauth-btn:active { transform: scale(0.975); }
/* Google keeps its own identity so the two providers never read as one button. */
.oauth-btn.google {
  background: oklch(0.97 0 0);
  color: oklch(0.25 0 0);
  box-shadow: none;
  margin-bottom: 10px;
}
@media (hover: hover) and (pointer: fine) {
  .oauth-btn.google:hover { filter: none; background: #fff; }
}

.signin-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: var(--dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.signin-or::before, .signin-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.signin-box form { display: flex; flex-direction: column; gap: 11px; }
.signin-box input {
  background: oklch(0.09 0.006 280);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 20px;
  color: var(--ink);
  font-size: 0.98rem;
  font-family: inherit;
  outline: none;
  text-align: center;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.signin-box input::placeholder { color: var(--dim); }
.signin-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent);
}
.signin-box .btn[disabled] { opacity: 0.6; cursor: default; }

.signin-msg { min-height: 20px; margin-top: 14px; font-size: 0.85rem; color: var(--muted); text-wrap: pretty; }
.signin-msg.good { color: var(--accent); }
.signin-msg.bad { color: oklch(0.72 0.19 25); }
.signin-foot { margin-top: 24px; font-size: 0.85rem; color: var(--dim); text-wrap: pretty; }
.signin-foot a { color: var(--accent); }

/* ---------- account ---------- */
.account { max-width: 720px; margin: 0 auto; padding: clamp(34px, 7vw, 80px) var(--pad) 80px; }
.account-head { margin-bottom: 28px; }
.key-panel {
  background: color-mix(in oklab, var(--bg-2) 88%, var(--accent) 4%);
  border: 1px solid color-mix(in oklab, var(--accent) 42%, transparent);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 32px);
  box-shadow: 0 0 44px -12px color-mix(in oklab, var(--accent) 34%, transparent);
}
.key-panel.empty { border-color: var(--line); box-shadow: none; }
.key-panel.empty h2 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.key-panel.empty p { margin-top: 10px; color: var(--muted); font-size: 0.93rem; text-wrap: pretty; }
.key-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.key-value {
  display: block;
  margin-top: 10px;
  background: oklch(0.09 0.006 280);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 16px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.65;
  color: var(--accent);
  word-break: break-all;
  user-select: all;
}
.key-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.btn-quiet { color: var(--muted); text-decoration: none; font-size: 0.88rem; font-weight: 600; }
.btn-quiet:hover { color: var(--ink); }
.key-hint { margin-top: 16px; font-size: 0.84rem; color: var(--dim); text-wrap: pretty; }

/* ---------- key recovery page ---------- */
.auth {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(30px, 7vw, 90px) var(--pad) clamp(50px, 8vw, 110px);
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } }

.auth-card {
  background: color-mix(in oklab, var(--bg-2) 88%, var(--accent) 4%);
  border: 1px solid color-mix(in oklab, var(--accent) 42%, transparent);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 0 44px -10px color-mix(in oklab, var(--accent) 36%, transparent),
    inset 0 0 50px -26px color-mix(in oklab, var(--accent) 55%, transparent);
}
.auth-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variation-settings: "wdth" 105;
}
.auth-lede { margin-top: 12px; color: var(--muted); font-size: 0.95rem; text-wrap: pretty; }

.auth-field { display: flex; flex-direction: column; gap: 8px; margin: 24px 0 16px; }
.auth-field span { font-size: 0.83rem; font-weight: 600; color: var(--muted); }
.auth-field input {
  background: oklch(0.09 0.006 280);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.auth-field input::placeholder { color: var(--dim); }
.auth-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}
.auth-card .btn[disabled] { opacity: 0.6; cursor: default; }

.auth-msg { min-height: 20px; margin-top: 14px; font-size: 0.87rem; text-align: center; text-wrap: pretty; }
.auth-msg.good { color: var(--accent); }
.auth-msg.bad { color: oklch(0.72 0.19 25); }

.auth-foot { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.auth-foot p { font-size: 0.85rem; color: var(--dim); }
.auth-foot a { color: var(--accent); }
.auth-alt { margin-top: 8px; }

.auth-why h2 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.auth-why ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.auth-why li { font-size: 0.9rem; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); text-wrap: pretty; }
.auth-why b { color: var(--ink); font-weight: 700; display: block; margin-bottom: 2px; }

/* ---------- thanks page ---------- */
.thanks { max-width: 640px; text-align: center; }
.thanks .sub { margin: 14px auto 30px; }
.thanks-steps { text-align: left; margin-bottom: 32px; }
.thanks-note { margin-top: 20px; font-size: 0.86rem; color: var(--dim); }
.thanks-note a { color: var(--accent); }

/* ---------- footer ---------- */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px var(--pad) 56px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
  color: var(--dim);
}
.footer span:first-child { font-weight: 900; color: var(--muted); font-variation-settings: "wdth" 88; }
.footer-legal { max-width: 56ch; }

/* ---------- scroll reveal: enhances content that is already visible ---------- */
.section { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); }
  .reveal.in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}


/* ---- Free vs Pro tiers (pricing) ---- */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 8px; }
.tier {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: oklch(0.17 0.012 280);
  border: 1px solid oklch(0.3 0.02 280);
  text-align: left;
}
.tier > b { font-size: 1.05rem; display: flex; align-items: baseline; gap: 8px; }
.tier > b em { font-style: normal; font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.tier .price-list { margin: 0; flex: 1; }
.tier-pro {
  border-color: color-mix(in oklab, var(--accent) 55%, transparent);
  box-shadow: 0 0 40px -14px color-mix(in oklab, var(--accent) 45%, transparent),
    inset 0 0 40px -26px color-mix(in oklab, var(--accent) 60%, transparent);
}
.tier-note { margin: 0 0 14px; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }


/* ---- Free vs Pro comparison ---- */
.tier-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tier-top b { font-size: 1.15rem; }
.tier-price { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.tier-pro .tier-price { color: var(--accent); }
.tier-lede { margin: -4px 0 0; font-size: 0.86rem; line-height: 1.45; color: var(--muted); }
.tier-list { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; gap: 9px; }
.tier-list li { position: relative; padding-left: 24px; font-size: 0.9rem; line-height: 1.4; color: var(--ink-2, #d5d8de); }
.tier-list li b { color: var(--ink, #fff); }
.tier-list li::before {
  position: absolute; left: 0; top: 0.05em; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; font-weight: 800; line-height: 1;
}
.tier-list li.y::before { content: "✓"; color: oklch(0.2 0.02 150); background: var(--accent); }
.tier-list li.n { color: var(--dim); }
.tier-list li.n::before { content: "–"; color: var(--dim); background: oklch(0.26 0.01 280); }
.tier-promise {
  display: flex; gap: 11px; align-items: flex-start;
  margin: 6px 0 12px; padding: 13px 15px; border-radius: 14px;
  background: color-mix(in oklab, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 28%, transparent);
  font-size: 0.86rem; line-height: 1.5; color: var(--muted);
}
.tier-promise svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.tier-promise b { color: var(--ink, #fff); }
.tier-note b { color: var(--ink, #fff); }
.tier-note a { color: var(--accent); text-underline-offset: 3px; }

/* pricing: the comparison needs the full width; "Good to know" sits under it */
.price { grid-template-columns: 1fr; max-width: 980px; margin-inline: auto; }
.price-main .tiers { gap: 18px; }


/* ===================================================================
   Same pieces as the app: animated icons, the Discord preview, the player chips
   =================================================================== */
.ico { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico-copy .c-back { animation: icoCopy 2.4s ease-in-out infinite; }
.ico-copy .c-line { stroke-dasharray: 8; animation: icoDraw 2.4s ease-in-out infinite; }
.ico-copy .l2 { animation-delay: 0.25s; }
@keyframes icoCopy { 0%, 25% { opacity: 0.2; transform: translate(-3px, 3px); } 55%, 100% { opacity: 1; transform: translate(0, 0); } }
@keyframes icoDraw { 0% { stroke-dashoffset: 8; } 45%, 100% { stroke-dashoffset: 0; } }
.ico-paste .p-clip { animation: icoClip 2.4s ease-in-out infinite; }
.ico-paste .p-l { stroke-dasharray: 12; animation: icoWrite 2.4s ease-in-out infinite; }
.ico-paste .p2 { animation-delay: 0.2s; }
.ico-paste .p3 { animation-delay: 0.4s; }
@keyframes icoClip { 0%, 100% { transform: translateY(0); } 15% { transform: translateY(2px); } 30% { transform: translateY(0); } }
@keyframes icoWrite { 0%, 10% { stroke-dashoffset: 12; } 45%, 100% { stroke-dashoffset: 0; } }
.ico-plug .pl-a { animation: icoPlugA 2.2s ease-in-out infinite; }
.ico-plug .pl-b { animation: icoPlugB 2.2s ease-in-out infinite; }
.ico-plug .pl-spark { animation: icoSpark 2.2s ease-in-out infinite; }
@keyframes icoPlugA { 0%, 15% { transform: translateX(-4px); } 50%, 100% { transform: translateX(0); } }
@keyframes icoPlugB { 0%, 15% { transform: translateX(4px); } 50%, 100% { transform: translateX(0); } }
@keyframes icoSpark { 0%, 45% { opacity: 0; } 55% { opacity: 1; } 80%, 100% { opacity: 0.25; } }
.ico-check .k-ring { stroke-dasharray: 76; animation: icoRing 3s ease-in-out infinite; }
.ico-check .k-tick { stroke-dasharray: 22; animation: icoTick 3s ease-in-out infinite; }
@keyframes icoRing { 0% { stroke-dashoffset: 76; } 35%, 100% { stroke-dashoffset: 0; } }
@keyframes icoTick { 0%, 30% { stroke-dashoffset: 22; } 55%, 100% { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ico, .ico * { animation: none !important; } }

/* ---- the 4-step progress, as in the app ---- */
.setup2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.setup2 .sdots, .setup2 .sb-player, .setup2 .sb-discord { grid-column: 1 / -1; }
@media (max-width: 760px) { .setup2 { grid-template-columns: 1fr; } .setup2 .sb-connect, .setup2 .sb-done { grid-column: 1 / -1; } }
.sdots { list-style: none; display: flex; max-width: 620px; margin: 0 auto 6px; width: 100%; counter-reset: sd; }
.sdots li { position: relative; flex: 1; text-align: center; padding-top: 38px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; color: var(--dim); counter-increment: sd; transition: color 300ms; }
.sdots li::before { content: counter(sd); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; background: var(--surface); border: 2px solid var(--line); color: var(--muted); transition: background 300ms, border-color 300ms, transform 300ms var(--ease-spring), box-shadow 300ms; }
.sdots li::after { content: ""; position: absolute; top: 13px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 2px; background: var(--line); transition: background 400ms; }
.sdots li:last-child::after { display: none; }
.sdots li.done { color: var(--ink); }
.sdots li.done::before { content: "✓"; background: var(--spotify); border-color: var(--spotify); color: #04220f; }
.sdots li.done::after { background: var(--spotify); }
.sdots li.now { color: var(--ink); }
.sdots li.now::before { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateX(-50%) scale(1.18); box-shadow: 0 0 20px -2px var(--accent); }

/* ---- a step block ---- */
.sblock { padding: clamp(18px, 3vw, 28px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 50px -32px #000; }
.sblock h3 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 1.25rem; letter-spacing: -0.02em; }
.sn { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 0.9rem; background: color-mix(in oklab, var(--accent) 22%, transparent); color: var(--accent); }
.sblock > p { margin-top: 8px; font-size: 0.95rem; color: var(--muted); }
.pro-tag { padding: 2px 8px; border-radius: 6px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; color: #fff; background: linear-gradient(100deg, #f472b6, #a855f7); }

/* ---- player chips ---- */
.schips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
@media (max-width: 640px) { .schips { grid-template-columns: 1fr 1fr; } }
button.sp { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px 14px; border-radius: 18px; cursor: pointer; font-family: inherit; color: var(--muted); background: oklch(0.13 0.01 280); border: 1.5px solid var(--line); transition: transform 240ms var(--ease-out), border-color 200ms, background 200ms, box-shadow 300ms, color 200ms; }
button.sp i { width: 32px; height: 32px; margin-bottom: 4px; transition: transform 300ms var(--ease-spring); }
button.sp i svg { width: 100%; height: 100%; fill: currentColor; }
button.sp i svg[fill="none"] { fill: none; }
button.sp b { font-size: 0.92rem; color: var(--ink); }
button.sp small { font-size: 0.74rem; color: var(--dim); }
button.sp em { position: absolute; top: 8px; right: 8px; font-style: normal; font-size: 0.56rem; font-weight: 800; letter-spacing: 0.08em; padding: 1px 6px; border-radius: 4px; color: #1a1300; background: #fbbf24; }
button.sp:hover { transform: translateY(-4px); }
button.sp:hover i { transform: scale(1.15) rotate(-5deg); }
button.sp.on { color: var(--spotify); border-color: var(--spotify); background: color-mix(in oklab, var(--spotify) 10%, oklch(0.13 0.01 280)); box-shadow: 0 16px 34px -18px var(--spotify); }
.sfound { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.sfound i { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; animation: sfPulse 2.4s ease-out infinite; }
@keyframes sfPulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }

/* ---- two Discord previews ---- */
.scards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
@media (max-width: 720px) { .scards { grid-template-columns: 1fr; } }
.scard { padding: 14px 14px 18px; border-radius: 20px; background: oklch(0.13 0.01 280); border: 1.5px solid var(--line); transition: transform 260ms var(--ease-out), border-color 200ms, box-shadow 300ms; outline: none; }
.scard:hover, .scard:focus-visible { transform: translateY(-5px); border-color: var(--discord); box-shadow: 0 22px 46px -22px var(--discord); }
.scard:nth-child(2):hover, .scard:nth-child(2):focus-visible { border-color: #f59e0b; box-shadow: 0 22px 46px -22px #f59e0b; }
.scard h4 { margin-top: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 1.05rem; }
.scard p { margin-top: 4px; font-size: 0.86rem; color: var(--muted); }
.stag { padding: 2px 8px; border-radius: 6px; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; }
.stag.good { color: #052e16; background: #22c55e; }
.stag.warn { color: #2a1700; background: #f59e0b; }

/* the Discord profile preview (same as in the app) */
.dr { position: relative; overflow: hidden; text-align: left; color: #dbdee1; font-family: "gg sans", "Segoe UI", system-ui, sans-serif; background: #111214; border: 1px solid #1e1f22; border-radius: 10px; box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.85); }
.dr-banner { height: 56px; background: linear-gradient(115deg, #5865f2 0%, #7b5cf5 55%, #9b59f0 100%); }
.dr-top { position: relative; height: 36px; }
.dr-avatar { position: absolute; left: 14px; top: -34px; width: 72px; height: 72px; border-radius: 50%; background: #111214; border: 6px solid #111214; }
.dr-av-ph { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(140deg, #8ee7e1, #fcd3e8 55%, #b39bff); }
.dr-av-ph b { font-size: 26px; color: rgba(30, 20, 60, 0.78); }
.dr-dot { position: absolute; right: -5px; bottom: -5px; width: 20px; height: 20px; border-radius: 50%; background: #23a55a; border: 4px solid #111214; }
.dr-bubble { position: absolute; left: 92px; top: -28px; max-width: calc(100% - 108px); display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 14px; background: #1e1f22; border: 1px solid #2b2d31; font-size: 13px; color: #dbdee1; }
.dr-t1, .dr-t2 { position: absolute; border-radius: 50%; background: #1e1f22; border: 1px solid #2b2d31; }
.dr-t1 { left: -9px; bottom: -2px; width: 9px; height: 9px; }
.dr-t2 { left: -17px; bottom: -9px; width: 5px; height: 5px; }
.dr-body { padding: 0 14px 14px; }
.dr-name b { display: block; font-size: 19px; line-height: 1.2; color: #f2f3f5; }
.dr-name span { display: block; font-size: 13px; color: #b5bac1; }
.dr-div { height: 1px; margin: 11px 0; background: #2b2d31; }
.dr-sec h6 { margin: 0 0 5px; font-size: 12px; font-weight: 700; color: #f2f3f5; }
.dr-sec p { margin: 0; font-size: 13px; color: #dbdee1; }
.dr-act { display: flex; gap: 12px; align-items: center; }
.dr-art { flex: none; position: relative; width: 58px; height: 58px; border-radius: 6px; overflow: hidden; background: linear-gradient(140deg, #ffb35a, #e0457b 52%, #5b2a8f); }
.dr-art i { position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.35), transparent 55%); }
.dr-meta { flex: 1; min-width: 0; display: grid; gap: 2px; }
.dr-meta b { font-size: 13.5px; color: #f2f3f5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-line { font-style: normal; font-size: 13px; line-height: 1.3; min-height: 17px; color: #dbdee1; transition: opacity 220ms, transform 220ms; }
.dr-line.swap { opacity: 0; transform: translateY(6px); }
.dr-line .w { display: inline-block; animation: drIn 380ms var(--ease-out) backwards; }
@keyframes drIn { from { opacity: 0; transform: translateY(6px); } }
.dr-line .fxe { animation: drPop 520ms var(--ease-spring) backwards; }
@keyframes drPop { from { opacity: 0; transform: scale(0.2) rotate(-25deg); } }
.dr-prog { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.dr-prog small { font-size: 11px; color: #b5bac1; font-variant-numeric: tabular-nums; }
.dr-bar { flex: 1; height: 4px; border-radius: 2px; background: #4e5058; overflow: hidden; }
.dr-bar i { display: block; height: 100%; width: 12%; border-radius: 2px; background: #fff; transition: width 1s linear; }
.dmock.live .dr-dot { animation: sfPulse 2.4s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .dr-line .w, .dr-line .fxe, .dmock.live .dr-dot { animation: none; } }

/* ---- connect + done blocks ---- */
.srows { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.srows li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: oklch(0.13 0.01 280); border: 1px solid var(--line); transition: border-color 250ms, transform 300ms var(--ease-out); }
.srows li:hover { border-color: var(--discord); transform: translateX(4px); }
.si { flex: none; width: 38px; height: 38px; color: #aab4ff; }
.si.big { width: 54px; height: 54px; color: #4ade80; }
.srows b { display: block; font-size: 1rem; }
.srows small { display: block; font-size: 0.82rem; color: var(--muted); }
.sdone { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.sdone p { font-size: 0.95rem; color: var(--muted); }

/* ===================================================================
   Pricing: two clearly separate cards
   =================================================================== */
.price-main { background: oklch(0.1 0.008 280); }
.tiers { gap: 26px; margin: 24px 0 16px; align-items: stretch; }
.tier { position: relative; padding: 24px 24px 22px; border-radius: 24px; transition: transform 320ms var(--ease-out), box-shadow 320ms; }
.tier-free { background: oklch(0.19 0.012 280); border: 1.5px solid oklch(0.38 0.02 280); box-shadow: 0 30px 50px -34px #000; }
.tier-pro {
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 16%, oklch(0.15 0.012 280)), oklch(0.15 0.012 280) 55%);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent) 55%, transparent), 0 30px 70px -26px color-mix(in oklab, var(--accent) 55%, transparent);
  transform: translateY(-8px);
}
.tier-pro::before {
  content: "BEST FOR DISCORD"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 999px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; white-space: nowrap;
  color: var(--on-accent); background: var(--accent); box-shadow: var(--glow-green);
}
.tier:hover { transform: translateY(-6px); }
.tier-pro:hover { transform: translateY(-14px); }
.tier-top b { font-size: 1.4rem; }
.tier-list { gap: 11px; }
.tier-list li { padding-left: 30px; }
.tier-list li::before { width: 20px; height: 20px; font-size: 12px; }
.tier-list li.y::before { box-shadow: 0 0 12px -2px var(--accent); }
.tiers .tier-list li { opacity: 0; transform: translateX(-10px); }
.tiers.in .tier-list li { animation: tierLi 480ms var(--ease-out) forwards; }
.tiers.in .tier-list li:nth-child(1) { animation-delay: 80ms; }
.tiers.in .tier-list li:nth-child(2) { animation-delay: 150ms; }
.tiers.in .tier-list li:nth-child(3) { animation-delay: 220ms; }
.tiers.in .tier-list li:nth-child(4) { animation-delay: 290ms; }
.tiers.in .tier-list li:nth-child(5) { animation-delay: 360ms; }
.tiers.in .tier-list li:nth-child(6) { animation-delay: 430ms; }
.tiers.in .tier-list li:nth-child(7) { animation-delay: 500ms; }
.tiers.in .tier-list li:nth-child(8) { animation-delay: 570ms; }
.tiers.in .tier-list li:nth-child(9) { animation-delay: 640ms; }
@keyframes tierLi { to { opacity: 1; transform: none; } }
html:not(.js-anim) .tiers .tier-list li { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tiers .tier-list li { opacity: 1; transform: none; animation: none !important; } .tier-pro { transform: none; } }
@media (max-width: 560px) { .tier-pro { transform: none; margin-top: 8px; } .tier-pro:hover { transform: translateY(-6px); } }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 50; max-width: min(520px, calc(100vw - 32px)); padding: 14px 20px; border-radius: 16px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; font-size: 0.92rem; font-weight: 600; color: var(--ink); background: oklch(0.2 0.014 280); border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent); box-shadow: 0 20px 50px -20px #000, 0 0 30px -12px var(--accent); transition: transform 380ms var(--ease-spring), opacity 260ms; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }


/* ===================================================================
   Free vs Pro as one clear comparison, with a walk-through
   =================================================================== */
.cmp { margin: 22px 0 16px; border-radius: 24px; overflow: hidden; background: oklch(0.12 0.01 280); border: 1.5px solid oklch(0.32 0.02 280); box-shadow: 0 40px 80px -50px #000; }
.cmp-top { display: grid; grid-template-columns: 1fr 160px 160px; gap: 12px; align-items: end; padding: 22px 22px 18px; background: linear-gradient(180deg, oklch(0.17 0.012 280), oklch(0.12 0.01 280)); border-bottom: 1px solid var(--line); }
.cmp-legend { display: flex; flex-direction: column; gap: 8px; font-size: 0.8rem; color: var(--muted); align-self: center; }
.cmp-legend span { display: flex; align-items: center; gap: 8px; }
.cmp-legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.lg-y { background: var(--accent); box-shadow: 0 0 10px -1px var(--accent); }
.lg-n { background: oklch(0.3 0.02 25); border: 2px solid oklch(0.55 0.12 25); }
.cmp-plan { position: relative; display: grid; gap: 2px; justify-items: center; text-align: center; padding: 14px 12px 14px; border-radius: 18px; }
.cmp-plan b { font-size: 1.25rem; }
.cmp-plan > span { font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.cmp-plan.free { background: oklch(0.2 0.012 280); border: 1.5px solid oklch(0.38 0.02 280); }
.cmp-plan.pro { background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 22%, oklch(0.16 0.012 280)), oklch(0.15 0.012 280)); border: 2px solid var(--accent); box-shadow: 0 0 40px -14px var(--accent); transform: translateY(-4px); }
.cmp-plan.pro > span { color: var(--accent); }
.cmp-ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; font-style: normal; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.1em; white-space: nowrap; color: var(--on-accent); background: var(--accent); }
.btn-sm2 { padding: 9px 12px; font-size: 0.86rem; }

.cmp-list { list-style: none; position: relative; }
.cmp-group { padding: 14px 22px 8px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); background: oklch(0.14 0.01 280); border-top: 1px solid var(--line); }
.cmp-tag { margin-left: 6px; padding: 1px 7px; border-radius: 5px; font-style: normal; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; color: #fff; background: linear-gradient(100deg, #f472b6, #a855f7); }
.cmp-row { position: relative; display: grid; grid-template-columns: 1fr 160px 160px; gap: 12px; align-items: center; padding: 13px 22px; border-top: 1px solid rgba(255, 255, 255, 0.05); outline: none; transition: background 300ms, transform 300ms var(--ease-out); }
.cmp-row::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(100deg, transparent 0%, color-mix(in oklab, var(--accent) 16%, transparent) 45%, transparent 90%); transform: translateX(-60%); }
.cmp-feat { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cmp-feat > i { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-size: 0.95rem; font-weight: 800; color: var(--muted); background: oklch(0.2 0.012 280); border: 1px solid var(--line); transition: color 300ms, background 300ms, border-color 300ms, transform 400ms var(--ease-spring); }
.cmp-feat b { display: block; font-size: 0.98rem; line-height: 1.25; color: oklch(0.9 0.006 280); }
.cmp-feat small { display: block; margin-top: 1px; font-size: 0.8rem; color: var(--dim); }
.cmp-cell { display: grid; justify-items: center; gap: 3px; }
.cmp-cell small { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); opacity: 0; transition: opacity 300ms; }
.cm-ck, .cm-x { width: 28px; height: 28px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cm-ck { stroke: var(--accent); }
.cm-ck .cm-ring { fill: color-mix(in oklab, var(--accent) 14%, transparent); }
.cm-x { stroke: oklch(0.58 0.13 25); }
.cm-x circle { fill: color-mix(in oklab, oklch(0.58 0.13 25) 10%, transparent); }
.cmp-cell.n { opacity: 0.8; }

/* the walk-through: one row at a time lights up, its answer pops, then it moves on */
.cmp-row.hl { background: oklch(0.17 0.014 280); }
.cmp-row.hl::before { opacity: 1; animation: cmpSweep 1.2s ease-out; }
@keyframes cmpSweep { to { transform: translateX(60%); opacity: 0; } }
.cmp-row.hl .cmp-feat > i { color: var(--on-accent); background: var(--accent); border-color: var(--accent); transform: scale(1.12) rotate(-6deg); }
.cmp-row.hl .cmp-feat b { color: #fff; }
.cmp-row.hl .cmp-cell small { opacity: 1; }
.cmp-row.hl .cmp-cell.y .cm-ck { animation: cmpPop 520ms var(--ease-spring); }
.cmp-row.hl .cmp-cell.y .cm-tick { stroke-dasharray: 22; animation: cmpTick 520ms 80ms ease-out backwards; }
.cmp-row.hl .cmp-cell.n .cm-x { animation: cmpShake 520ms; }
.cmp-row.hl .cmp-cell.n small { color: oklch(0.7 0.13 25); }
@keyframes cmpPop { 0% { transform: scale(0.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes cmpTick { from { stroke-dashoffset: 22; } }
@keyframes cmpShake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px) rotate(-8deg); } 55% { transform: translateX(4px) rotate(8deg); } 80% { transform: translateX(-2px); } }
@media (max-width: 720px) {
  .cmp-top, .cmp-row { grid-template-columns: 1fr 84px 84px; padding-inline: 14px; gap: 8px; }
  .cmp-legend { display: none; }
  .cmp-top { align-items: stretch; grid-template-columns: 0fr 1fr 1fr; }
  .cmp-feat > i { display: none; }
  .cmp-group { padding-inline: 14px; }
  .cmp-cell small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cmp-row.hl::before, .cmp-row.hl .cm-ck, .cmp-row.hl .cm-tick, .cmp-row.hl .cm-x { animation: none !important; } }

/* ===================================================================
   Hero: a Discord profile that looks real (generated banner + cover)
   =================================================================== */
.hero-stage { position: relative; }
.hero-stage::before { content: ""; position: absolute; inset: -10% -6% 6%; z-index: -1; border-radius: 40px; background: radial-gradient(60% 60% at 50% 40%, color-mix(in oklab, var(--brand) 38%, transparent), transparent 70%); filter: blur(30px); animation: heroGlow 6s ease-in-out infinite alternate; }
@keyframes heroGlow { to { opacity: 0.6; transform: scale(1.06); } }
.dcard { background: #111214; border: 1px solid #1e1f22; border-radius: 16px; animation: heroFloat 7s ease-in-out infinite; }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.dcard-banner { height: 92px; background: #5865f2 url(img/banner-neon.jpg) center / cover; }
.dcard-body { position: relative; padding: 0 16px 16px; }
.dcard-avatar { position: relative; width: 82px; height: 82px; margin-top: -40px; border: 6px solid #111214; background: linear-gradient(140deg, #8ee7e1, #fcd3e8 55%, #b39bff); }
.dcard-avatar::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: #23a55a; border: 5px solid #111214; }
.dcard-name { margin-top: 10px; }
.dcard-name strong { font-size: 1.35rem; }
.dstatus { background: #1e1f22; border: 1px solid #2b2d31; border-radius: 16px 16px 16px 4px; width: fit-content; max-width: 100%; }
.dspotify { background: #1a1b1e; border: 1px solid #26282c; border-radius: 12px; padding: 14px 14px 14px; }
.dspotify-head { margin-bottom: 12px; }
.dspotify-head .mark { width: 16px; height: 16px; }
.dspotify-art { width: 64px; height: 64px; border-radius: 7px; background: #2b2d31 url(img/album-amber.jpg) center / cover; box-shadow: 0 6px 16px -6px #000; }
.dspotify-meta b { font-size: 0.95rem; }
.dbar { height: 4px; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .dcard, .hero-stage::before { animation: none; } }


/* hover card on the comparison rows */
.cmp-tip { position: fixed; z-index: 60; display: none; pointer-events: none; padding: 14px 14px 14px; border-radius: 18px; background: oklch(0.15 0.014 280); border: 1.5px solid oklch(0.4 0.03 280); box-shadow: 0 30px 60px -20px #000, 0 0 40px -18px var(--accent); opacity: 0; transform: translateY(6px) scale(0.98); transition: opacity 180ms, transform 220ms var(--ease-out); }
.cmp-tip.on { opacity: 1; transform: none; }
.cmp-tip.up { transform-origin: bottom left; }
.tp-t { font-size: 0.9rem; font-weight: 600; color: var(--ink); line-height: 1.4; margin-bottom: 10px; }
.tp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tp-col { display: grid; gap: 6px; }
.tp-h { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.tp-col.pro .tp-h { color: var(--accent); }
.tp-box { position: relative; min-height: 78px; display: grid; place-items: center; padding: 10px; border-radius: 12px; overflow: hidden; background: oklch(0.1 0.008 280); border: 1px solid var(--line); text-align: center; }
.tp-col.pro .tp-box { border-color: color-mix(in oklab, var(--accent) 55%, transparent); }
.tp-col.no .tp-box { opacity: 0.8; }
.tp-lock { position: absolute; right: 6px; top: 6px; padding: 1px 7px; border-radius: 5px; font-size: 0.58rem; font-weight: 800; color: #fff; background: linear-gradient(100deg, #f472b6, #a855f7); }
.tp-line { font-size: 0.86rem; font-weight: 700; color: oklch(0.88 0.01 280); line-height: 1.3; }
.tp-chips { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.tp-chips span { padding: 3px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; background: oklch(0.22 0.014 280); border: 1px solid var(--line); }
.tp-tray { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 700; }
.tp-tray i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: tpPulse 1.6s infinite; }
@keyframes tpPulse { 50% { opacity: 0.35; } }
.tp-glow { width: 100%; height: 56px; border-radius: 10px; background: radial-gradient(80% 90% at 30% 20%, #e8a24a, transparent 70%), radial-gradient(70% 80% at 80% 80%, #7a3d1d, transparent 70%), #1a110a; animation: tpSway 5s ease-in-out infinite alternate; }
@keyframes tpSway { to { filter: hue-rotate(40deg) brightness(1.15); } }
.tp-dc { display: flex; align-items: center; gap: 9px; text-align: left; }
.tp-av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(140deg, #8ee7e1, #fcd3e8 55%, #b39bff); }
.tp-dc b { display: block; font-size: 0.8rem; }
.tp-none { font-style: normal; font-size: 0.7rem; color: var(--dim); }
.tp-st { display: inline-block; margin-top: 2px; padding: 3px 9px; border-radius: 10px; font-style: normal; font-size: 0.7rem; background: oklch(0.24 0.014 280); border: 1px solid var(--line); }
.tp-em { display: inline-block; animation: tpBob 1.4s ease-in-out infinite; }
@keyframes tpBob { 50% { transform: translateY(-4px) rotate(-8deg); } }
.tp-cov { width: 56px; height: 56px; border-radius: 8px; background: #2b2d31 url(img/album-amber.jpg) center / cover; box-shadow: 0 8px 18px -8px #000; }
.tp-cov.none { display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; color: #6b6d75; background: #2b2d31; }
.tp-w { display: inline-block; color: oklch(0.55 0.01 280); animation: tpWord 2.6s var(--d) infinite; }
@keyframes tpWord { 0%, 12% { color: oklch(0.5 0.01 280); text-shadow: none; } 24%, 70% { color: #fff; text-shadow: 0 0 12px var(--accent), 0 0 3px var(--accent); } 100% { color: oklch(0.5 0.01 280); text-shadow: none; } }
.tp-fx::after { content: "\2726"; margin-left: 1px; font-size: 0.6em; color: #f9d65c; opacity: 0; animation: tpSpark 2.6s var(--d) infinite; }
@keyframes tpSpark { 20% { opacity: 0; transform: translateY(2px); } 35% { opacity: 1; transform: translateY(-3px); } 60%, 100% { opacity: 0; } }
.tp-win { width: 100%; padding: 14px 6px; font-size: 0.7rem; color: var(--dim); border-radius: 8px; border: 1px dashed var(--line); }
.tp-stage { font-size: 1.05rem; font-weight: 800; line-height: 1.15; color: #fff; text-shadow: 0 0 14px color-mix(in oklab, var(--accent) 70%, transparent); }
.tp-bg { width: 100%; height: 56px; border-radius: 10px; background: linear-gradient(120deg, #1d6b5a, #3b2a86, #8a2a73, #1d6b5a); background-size: 300% 300%; animation: tpAurora 6s ease-in-out infinite; }
.tp-bg.flat { background: #0e0e12; animation: none; }
@keyframes tpAurora { 50% { background-position: 100% 50%; } }
.tp-sz { display: flex; align-items: baseline; gap: 8px; font-weight: 800; color: oklch(0.88 0.01 280); }
.tp-sz span { font-size: 0.8rem; } .tp-sz b { font-size: 1.1rem; } .tp-sz big { font-size: 1.6rem; }
.tp-promo { display: grid; gap: 5px; justify-items: center; font-size: 0.68rem; color: var(--dim); }
.tp-promo u { padding: 2px 8px; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--ink); background: oklch(0.24 0.014 280); }
.tp-clean { font-size: 0.74rem; font-weight: 700; color: var(--accent); }
.tp-ver { font-size: 0.76rem; color: var(--dim); } .tp-ver b { color: var(--ink); }
@media (max-width: 520px) { .tp-cols { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tp-w, .tp-fx::after, .tp-em, .tp-glow, .tp-bg, .tp-tray i { animation: none !important; } .tp-w { color: #fff; } }
.tp-cols.one { grid-template-columns: 1fr; }

.section-trailer { padding-top: 10px; }
.trailer-wrap { max-width: 980px; margin: 0 auto; }

/* Pro+ : a fourth column */
.cmp-top, .cmp-row { grid-template-columns: 1fr 138px 138px 138px; }
.cmp-plan.plus { background: linear-gradient(180deg, rgba(255, 209, 102, 0.16), oklch(0.15 0.012 280)); border: 2px solid #ffd166; box-shadow: 0 0 40px -14px #ffb347; transform: translateY(-4px); }
.cmp-plan.plus > span { color: #ffd166; }
.cmp-plan.plus .cmp-ribbon { background: linear-gradient(100deg, #ffd166, #ff8a4c); color: #2b1300; }
.cmp-plan.plus .btn { background: linear-gradient(100deg, #ffd166, #ff8a4c); color: #2b1300; box-shadow: 0 10px 28px -10px #ffb347; }
.cmp-tag.plus { background: linear-gradient(100deg, #ffd166, #ff8a4c); color: #2b1300; }
.cmp-cell.plus.y .cm-ck { stroke: #ffd166; }
.cmp-cell.plus.y .cm-ring { fill: rgba(255, 209, 102, 0.14); }
.btn-plus { display: grid; gap: 2px; justify-items: center; margin-top: 10px; padding: 14px 18px; border-radius: 999px; text-decoration: none; text-align: center; cursor: pointer; color: #2b1300; background: linear-gradient(100deg, #ffd166, #ff8a4c); box-shadow: 0 14px 40px -14px #ffb347; transition: transform 160ms var(--ease-out), box-shadow 200ms; }
.btn-plus b { font-size: 1.05rem; font-weight: 800; }
.btn-plus small { font-size: 0.78rem; font-weight: 600; opacity: 0.8; }
.btn-plus:hover { transform: translateY(-2px); box-shadow: 0 18px 46px -12px #ffb347; }
@media (max-width: 720px) {
  .cmp-top, .cmp-row { grid-template-columns: 1fr 58px 58px 58px; gap: 6px; }
  .cmp-plan { padding: 10px 4px; }
  .cmp-plan .btn { padding: 7px 2px; font-size: 0.66rem; }
  .cmp-plan > span { font-size: 0.62rem; }
  .cmp-ribbon { font-size: 0.5rem; padding: 2px 6px; }
}

.tp-role { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; }
.tp-role i { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #ffd166, #ff8a4c); box-shadow: 0 0 10px #ffb347; }
.tp-role b { color: #ffd166; } .tp-role small { color: var(--dim); }

/* ---- Pro+ showcase ---- */
.plus-show { margin: 8px 0 18px; }
.ps-title { margin-bottom: 12px; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.ps-title span { background: linear-gradient(100deg, #ffd166, #ff8a4c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .ps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ps-grid { grid-template-columns: 1fr; } }
.ps-card { position: relative; overflow: hidden; padding: 12px 12px 16px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 209, 102, 0.08), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 209, 102, 0.3); transition: transform 300ms var(--ease-out), border-color 300ms, box-shadow 300ms; }
.ps-card:hover { transform: translateY(-6px); border-color: #ffd166; box-shadow: 0 22px 50px -26px #ffb347; }
.ps-card h4 { margin: 12px 4px 3px; font-size: 0.95rem; font-weight: 800; }
.ps-card p { margin: 0 4px; font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.ps-art { position: relative; height: 112px; border-radius: 14px; overflow: hidden; display: grid; align-content: center; gap: 6px; padding: 12px; background: rgba(5, 5, 9, 0.6); border: 1px solid rgba(255, 255, 255, 0.07); }

/* 1 — updates */
.ps-ver { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 10px; font-size: 0.8rem; font-weight: 800; background: rgba(255, 255, 255, 0.06); }
.ps-ver small { font-weight: 600; color: var(--dim); }
.ps-ver.now { color: #2b1300; background: linear-gradient(100deg, #ffd166, #ff8a4c); animation: psNow 4s ease-in-out infinite; }
.ps-ver.now i { width: 8px; height: 8px; border-radius: 50%; background: #2b1300; animation: tpPulse 1.2s infinite; }
.ps-ver.now b { margin-left: auto; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.ps-ver.old { opacity: 0.55; }
.ps-arrow { position: absolute; right: 14px; bottom: 10px; font-size: 1.2rem; color: #ffd166; animation: psUp 1.6s ease-in-out infinite; }
@keyframes psNow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes psUp { 0%, 100% { transform: translateY(4px); opacity: 0.3; } 50% { transform: translateY(-6px); opacity: 1; } }

/* 2 — the role in a member list */
.ps-mem { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 9px; font-size: 0.78rem; color: var(--muted); }
.ps-mem i { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(140deg, #5865f2, #8a5cf5); opacity: 0.7; }
.ps-mem.me { color: #ffd166; font-weight: 800; background: rgba(255, 209, 102, 0.1); animation: psMe 2.8s ease-in-out infinite; }
.ps-mem.me i { background: linear-gradient(140deg, #8ee7e1, #fcd3e8 55%, #b39bff); opacity: 1; box-shadow: 0 0 0 2px #ffd166; }
.ps-mem em { margin-left: auto; padding: 1px 7px; border-radius: 6px; font-style: normal; font-size: 0.6rem; font-weight: 800; color: #2b1300; background: linear-gradient(100deg, #ffd166, #ff8a4c); }
@keyframes psMe { 50% { box-shadow: 0 0 22px -4px #ffb347; background: rgba(255, 209, 102, 0.2); } }

/* 3 — exclusive effect */
.ps-fx .ps-art { place-content: center; text-align: center; }
.ps-line { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.03em; margin: 0 !important; color: #fff; }
.ps-line span { display: inline-block; color: rgba(255, 255, 255, 0.35); animation: psGold 3s var(--i-d, 0s) ease-in-out infinite; animation-delay: calc(var(--i) * 0.4s); }
@keyframes psGold { 0%, 15% { color: rgba(255, 255, 255, 0.35); text-shadow: none; } 30%, 60% { color: #ffd166; text-shadow: 0 0 16px #ff8a4c, 0 0 4px #ffd166; } 100% { color: rgba(255, 255, 255, 0.35); text-shadow: none; } }
.ps-spark { position: absolute; color: #ffd166; opacity: 0; font-size: 1rem; animation: psSpark 2.4s ease-in-out infinite; }
.ps-spark.s1 { left: 18%; top: 22%; } .ps-spark.s2 { right: 16%; top: 30%; animation-delay: 0.8s; } .ps-spark.s3 { left: 50%; bottom: 14%; animation-delay: 1.5s; }
@keyframes psSpark { 0%, 100% { opacity: 0; transform: scale(0.4) rotate(0); } 40% { opacity: 1; transform: scale(1.2) rotate(40deg); } 70% { opacity: 0; } }

/* 4 — the wall (two rows of names sliding past each other) */
.ps-wall .ps-art { padding: 14px 0; gap: 10px; }
.ps-marq { display: flex; gap: 8px; width: max-content; animation: psMarq 14s linear infinite; }
.ps-marq.r { animation-direction: reverse; animation-duration: 18s; }
.ps-marq span { padding: 5px 12px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; white-space: nowrap; color: #ffd166; background: rgba(255, 209, 102, 0.1); border: 1px solid rgba(255, 209, 102, 0.3); }
@keyframes psMarq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ps-card *, .ps-spark { animation: none !important; } .ps-spark { opacity: 0.8; } .ps-line span { color: #ffd166; } }
.ps-card:nth-child(2) { transition-delay: 40ms; }
.tp-gold { color: #ffd166 !important; text-shadow: 0 0 14px #ff8a4c; } .tp-badge { padding: 1px 7px; border-radius: 6px; font-style: normal; font-size: 0.62rem; font-weight: 800; color: #2b1300; background: linear-gradient(100deg, #ffd166, #ff8a4c); }
.footer-guides { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0; }
.footer-guides a { color: var(--muted); font-size: 0.84rem; text-decoration: none; } .footer-guides a:hover { color: var(--accent); }
