@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #070b14;
  --bg-2: #0c1322;
  --card: rgba(255, 255, 255, .045);
  --card-solid: #101828;
  --card-hover: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --ink: #eef2f8;
  --muted: #94a0b5;
  --brand: #19e3a1;
  --brand-dark: #12c48a;
  --brand-soft: rgba(25, 227, 161, .12);
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --gold: #fbbf24;
  --grad: linear-gradient(120deg, #19e3a1 0%, #22d3ee 45%, #8b5cf6 100%);
  --grad-gold: linear-gradient(120deg, #fde68a 0%, #fbbf24 45%, #f97316 100%);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, .1);
  --danger: #f87171;
  --radius: 18px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -20px rgba(0,0,0,.6);
  --glow: 0 0 0 1px rgba(25,227,161,.35), 0 10px 40px -10px rgba(25,227,161,.45);
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(139, 92, 246, .18), transparent 60%),
    radial-gradient(800px 500px at -10% 10%, rgba(25, 227, 161, .13), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: 1.35rem; }
::selection { background: rgba(25, 227, 161, .35); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden { display: none !important; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); font-size: .8rem; word-break: break-all; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7, 11, 20, .72); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { font-weight: 800; font-size: 1.2rem; text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 10px; letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #04110c; display: grid; place-items: center; font-size: 1.05rem; font-weight: 800;
  box-shadow: 0 6px 20px -6px rgba(34, 211, 238, .7); }
.nav { display: flex; gap: 4px; align-items: center; margin-left: auto; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: color .15s, background .15s; }
.nav a:not(.btn):hover { color: var(--ink); background: var(--card); }
@media (max-width: 680px) { .nav .hide-sm { display: none; } }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink);
  font: inherit; font-weight: 700; padding: 10px 20px; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .2s; }
.btn:hover { background: var(--card-hover); border-color: rgba(255,255,255,.28); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--grad); border: 0; color: #04110c; box-shadow: 0 8px 30px -10px rgba(34, 211, 238, .7); }
.btn-primary:hover { background: var(--grad); filter: brightness(1.08); box-shadow: 0 10px 36px -8px rgba(34, 211, 238, .85); }
.btn-warm { background: var(--grad-gold); border: 0; color: #1a1204; box-shadow: 0 8px 30px -10px rgba(251, 146, 60, .75); }
.btn-warm:hover { background: var(--grad-gold); filter: brightness(1.07); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-sm { padding: 6px 13px; font-size: .82rem; }
.btn-danger { color: var(--danger); border-color: rgba(248, 113, 113, .35); }
.btn-danger:hover { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .6); }
.btn-link { background: none; border: 0; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }

label { display: block; font-weight: 700; margin: 16px 0 7px; font-size: .95rem; }
.hint { font-weight: 500; color: var(--muted); font-size: .85rem; }
input[type=text], input[type=number], input[type=email], input[type=password], input[type=url], input[type=search], select, textarea {
  width: 100%; font: inherit; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255,255,255,.035); color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background .15s; }
