:root {
  --bg: #0b0a12;
  --bg-2: #12101c;
  --card: #161325;
  --card-2: #1c1830;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ece9f6;
  --muted: #9a94b3;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --pink: #e879f9;
  --gold: #facc15;
  --green: #57f287;
  --red: #ed4245;
  --discord: #313338;
  --discord-2: #2b2d31;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  background: rgba(139, 92, 246, 0.15);
  color: var(--violet-2);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.9em;
}
img { display: block; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 15% 10%, rgba(139, 92, 246, 0.22), transparent 70%),
    radial-gradient(500px 400px at 90% 20%, rgba(232, 121, 249, 0.12), transparent 70%),
    radial-gradient(700px 500px at 50% 110%, rgba(124, 58, 237, 0.15), transparent 70%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--violet), #7c3aed);
  color: #fff;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 40px rgba(139, 92, 246, 0.55); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 10, 18, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .5px; }
.brand img { border-radius: 50%; object-fit: cover; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding: 90px 0 70px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(87, 242, 135, 0.08); color: #b5f7c9; border: 1px solid rgba(87, 242, 135, 0.2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; font-weight: 800; letter-spacing: -1.5px; margin: 22px 0 18px; }
.grad { background: linear-gradient(120deg, var(--violet-2), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }
.hero-meta { display: flex; gap: 36px; margin-top: 44px; }
.hero-meta strong { display: block; font-size: 26px; font-weight: 800; }
.hero-meta span { color: var(--muted); font-size: 14px; }

/* ---------- terms / privacy buttons ---------- */
.legal-note { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: 14px; }
.legal-note.center { justify-content: center; margin-top: 22px; }
.legal-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.legal-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: var(--violet-2); background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.3);
  transition: background .2s, color .2s, transform .15s;
}
.legal-btn:hover { background: rgba(139, 92, 246, 0.22); color: #fff; transform: translateY(-1px); }
.legal-btn svg { width: 15px; height: 15px; flex: none; }

/* ---------- discord preview ---------- */
.preview {
  background: var(--discord); border: 1px solid var(--border); border-radius: 20px;
  padding: 22px 20px; box-shadow: var(--shadow);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s;
}
.preview:hover { transform: none; }
.msg { display: flex; gap: 14px; }
.msg + .msg { margin-top: 18px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.msg-body { flex: 1; min-width: 0; }
.msg-head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.name { font-weight: 600; color: #c4b5fd; }
.tag { background: #5865f2; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.time { color: #949ba4; font-size: 12px; }
.embed { background: var(--discord-2); border-left: 4px solid var(--violet); border-radius: 4px; padding: 12px 16px 12px 14px; max-width: 440px; font-size: 14px; }
.embed.gold { border-color: var(--gold); }
.embed h3 { font-size: 18px; margin-bottom: 4px; }
.embed h4 { font-size: 14px; letter-spacing: .5px; margin-bottom: 8px; }
.embed p { color: #dbdee1; }
.embed .sub { font-size: 12px; color: #949ba4; }
.embed-foot { font-size: 12px; color: #949ba4; margin-top: 8px; }
.mention { background: rgba(88, 101, 242, 0.3); color: #c9cdfb; padding: 0 3px; border-radius: 3px; }
.ts { background: rgba(255, 255, 255, 0.06); padding: 0 4px; border-radius: 3px; }
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.fields div { display: flex; flex-direction: column; font-size: 13px; }
.fields div span:first-child, .label { font-weight: 600; color: #fff; font-size: 13px; }
.label { margin-right: 6px; }
.d-btn {
  margin-top: 8px; background: #5865f2; color: #fff; border: 0; border-radius: 4px;
  padding: 7px 16px; font: 500 14px "Inter", sans-serif; cursor: pointer; transition: background .15s;
}
.d-btn:hover { background: #4752c4; }
.d-btn.joined { background: #248046; }

/* ---------- sections ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.eyebrow { color: var(--violet-2); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; margin: 10px 0 12px; line-height: 1.15; }
.section-head p { color: var(--muted); font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, 0.45); box-shadow: 0 14px 40px rgba(139, 92, 246, 0.15); }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(139, 92, 246, 0.14); color: var(--violet-2);
}
.icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14px; }

/* ---------- commands ---------- */
.cmd-toolbar { display: flex; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); color: var(--muted);
  padding: 8px 15px; border-radius: 10px; font: 500 14px "Inter", sans-serif; cursor: pointer; transition: .2s;
}
.tab:hover { color: var(--text); }
.tab.active { background: var(--violet); color: #fff; border-color: var(--violet); }
#cmdSearch {
  background: var(--card); border: 1px solid var(--border); color: var(--text); border-radius: 10px;
  padding: 10px 14px; font: 14px "Inter", sans-serif; width: 240px; outline: none;
}
#cmdSearch:focus { border-color: var(--violet); }
.cmd-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cmd {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px; animation: fadeIn .25s ease;
}
.cmd code { align-self: flex-start; font-size: 14px; }
.cmd span { color: var(--muted); font-size: 14px; }
.cmd .perm { font-size: 12px; color: var(--violet-2); }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 30px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; justify-content: center; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 28px 26px;
}
.plan.premium { border-color: rgba(139, 92, 246, 0.45); background: radial-gradient(400px 200px at 50% 0%, rgba(139, 92, 246, 0.18), transparent 70%), var(--card); }
.plan h3 { font-size: 20px; }
.price { font-size: 38px; font-weight: 800; letter-spacing: -1px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan li { color: var(--muted); font-size: 15px; padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--violet-2); border-bottom: 2px solid var(--violet-2); transform: rotate(-45deg); }
.soon { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700; color: var(--violet-2); background: rgba(139, 92, 246, 0.15); padding: 4px 10px; border-radius: 999px; }

/* ---------- faq ---------- */
.faq-item { border: 1px solid var(--border); border-radius: 12px; background: var(--card); margin-bottom: 10px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; color: var(--text); cursor: pointer;
  padding: 18px 20px; font: 600 16px "Inter", sans-serif; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q::after { content: "+"; font-size: 22px; color: var(--violet-2); transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 20px 18px; color: var(--muted); }

/* ---------- cta / footer ---------- */
.cta {
  text-align: center; padding: 64px 24px; border-radius: 24px; border: 1px solid rgba(139, 92, 246, 0.35);
  background: radial-gradient(500px 220px at 50% 0%, rgba(139, 92, 246, 0.3), transparent 70%), var(--card);
}
.cta p { color: var(--muted); font-size: 17px; }
.footer { border-top: 1px solid var(--border); padding: 32px 0; margin-top: 40px; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a, .muted { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }

/* ---------- toast + reveal ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px);
  background: var(--card-2); border: 1px solid var(--border); padding: 12px 18px; border-radius: 12px;
  font-size: 14px; transition: transform .3s; z-index: 100; box-shadow: var(--shadow);
}
.toast.show { transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.preview.reveal.visible { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.preview.reveal.visible:hover { transform: none; }

/* ---------- legal pages ---------- */
.legal { padding: 70px 0 40px; }
.legal h1 { font-size: 40px; margin-bottom: 6px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; letter-spacing: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.legal a { color: var(--violet-2); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; gap: 44px; }
  .preview, .preview.reveal.visible { transform: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links.static { position: static; display: flex; flex-direction: row; background: none; border: 0; }
  .nav-links.static a { padding: 0; }
  .nav-links a { padding: 14px 20px; }
  .menu-btn { display: block; }
  .nav-inner > .btn { margin-left: auto; }
  .grid, .cmd-list, .plans { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  .fields { grid-template-columns: 1fr 1fr; }
  #cmdSearch { width: 100%; }
  .section { padding: 64px 0; }
  .footer-links { margin-left: 0; }
  .legal-note { flex-direction: column; align-items: stretch; text-align: center; }
  .legal-btns { display: grid; grid-template-columns: 1fr 1fr; }
  .legal-btn { justify-content: center; padding: 11px 10px; font-size: 14px; }
}

/* ============================================================
   ANIMATIONS (used by animations.js)
   ============================================================ */
.starfield { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-glow { animation: glowShift 18s ease-in-out infinite alternate; }
@keyframes glowShift { to { filter: hue-rotate(35deg); transform: scale(1.1); } }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--violet), var(--pink), #60a5fa);
  box-shadow: 0 0 12px rgba(139, 92, 246, .8);
}
.nav { transition: background .3s, box-shadow .3s; }
body.scrolled .nav { background: rgba(11, 10, 18, 0.88); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }

/* logo spin + float */
.brand img { transition: transform .6s cubic-bezier(.2, .9, .3, 1.4); }
.brand:hover img { transform: rotate(360deg) scale(1.1); }

/* headline */
.grad { background-size: 200% auto; animation: gradMove 6s linear infinite; }
@keyframes gradMove { to { background-position: 200% center; } }
.grad .char { position: relative; opacity: 0; animation: charIn .6s cubic-bezier(.2, .9, .3, 1.3) forwards; }
@keyframes charIn { from { opacity: 0; top: .6em; } to { opacity: 1; top: 0; } }
h1 { animation: fadeUp .8s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }

.typer-line { color: var(--muted); font-size: 17px; margin-top: 10px; }
.typer { color: var(--text); font-weight: 700; border-right: 2px solid var(--violet-2); padding-right: 3px; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }

/* pill glow */
.pill { animation: pillGlow 3s ease-in-out infinite; }
@keyframes pillGlow { 50% { box-shadow: 0 0 22px rgba(87, 242, 135, .25); } }

/* shimmer buttons */
.btn { position: relative; overflow: hidden; transition: transform .2s cubic-bezier(.2, .9, .3, 1.4), box-shadow .2s, background .2s; }
.shimmer::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .35), transparent);
  animation: shimmer 3.2s ease-in-out infinite;
}
@keyframes shimmer { 0%, 60% { left: -120%; } 100% { left: 160%; } }
.btn-primary { background-size: 200% 200%; animation: btnGrad 5s ease infinite; }
@keyframes btnGrad { 50% { background-position: 100% 50%; } }

/* orbit system behind the preview */
.has-orbit { position: relative; }
.orbit-system { position: absolute; inset: -60px; pointer-events: none; z-index: 0; display: grid; place-items: center; }
.preview { position: relative; z-index: 1; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -12px; } }
.ring {
  position: absolute; border: 1px dashed rgba(167, 139, 250, .28); border-radius: 50%;
  animation: spin linear infinite;
}
.r1 { width: 115%; aspect-ratio: 1; animation-duration: 30s; }
.r2 { width: 90%; aspect-ratio: 1; animation-duration: 20s; animation-direction: reverse; border-color: rgba(232, 121, 249, .22); }
.r3 { width: 140%; aspect-ratio: 1; animation-duration: 45s; border-style: solid; border-color: rgba(96, 165, 250, .12); }
@keyframes spin { to { transform: rotate(360deg); } }
.planet { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%; }
.p1 { background: var(--violet-2); box-shadow: 0 0 18px var(--violet); }
.p2 { background: var(--pink); box-shadow: 0 0 16px var(--pink); width: 10px; height: 10px; top: -5px; }
.p3 { background: #60a5fa; box-shadow: 0 0 16px #60a5fa; width: 8px; height: 8px; top: -4px; }

/* discord preview details */
.embed { animation: embedGlow 4s ease-in-out infinite; }
@keyframes embedGlow { 50% { box-shadow: -4px 0 24px -6px rgba(250, 204, 21, .35); } }
.embed.violet { animation-name: embedGlowV; }
@keyframes embedGlowV { 50% { box-shadow: -4px 0 24px -6px rgba(139, 92, 246, .45); } }
.d-btn { transition: background .15s, transform .15s; }
.d-btn:active { transform: scale(.94); }
.d-btn.joined { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.12); } }

/* section heads */
.eyebrow { display: inline-block; animation: eyebrowPulse 3s ease-in-out infinite; }
@keyframes eyebrowPulse { 50% { letter-spacing: 3px; text-shadow: 0 0 14px rgba(167, 139, 250, .7); } }

/* reveal with stagger */
.reveal { transition-delay: var(--stagger, 0ms); }
.grid .card.reveal, .plans .plan { transition-delay: var(--stagger, 0ms); }

/* tilt + spotlight cards */
.tilt { position: relative; transition: transform .15s ease-out, border-color .2s, box-shadow .2s; transform-style: preserve-3d; will-change: transform; }
.tilt::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(167, 139, 250, .18), transparent 60%);
}
.tilt:hover::before { opacity: 1; }
.card .icon { transition: transform .4s cubic-bezier(.2, .9, .3, 1.4), background .3s; }
.card:hover .icon { transform: translateZ(30px) rotate(-8deg) scale(1.12); background: rgba(139, 92, 246, .3); }

/* animated border on the premium card + CTA */
.plan.premium, .cta { position: relative; isolation: isolate; }
.plan.premium::after, .cta::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, var(--violet-2), var(--pink), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: borderSpin 4s linear infinite;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes borderSpin { to { --angle: 360deg; } }
.soon { animation: pillGlow 2.4s ease-in-out infinite; }

/* tabs + faq */
.tab { transition: background .25s, color .25s, transform .2s; }
.tab:hover { transform: translateY(-2px); }
.tab.active { box-shadow: 0 6px 20px rgba(139, 92, 246, .4); }
.faq-item { transition: border-color .3s, background .3s; }
.faq-item.open { border-color: rgba(139, 92, 246, .45); background: var(--card-2); }

/* cursor glow + click sparks */
.cursor-glow {
  position: fixed; top: -200px; left: -200px; width: 400px; height: 400px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(139, 92, 246, .14), transparent 65%);
}
.spark {
  position: fixed; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; pointer-events: none; z-index: 300;
  background: var(--violet-2); box-shadow: 0 0 8px var(--pink);
  animation: spark .6s ease-out forwards;
}
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }

@media (max-width: 980px) {
  .orbit-system { inset: -30px; }
  .r3 { display: none; }
}

/* keep the orbit rings from widening the page on phones */
html, body { overflow-x: clip; }
.hero { overflow-x: clip; overflow-y: visible; }


/* ---------- donate ---------- */
.donate-box {
  background: radial-gradient(500px 200px at 50% 0%, rgba(139, 92, 246, .2), transparent 70%), var(--card);
  border: 1px solid rgba(139, 92, 246, .35); border-radius: 24px; padding: 30px 26px; text-align: center;
}
.amounts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.amount {
  min-width: 78px; padding: 12px 16px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border); color: var(--text);
  font: 700 17px "Inter", sans-serif; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.amount:hover { transform: translateY(-2px); border-color: rgba(139, 92, 246, .5); }
.amount.active { background: linear-gradient(135deg, var(--violet), #7c3aed); border-color: transparent; color: #fff; box-shadow: 0 8px 24px rgba(139, 92, 246, .4); }
.amount.custom { display: inline-flex; align-items: center; gap: 4px; }
.amount.custom input { width: 70px; background: none; border: 0; outline: none; color: inherit; font: inherit; }
.amount.custom input::placeholder { color: var(--muted); font-weight: 500; }
.donate-total { margin: 20px 0 16px; color: var(--muted); }
.donate-total strong { color: var(--text); font-size: 20px; }
.donate-buttons { max-width: 380px; margin: 0 auto; min-height: 50px; }
.donate-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.donate-error { color: #ff8a8a; margin-top: 10px; font-size: 14px; }
.center-text { text-align: center; }
.donate-thanks h3 { font-size: 24px; margin-bottom: 6px; }
.donate-thanks p { color: var(--muted); }
.donate-box.thanked { animation: thanks 1s ease; }
@keyframes thanks { 30% { box-shadow: 0 0 60px rgba(139, 92, 246, .6); } }
.nav-donate { color: var(--pink) !important; font-weight: 600 !important; }
@media (max-width: 720px) {
  .amount { flex: 1 1 calc(33% - 10px); min-width: 0; }
  .amount.custom { flex-basis: 100%; justify-content: center; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.sa { transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1), filter .9s ease; transition-delay: var(--d, 0ms); }
.sa.sa-up:not(.in)    { opacity: 0; transform: translateY(40px); }
.sa.sa-left:not(.in)  { opacity: 0; transform: translateX(-80px) rotate(-2deg); }
.sa.sa-right:not(.in) { opacity: 0; transform: translateX(80px) rotate(2deg); }
.sa.sa-zoom:not(.in)  { opacity: 0; transform: scale(.85); filter: blur(6px); }
.sa.sa-blur:not(.in)  { opacity: 0; filter: blur(10px); letter-spacing: 8px; }
.sa.sa-pop:not(.in)   { opacity: 0; transform: translateY(30px) scale(.8); }
.sa.sa-pop.in { transition-timing-function: cubic-bezier(.2, 1.4, .3, 1); }
.sa.in { opacity: 1; }

/* section titles: each word slides up from behind a mask */
.sa-words { opacity: 1 !important; transform: none !important; }
.sa-words .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.sa-words .word > span { display: inline-block; transform: translateY(110%) rotate(6deg); transition: transform .8s cubic-bezier(.2, .9, .2, 1); }
.sa-words.in .word > span { transform: none; }

/* command marquee */
.marquee {
  overflow: hidden; border-block: 1px solid var(--border); background: rgba(139, 92, 246, .05);
  padding: 16px 0; margin: 10px 0 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; will-change: transform; }
.marquee span { font: 600 17px ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--violet-2); white-space: nowrap; }
.marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); flex: none; }

/* parallax helpers */
.hero-text { will-change: transform, opacity; }
.has-orbit { translate: 0 var(--py, 0px); }
.section-head { will-change: transform; transition: none; }
.section { position: relative; }
.section::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 70%; height: 60%; translate: -50% -50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .16), transparent);
  opacity: var(--focus, 0); transition: opacity .2s linear;
}

/* donor perks */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.perk { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px 18px; text-align: center; }
.perk-icon { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 12px; display: grid; place-items: center; background: rgba(232, 121, 249, .14); color: var(--pink); }
.perk-icon svg { width: 22px; height: 22px; }
.perk h3 { font-size: 16px; margin-bottom: 4px; }
.perk p { color: var(--muted); font-size: 14px; }
.perk:hover .perk-icon { animation: pop .4s ease; }
.discord-field { display: flex; flex-direction: column; gap: 6px; max-width: 380px; margin: 20px auto 0; text-align: left; font-size: 14px; color: var(--muted); }
.discord-field em { font-style: normal; opacity: .8; }
.discord-field input {
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px;
  color: var(--text); font: 15px "Inter", sans-serif; outline: none; transition: border-color .2s, box-shadow .2s;
}
.discord-field input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, .15); }
.claim { margin-top: 18px; padding: 18px; border-radius: 14px; background: rgba(139, 92, 246, .1); border: 1px solid rgba(139, 92, 246, .3); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.claim code { font-size: 15px; user-select: all; }
@media (max-width: 720px) { .perks { grid-template-columns: 1fr; } }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 20px; z-index: 500; width: min(720px, calc(100% - 32px));
  display: flex; gap: 18px; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-radius: 18px; background: rgba(22, 19, 37, .96); backdrop-filter: blur(14px);
  border: 1px solid rgba(139, 92, 246, .4); box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  transform: translate(-50%, 150%); opacity: 0; transition: transform .5s cubic-bezier(.2, .9, .3, 1.2), opacity .4s;
}
.cookie-banner.show { transform: translate(-50%, 0); opacity: 1; }
.cookie-text strong { display: block; margin-bottom: 2px; }
.cookie-text p { color: var(--muted); font-size: 14px; }
.cookie-text a { color: var(--violet-2); }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-lock { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px; border: 1px dashed rgba(139, 92, 246, .4); border-radius: 14px; }
.cookie-lock p { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; bottom: 12px; }
  .cookie-actions .btn { flex: 1; }
}

/* ---------- cookie notice after choosing ---------- */
.cookie-notice {
  position: fixed; left: 50%; bottom: 20px; z-index: 500; width: min(620px, calc(100% - 32px));
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-radius: 14px; background: rgba(22, 19, 37, .96); backdrop-filter: blur(14px);
  border: 1px solid rgba(139, 92, 246, .4); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); font-size: 14px;
  transform: translate(-50%, 150%); opacity: 0; transition: transform .45s cubic-bezier(.2, .9, .3, 1.2), opacity .35s;
}
.cookie-notice.show { transform: translate(-50%, 0); opacity: 1; }
.cookie-notice .btn { flex: none; }
@media (max-width: 720px) { .cookie-notice { flex-direction: column; align-items: stretch; text-align: center; } }