input::placeholder, textarea::placeholder { color: #66728a; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(25, 227, 161, .15); background: rgba(255,255,255,.06); }
select option { background: var(--card-solid); color: var(--ink); }
input[type=file] { color: var(--muted); font: inherit; font-size: .9rem; }
input[type=file]::file-selector-button { font: inherit; font-weight: 700; color: var(--ink); background: var(--card-hover); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; margin-right: 12px; cursor: pointer; }
input[type=checkbox] { accent-color: var(--brand); width: 18px; height: 18px; }
textarea { min-height: 170px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; margin: 14px 0; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.input-prefix input { padding-left: 32px; }
.error { color: var(--danger); font-weight: 600; margin-top: 12px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero-visual { display: none; } .hero .row { justify-content: center; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card);
  font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.eyebrow b { white-space: nowrap; background: var(--brand-soft); color: var(--brand); padding: 2px 9px; border-radius: 999px; font-size: .75rem; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -.035em; font-weight: 800; margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
@media (max-width: 920px) { .hero p.lead { margin-left: auto; margin-right: auto; } }
.stats { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
@media (max-width: 920px) { .stats { justify-content: center; } }
.stat { padding: 14px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); min-width: 130px; }
.stat b { display: block; font-size: 1.5rem; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .85rem; }

/* orbit visual */
.hero-visual { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; margin-left: auto; }
.orbit { position: absolute; inset: 30px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.12); animation: spin 60s linear infinite; will-change: transform; }
.orbit.o2 { inset: 17%; animation-duration: 40s; animation-direction: reverse; border-style: solid; border-color: rgba(255,255,255,.07); }
.orbit .coin-dot { position: absolute; width: 50px; height: 50px; font-size: 1.3rem; box-shadow: 0 10px 30px -8px rgba(0,0,0,.8), 0 0 0 4px rgba(7,11,20,.9);
  left: calc(50% + var(--r) * cos(var(--a)) - 25px); top: calc(50% + var(--r) * sin(var(--a)) - 25px); animation: spin 60s linear infinite reverse; }
.orbit.o2 .coin-dot { animation-duration: 40s; animation-direction: normal; }
.core { position: absolute; inset: 36%; border-radius: 30%; background: var(--grad); display: grid; place-items: center; color: #04110c; font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem);
  box-shadow: 0 0 80px 10px rgba(34, 211, 238, .35), 0 0 160px 30px rgba(139, 92, 246, .25); animation: float 6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
/* Computers set to reduce motion (common on Windows servers and remote desktop) still get slow, steady movement. */
@media (prefers-reduced-motion: reduce) { .orbit { animation-duration: 120s; } .orbit.o2, .orbit.o2 .coin-dot { animation-duration: 90s; } .orbit .coin-dot { animation-duration: 120s; } .core { animation: none; } }
.orbit .coin-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 22px 4px var(--glow, rgba(34,211,238,.5)); opacity: 0; animation: glow 4s ease-in-out infinite; animation-delay: var(--d, 0s); will-change: opacity; }
@keyframes glow { 50% { opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .orbit .coin-dot::after { animation: none; } }

/* coin chips */
.coin-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; }

/* scrolling coin rows on the home page */
.coin-strip { display: grid; gap: 12px; }
.marquee { overflow: hidden; padding: 8px 0; position: relative; }
/* Edge fades sit on top as plain overlays, so the moving row never has to be repainted. */
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee calc(var(--n) * 2.4s) linear infinite; will-change: transform; backface-visibility: hidden; }
.marquee-dup { display: contents; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .coin-chip { margin-right: 12px; white-space: nowrap; transition: border-color .2s, background .2s, transform .2s; }
.marquee .coin-chip small { color: var(--muted); font-weight: 500; font-size: .75rem; }
.marquee .coin-chip:hover { border-color: var(--line-strong); background: var(--card-hover); transform: translateY(-3px); }
.marquee .coin-chip:hover .coin-dot { animation: flip .7s ease-in-out; }
.coin-strip-note { text-align: center; color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.calm-motion .marquee-track { animation-duration: calc(var(--n) * 6s); }
.calm-motion .orbit { animation-duration: 150s; } .calm-motion .orbit .coin-dot { animation-duration: 150s; }
.calm-motion .orbit.o2, .calm-motion .orbit.o2 .coin-dot { animation-duration: 110s; }
.calm-motion .orbit .coin-dot::after { animation: none; opacity: .35; }
.calm-motion .core { animation: none; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes flip { to { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: calc(var(--n) * 5s); }
  .marquee .coin-chip:hover .coin-dot { animation: none; }
}
.coin-dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 800; flex: none;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,.25), inset 0 2px 3px rgba(255,255,255,.25); }

/* ---------- sections ---------- */
.band { padding: 64px 0; }
.band-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.band-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; display: block; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .steps-grid { grid-template-columns: 1fr; } }
.step { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.step .num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; font-size: 1.1rem; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 920px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feature .ic { font-size: 1.6rem; margin-bottom: 10px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .93rem; }
.cta { margin: 24px 0 72px; border-radius: 28px; padding: 56px 32px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 20% 0%, rgba(25,227,161,.25), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(139,92,246,.3), transparent 70%), var(--bg-2);
  border: 1px solid var(--line-strong); }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

/* ---------- discover ---------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0 0 16px; }
.toolbar input[type=search] { flex: 1; min-width: 220px; border-radius: 999px; padding-left: 44px;
  background: rgba(255,255,255,.035) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2394a0b5' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 17px center; }
.toolbar select { width: auto; border-radius: 999px; padding-right: 36px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip { border: 1px solid var(--line); background: var(--card); color: var(--muted); border-radius: 999px; padding: 7px 15px; cursor: pointer; font: inherit; font-size: .88rem; font-weight: 600; transition: all .15s; }
.chip:hover { color: var(--ink); border-color: var(--line-strong); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; margin-bottom: 48px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); border-color: rgba(25, 227, 161, .4); box-shadow: 0 24px 50px -24px rgba(25, 227, 161, .35); }
.card-media { position: relative; }
.card-img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.ph { display: grid; place-items: center; font-size: 3.2rem; background: radial-gradient(circle at 30% 20%, rgba(34,211,238,.35), transparent 60%), radial-gradient(circle at 80% 90%, rgba(139,92,246,.45), transparent 60%), #111a2e; }
.card-badge { position: absolute; left: 12px; top: 12px; padding: 4px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(7,11,20,.75); backdrop-filter: blur(8px); border: 1px solid var(--line-strong); }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-weight: 700; font-size: 1.08rem; line-height: 1.35; }
.card-meta { font-size: .8rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.card .coins-mini { display: flex; gap: 0; margin-top: auto; padding-top: 4px; }
.card .coins-mini .coin-dot { width: 22px; height: 22px; font-size: .72rem; margin-right: -5px; box-shadow: 0 0 0 2px var(--bg-2); }
.empty { text-align: center; padding: 64px 20px; background: var(--card); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty .big { font-size: 2.6rem; margin-bottom: 8px; }

.progress { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress > div { height: 100%; min-width: 6px; background: var(--grad); border-radius: 99px; transition: width .8s cubic-bezier(.2,.8,.2,1); position: relative; overflow: hidden; }
.progress > div::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: shimmer 2.4s infinite; transform: translateX(-100%); }
@keyframes shimmer { to { transform: translateX(100%); } }
.raised { font-size: .9rem; display: flex; justify-content: space-between; gap: 8px; }
.raised b { font-size: 1rem; }

/* ---------- campaign page ---------- */
.campaign { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 36px; padding: 36px 0 72px; align-items: start; }
@media (max-width: 920px) { .campaign { grid-template-columns: 1fr; } .side { order: -1; } }
.campaign h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.03em; }
.hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); }
.hero-img.ph { font-size: 5rem; }
.organizer { display: flex; gap: 14px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #04110c; display: grid; place-items: center; font-weight: 800; flex: none; font-size: .95rem; }
.story { white-space: pre-wrap; word-wrap: break-word; padding: 22px 0; font-size: 1.07rem; color: #d5dceb; }
.section { border-top: 1px solid var(--line); padding: 28px 0; }
.tag { display: inline-block; background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 3px 11px; font-size: .78rem; font-weight: 700; }
.tag-warn { background: var(--warn-soft); color: var(--warn); }
.tag-gray { background: rgba(255,255,255,.08); color: var(--muted); }
.update { padding: 16px 18px; margin-bottom: 12px; white-space: pre-wrap; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }

.side .panel { position: sticky; top: 92px; }
.panel { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); border: 1px solid var(--line-strong); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.big-raised { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.ring-row { display: flex; gap: 18px; align-items: center; }
.ring { width: 84px; height: 84px; flex: none; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(from 0deg, var(--brand), var(--cyan), var(--violet) calc(var(--p) * 1%), rgba(255,255,255,.08) 0); }
.ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--card-solid); }
.ring span { position: relative; font-weight: 800; font-size: 1.05rem; }
.donor-list { list-style: none; padding: 0; margin: 20px 0 0; }
.donor-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.donor-list .who { font-weight: 700; }
.support { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
td a.mono { color: var(--cyan); }

/* ---------- modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(3, 6, 12, .72); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 50; padding: 16px; overflow-y: auto; animation: fade .15s; }
.modal { background: linear-gradient(180deg, #121b2f, #0c1322); border: 1px solid var(--line-strong); border-radius: 24px; width: 100%; max-width: 520px; padding: 28px;
  position: relative; max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: 0 40px 100px -20px rgba(0,0,0,.8); animation: pop .2s cubic-bezier(.2,.9,.3,1.2); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-close { position: absolute; right: 16px; top: 14px; border: 0; background: var(--card); width: 34px; height: 34px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; color: var(--muted); line-height: 1; }
.modal-close:hover { color: var(--ink); background: var(--card-hover); }
.coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 16px; }
.coin-btn { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); cursor: pointer; font: inherit; text-align: left; transition: all .15s; }
.coin-btn:hover { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-1px); }
.coin-btn .coin-dot { width: 32px; height: 32px; font-size: 1rem; }
.coin-btn small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.25; }
.pay-box { text-align: center; }
.qr { display: inline-block; padding: 14px; border-radius: 18px; background: #fff; margin: 16px 0; box-shadow: 0 0 0 6px rgba(255,255,255,.05), 0 20px 50px -15px rgba(34,211,238,.45); }
.qr img, .qr svg { width: 196px; height: 196px; display: block; }
.addr { display: flex; gap: 8px; align-items: center; background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 14px; padding: 9px 9px 9px 14px; text-align: left; }
.addr code { flex: 1; word-break: break-all; font-size: .82rem; font-family: var(--mono); color: #cfe9ff; }
.notice { background: var(--warn-soft); border: 1px solid rgba(251, 191, 36, .28); color: #fde3a7; border-radius: 14px; padding: 12px 14px; font-size: .88rem; text-align: left; margin: 14px 0; }
.notice a { color: var(--gold); }
.notice-good { background: var(--brand-soft); border-color: rgba(25, 227, 161, .3); color: #b6f5dd; }
.amount-line { font-size: 1.6rem; font-weight: 800; margin: 8px 0 2px; letter-spacing: -.02em; display: flex; gap: 10px; justify-content: center; align-items: center; }
.steps { display: flex; gap: 6px; margin: 0 40px 18px 0; }
.steps span { height: 4px; flex: 1; border-radius: 9px; background: rgba(255,255,255,.1); }
.steps span.on { background: var(--grad); }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.thanks-icon { width: 76px; height: 76px; margin: 4px auto 14px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 2.2rem; box-shadow: 0 0 60px rgba(25,227,161,.5); }

/* ---------- forms pages ---------- */
.form-page { max-width: 760px; margin: 40px auto 72px; }
.form-page > h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); letter-spacing: -.03em; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
@media (max-width: 560px) { .form-card { padding: 22px 18px; } }
.form-card h2 { display: flex; align-items: center; gap: 12px; }
.form-card h2 .n { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); color: #04110c; display: grid; place-items: center; font-size: .95rem; flex: none; }
.form-section + .form-section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.wallet-row { display: grid; grid-template-columns: 180px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.wallet-row:last-child { border-bottom: 0; }
.wallet-row .lbl { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: .9rem; }
.wallet-row .lbl .coin-dot { width: 30px; height: 30px; font-size: .95rem; }
.wallet-row .lbl small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.wallet-row input { padding: 10px 13px; font-size: .85rem; font-family: var(--mono); }
.wallet-row input.bad { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(248,113,113,.15); }
.wallet-row input.ok { border-color: rgba(25, 227, 161, .55); }
.wallet-row .memo { grid-column: 2; }
@media (max-width: 560px) { .wallet-row { grid-template-columns: 1fr; } .wallet-row .memo { grid-column: 1; } }
.img-preview { margin-top: 12px; border-radius: 14px; max-height: 260px; object-fit: cover; width: 100%; border: 1px solid var(--line); }
.keybox { background: rgba(0,0,0,.3); border: 1px dashed var(--brand); border-radius: 14px; padding: 16px; word-break: break-all; font-family: var(--mono); font-size: .82rem; color: #b6f5dd; }
.prose ol, .prose ul { padding-left: 1.3em; color: #d5dceb; }
.prose li { margin: 8px 0; }
.prose h3 { margin-top: 28px; }

/* ---------- manage ---------- */
.tabs { display: flex; gap: 4px; margin: 22px 0; overflow-x: auto; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; }
.tabs button { background: none; border: 0; padding: 9px 18px; font: inherit; font-weight: 700; cursor: pointer; color: var(--muted); white-space: nowrap; border-radius: 999px; transition: all .15s; }
.tabs button:hover { color: var(--ink); }
.tabs button.active { color: #04110c; background: var(--grad); }
.owned-row { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.owned-row:last-child { border-bottom: 0; }

/* ---------- toast & footer ---------- */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 11px 20px; border-radius: 999px; z-index: 100; font-weight: 700; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); animation: pop .2s; }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .88rem; background: rgba(0,0,0,.2); }
.site-footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--muted); text-decoration: none; margin-left: 18px; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { color: var(--ink); }
.reveal.in { animation: rise .6s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .reveal.in { animation: none; } .progress > div::after { display: none; } }
@media (max-width: 560px) {
  .site-header .wrap { height: 60px; }
  .nav .btn { padding: 8px 14px; font-size: .85rem; white-space: nowrap; }
  .logo { font-size: 1.05rem; }
  .eyebrow { font-size: .78rem; }
  .stats { gap: 8px; flex-wrap: nowrap; }
  .stat { min-width: 0; flex: 1; padding: 12px; }
  .stat b { font-size: 1.15rem; }
  .hero { padding-top: 44px; }
  .quick { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- more coins / custom coins ---------- */
.more-coins { margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px 10px; background: rgba(255,255,255,.02); }
.more-coins summary { cursor: pointer; font-weight: 700; padding: 12px 0 6px; color: var(--brand); list-style: none; }
.more-coins summary::-webkit-details-marker { display: none; }
.more-coins summary::before { content: '+ '; }
.more-coins[open] summary::before { content: '− '; }
.custom-row { display: grid; grid-template-columns: 1.2fr .6fr 1fr; gap: 8px; padding: 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.custom-row input { padding: 9px 12px; font-size: .88rem; }
.custom-row [data-c=address] { grid-column: 1 / 3; }
.custom-row [data-remove] { justify-self: end; grid-column: 3; }
@media (max-width: 560px) { .custom-row { grid-template-columns: 1fr; } .custom-row [data-c=address], .custom-row [data-remove] { grid-column: auto; } }
.coin-grid { max-height: 420px; overflow-y: auto; padding-right: 4px; }
.paste-box { margin: 18px 0 20px; padding: 16px; border: 1px dashed rgba(25, 227, 161, .45); border-radius: 16px; background: rgba(25, 227, 161, .04); }
.paste-issue { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; font-size: .88rem; }
.paste-issue code { font-family: var(--mono); font-size: .8rem; word-break: break-all; color: #cfe9ff; }
.paste-issue select { width: auto; max-width: 100%; padding: 6px 10px; font-size: .85rem; }

/* accounts */
.avatar-sm { width: 30px; height: 30px; font-size: .75rem; }
.nav a.nav-user { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; }
.auth-card h1 { margin-top: 18px; }
.auth-tabs { margin: 0; width: 100%; }
.auth-tabs button { flex: 1; }
.dash-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dash-row:last-child { border-bottom: 0; }
.dash-thumb { width: 72px; height: 54px; border-radius: 10px; object-fit: cover; flex: none; display: grid; place-items: center; font-size: 1.5rem; background: var(--card); }
.dash-main { flex: 1; min-width: 200px; }
.dash-main .progress { margin-top: 8px; }
@media (max-width: 430px) { .logo .site-name { display: none; } .nav a.nav-user { padding-right: 5px; } }
