/* ─── WishPool · modern animated UI ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Palette */
  --violet:        #7c3aed;
  --violet-soft:   #a78bfa;
  --pink:          #ec4899;
  --pink-soft:     #f9a8d4;
  --emerald:       #10b981;
  --emerald-soft:  #6ee7b7;
  --amber:         #f59e0b;
  --sky:           #0ea5e9;
  --indigo:        #4f46e5;

  /* Surfaces */
  --bg:            #fafafa;
  --bg-warm:       #fef7ed;
  --surface:       #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --line:          rgba(15, 23, 42, 0.08);
  --line-strong:   rgba(15, 23, 42, 0.16);

  /* Text */
  --ink:           #0f172a;
  --ink-2:         #334155;
  --mute:          #64748b;
  --mute-soft:     #94a3b8;

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --grad-emerald:   linear-gradient(135deg, #059669 0%, #10b981 100%);
  --grad-amber:     linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --grad-sky:       linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  --grad-mesh:      radial-gradient(at 0% 0%, rgba(167, 139, 250, 0.18) 0px, transparent 50%),
                    radial-gradient(at 100% 0%, rgba(244, 114, 182, 0.16) 0px, transparent 50%),
                    radial-gradient(at 100% 100%, rgba(110, 231, 183, 0.16) 0px, transparent 50%),
                    radial-gradient(at 0% 100%, rgba(251, 191, 36, 0.14) 0px, transparent 50%);

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow:     0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg:  0 24px 48px -12px rgba(124, 58, 237, 0.18), 0 8px 16px rgba(15, 23, 42, 0.06);
  --shadow-glow:0 0 32px rgba(124, 58, 237, 0.3);

  --radius:    16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  background-image: var(--grad-mesh);
  background-attachment: fixed;
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--violet); text-decoration: none; transition: color 200ms; }
a:hover { color: var(--pink); }

.display { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.02em; }
.mono    { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.92em; }

/* ─── ANIMATED BACKGROUND BLOBS ───────────────────────────────────────── */
.bg-blobs {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
  animation: blob-drift 20s ease-in-out infinite;
}
.blob.b1 { width: 480px; height: 480px; background: #c4b5fd; top: -120px; left: -120px; }
.blob.b2 { width: 380px; height: 380px; background: #f9a8d4; top: 30%; right: -100px; animation-delay: -7s; }
.blob.b3 { width: 420px; height: 420px; background: #6ee7b7; bottom: -120px; left: 20%; animation-delay: -14s; }
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, -40px) scale(1.1); }
  66%      { transform: translate(-40px, 50px) scale(0.95); }
}

/* ─── LAYOUT ──────────────────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; gap: 24px;
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 22px;
  font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--grad-primary);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
  animation: logo-pulse 3s ease-in-out infinite;
}
@keyframes logo-pulse {
  0%, 100% { transform: rotate(0deg); box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4); }
  50%      { transform: rotate(-4deg); box-shadow: 0 4px 20px rgba(236, 72, 153, 0.5); }
}

nav.main { display: flex; gap: 4px; margin-left: 8px; flex-wrap: wrap; }
nav.main a {
  padding: 8px 14px; border-radius: 999px;
  color: var(--ink-2); font-weight: 500; font-size: 14px;
  transition: all 200ms var(--ease);
}
nav.main a:hover { background: rgba(124, 58, 237, 0.08); color: var(--violet); }
nav.main a.active {
  background: var(--ink); color: white;
}

.session-strip { display: flex; gap: 10px; align-items: center; font-size: 13px; margin-left: auto; }
.session-strip .user { font-weight: 600; color: var(--ink); }

main { padding: 32px 0 100px; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 32px 0; color: var(--mute); font-size: 13px;
  background: var(--surface-glass);
  backdrop-filter: blur(8px);
}

/* ─── FLASH ───────────────────────────────────────────────────────────── */
.flashes { display: grid; gap: 10px; margin-bottom: 24px; }
.flash {
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--emerald);
  animation: slide-in 400ms var(--ease);
}
.flash.error { border-left-color: var(--pink); }
.flash.info  { border-left-color: var(--sky); }
@keyframes slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong);
  cursor: pointer; text-decoration: none;
  transition: all 220ms var(--ease);
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-primary); color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover { box-shadow: 0 8px 24px rgba(236, 72, 153, 0.45); color: #fff; }

.btn-emerald {
  background: var(--grad-emerald); color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}
.btn-emerald:hover { box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45); color: #fff; }

.btn-amber {
  background: var(--grad-amber); color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}
.btn-amber:hover { color: #fff; }

.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { background: rgba(15, 23, 42, 0.04); color: var(--ink); }

.btn-danger { background: transparent; color: var(--pink); border-color: var(--pink); }
.btn-danger:hover { background: var(--pink); color: #fff; }

.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }

/* Shimmer effect on primary buttons */
.btn-primary::before, .btn-emerald::before, .btn-amber::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 800ms;
}
.btn-primary:hover::before, .btn-emerald:hover::before, .btn-amber:hover::before {
  transform: translateX(100%);
}

/* ─── CARDS ───────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.card-glass {
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card + .card { margin-top: 16px; }

.grid { display: grid; gap: 16px; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-main-side { display: grid; gap: 28px; grid-template-columns: 1fr 340px; }
}

/* ─── HERO ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 40px 0 28px;
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) {
  .hero { grid-template-columns: 1.2fr 1fr; padding: 64px 0 40px; }
}

.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 20px;
  animation: fade-up 800ms var(--ease) both;
}
.hero-eyebrow .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--emerald);
  box-shadow: 0 0 0 0 var(--emerald);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.02; letter-spacing: -0.035em;
  margin: 0 0 20px;
  animation: fade-up 800ms var(--ease) 100ms both;
}
.hero h1 .grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero h1 .grad-text.emerald { background: var(--grad-emerald); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.hero .lede {
  font-size: 17px; color: var(--ink-2); max-width: 560px; margin-bottom: 28px;
  animation: fade-up 800ms var(--ease) 200ms both;
}
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap;
  animation: fade-up 800ms var(--ease) 300ms both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ─── HERO VISUAL / FLOATING ICONS ───────────────────────────────────── */
.hero-visual {
  position: relative;
  height: 460px;
  display: grid; place-items: center;
}
.hero-orb {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--grad-primary);
  filter: blur(50px); opacity: 0.4;
  animation: orb-pulse 6s ease-in-out infinite;
}
@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%      { transform: scale(1.15); opacity: 0.55; }
}

.coin-stack {
  position: relative; z-index: 2;
  width: 180px; height: 180px;
  display: grid; place-items: center;
  animation: coin-float 4s ease-in-out infinite;
}
@keyframes coin-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(3deg); }
}
.coin-stack svg { width: 100%; height: 100%; filter: drop-shadow(0 16px 24px rgba(124, 58, 237, 0.35)); }

/* Floating wish icons around the hero */
.wish-orbit {
  position: absolute; inset: 0; pointer-events: none;
}
.wish-icon {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  color: var(--ink);
  animation: orbit-float 6s ease-in-out infinite;
}
.wish-icon svg { width: 32px; height: 32px; }
.wish-icon.c1  { color: var(--violet); }
.wish-icon.c2  { color: var(--emerald); }
.wish-icon.c3  { color: var(--amber); }
.wish-icon.c4  { color: var(--pink); }
.wish-icon.c5  { color: var(--sky); }
.wish-icon.c6  { color: var(--indigo); }

.wish-icon.p1 { top: 6%;  left: 8%;  animation-delay: 0s;   transform: rotate(-8deg); }
.wish-icon.p2 { top: 14%; right: 4%; animation-delay: -1s;  transform: rotate(6deg); }
.wish-icon.p3 { top: 52%; left: 0%;  animation-delay: -2s;  transform: rotate(-12deg); }
.wish-icon.p4 { top: 64%; right: 8%; animation-delay: -3s;  transform: rotate(8deg); }
.wish-icon.p5 { bottom: 8%; left: 28%; animation-delay: -1.5s; transform: rotate(-4deg); }
.wish-icon.p6 { top: 28%; left: 42%; animation-delay: -2.5s; transform: rotate(10deg); width: 52px; height: 52px; }
.wish-icon.p6 svg { width: 26px; height: 26px; }

@keyframes orbit-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 4deg)); }
}

/* ─── PROGRESS ────────────────────────────────────────────────────────── */
.progress-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.progress-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-primary);
}
.progress-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-bottom: 14px;
}
.progress-head .total {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px; font-weight: 800; line-height: 1;
  background: var(--grad-emerald);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}
.progress-head .goal { font-size: 13px; color: var(--mute); font-weight: 500; }

.progress-bar {
  height: 12px; background: rgba(15, 23, 42, 0.06);
  border-radius: 999px; overflow: hidden; position: relative;
}
.progress-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 999px;
  width: var(--pct, 0%);
  transition: width 1.2s var(--ease);
  position: relative;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
}
.progress-fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite linear;
  border-radius: inherit;
}
@keyframes shimmer {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

.progress-meta { font-size: 13px; color: var(--mute); margin-top: 10px; }
.progress-meta.unlocked {
  color: var(--emerald); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ─── STAT TILES (BENTO) ──────────────────────────────────────────────── */
.stats {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 32px;
}
.stat {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  transition: transform 300ms var(--ease);
}
.stat:hover { transform: translateY(-3px); }
.stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-primary); opacity: 0.7;
}
.stat.accent-emerald::before { background: var(--grad-emerald); }
.stat.accent-amber::before   { background: var(--grad-amber); }
.stat.accent-sky::before     { background: var(--grad-sky); }

.stat .label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; font-weight: 600; }
.stat .value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1;
}
.stat .value.grad {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .value.grad-emerald {
  background: var(--grad-emerald);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── FORMS ───────────────────────────────────────────────────────────── */
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .label-tag {
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.field .hint { font-size: 12px; color: var(--mute); }

input[type=text], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%; padding: 13px 16px;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; color: var(--ink);
  outline: none; transition: all 200ms;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--violet); background: #fff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}
textarea { resize: vertical; min-height: 110px; line-height: 1.5; font-family: inherit; }

/* Network picker */
.network-picker { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.network-picker input { display: none; }
.network-picker label {
  display: block; padding: 14px 12px; text-align: center;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
  background: var(--surface); font-weight: 600;
  transition: all 200ms var(--ease);
}
.network-picker label:hover { border-color: var(--violet-soft); }
.network-picker input:checked + label {
  border-color: var(--violet); background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(236, 72, 153, 0.06));
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}
.network-picker .chain { display: block; font-size: 11px; color: var(--mute); font-weight: 400; margin-top: 2px; }

/* Category picker */
.cat-picker { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.cat-picker input { display: none; }
.cat-picker label {
  display: grid; gap: 8px; place-items: center; justify-items: center;
  padding: 16px 8px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--surface); cursor: pointer;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  transition: all 250ms var(--ease);
}
.cat-picker label svg { width: 28px; height: 28px; color: var(--mute); transition: all 250ms var(--ease); }
.cat-picker label:hover { transform: translateY(-2px); border-color: var(--violet-soft); }
.cat-picker label:hover svg { color: var(--violet); transform: scale(1.1); }
.cat-picker input:checked + label {
  border-color: var(--violet);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(236, 72, 153, 0.06));
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}
.cat-picker input:checked + label svg { color: var(--violet); }

/* ─── ADDRESS BLOCK ───────────────────────────────────────────────────── */
.address {
  display: flex; gap: 8px; align-items: stretch;
  background: linear-gradient(135deg, #fafaf9, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px;
}
.address code {
  flex: 1; font-family: 'JetBrains Mono', monospace; font-size: 13px;
  color: var(--ink); overflow-x: auto; white-space: nowrap; line-height: 1.6;
}
.address-list { display: grid; gap: 12px; }
.address-list .addr-row {
  display: grid; gap: 8px; padding: 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); transition: all 300ms var(--ease);
}
.address-list .addr-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.addr-row .net { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.net-dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
.net-dot.bep20 { background: #f3ba2f; color: #f3ba2f; }
.net-dot.trc20 { background: #ff060a; color: #ff060a; }
.net-dot.erc20 { background: #627eea; color: #627eea; }

/* ─── WISH CARDS ──────────────────────────────────────────────────────── */
.wish-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid; gap: 16px;
  position: relative; overflow: hidden;
  transition: all 350ms var(--ease);
}
.wish-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-primary); opacity: 0.7;
}
.wish-card.leading::before { background: var(--grad-amber); }
.wish-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wish-card.leading {
  background: linear-gradient(135deg, #fff, #fef3c7);
  border-color: rgba(245, 158, 11, 0.3);
}

.wish-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.wish-who { display: flex; gap: 14px; align-items: center; }
.wish-avatar {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad-primary);
  display: grid; place-items: center; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
  position: relative;
}
.wish-avatar svg { width: 28px; height: 28px; }
.wish-avatar.cat-car      { background: linear-gradient(135deg, #ef4444, #f97316); }
.wish-avatar.cat-home     { background: linear-gradient(135deg, #10b981, #14b8a6); }
.wish-avatar.cat-travel   { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.wish-avatar.cat-tech     { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.wish-avatar.cat-education{ background: linear-gradient(135deg, #f59e0b, #ef4444); }
.wish-avatar.cat-health   { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.wish-avatar.cat-family   { background: linear-gradient(135deg, #f97316, #f59e0b); }
.wish-avatar.cat-business { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.wish-avatar.cat-art      { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.wish-avatar.cat-pet      { background: linear-gradient(135deg, #d97706, #f59e0b); }
.wish-avatar.cat-gift     { background: linear-gradient(135deg, #ec4899, #d946ef); }

.wish-card:hover .wish-avatar { animation: avatar-bounce 600ms var(--ease-pop); }
@keyframes avatar-bounce {
  0%   { transform: scale(1) rotate(0deg); }
  40%  { transform: scale(1.15) rotate(-8deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.wish-name { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.wish-meta { font-size: 12px; color: var(--mute); margin-top: 2px; }
.wish-text {
  font-size: 16px; line-height: 1.55; color: var(--ink-2);
  padding: 14px 16px; background: rgba(15, 23, 42, 0.025);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--violet-soft);
}
.wish-card.leading .wish-text { border-left-color: var(--amber); }

.wish-vote-row { display: flex; gap: 14px; justify-content: space-between; align-items: center; }
.vote-count {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wish-card.leading .vote-count {
  background: var(--grad-amber);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vote-meter {
  height: 8px; background: rgba(15, 23, 42, 0.06);
  flex: 1; max-width: 200px;
  border-radius: 999px; overflow: hidden; position: relative;
}
.vote-meter::after {
  content: ''; position: absolute; left: 0; top: 0; height: 100%;
  width: var(--w, 0%);
  background: var(--grad-primary);
  border-radius: inherit;
  transition: width 1s var(--ease);
}
.vote-meter.leading::after { background: var(--grad-amber); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; font-size: 11px;
  letter-spacing: 0.05em; text-transform: uppercase;
  font-weight: 700; border-radius: 999px;
  background: var(--surface); border: 1px solid currentColor;
}
.badge.pending   { color: var(--amber); }
.badge.confirmed { color: var(--emerald); }
.badge.rejected  { color: var(--pink); }
.badge.verified  { color: var(--emerald); background: rgba(16, 185, 129, 0.08); border-color: transparent; }
.badge.admin     { color: var(--violet); background: rgba(124, 58, 237, 0.08); border-color: transparent; }

/* ─── TABLES ──────────────────────────────────────────────────────────── */
table.list { width: 100%; border-collapse: collapse; font-size: 13px; }
table.list th, table.list td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line);
}
table.list th {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mute); font-weight: 700;
}
table.list tr:last-child td { border-bottom: none; }
table.list tr:hover td { background: rgba(124, 58, 237, 0.03); }

/* ─── HEADINGS ────────────────────────────────────────────────────────── */
.section-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700;
  letter-spacing: -0.025em; margin: 48px 0 12px; line-height: 1.1;
}
.section-title .grad-text { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-sub { color: var(--mute); margin-top: 0; margin-bottom: 24px; font-size: 16px; }

hr.rule { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* ─── HOW IT WORKS STEPS ─────────────────────────────────────────────── */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  transition: all 350ms var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px; font-weight: 800; line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}
.step h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; margin: 12px 0 8px; letter-spacing: -0.01em; }
.step p { color: var(--mute); font-size: 14px; margin: 0; }
.step-icon {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.08));
  display: grid; place-items: center;
  color: var(--violet);
}
.step-icon svg { width: 22px; height: 22px; }

/* ─── SCROLL REVEAL ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Misc */
.muted { color: var(--mute); }
.small { font-size: 12px; }
.right { text-align: right; }
.center { text-align: center; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 24px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile tweaks */
@media (max-width: 720px) {
  .hero-visual { height: 360px; }
  .wish-icon { width: 52px; height: 52px; }
  .wish-icon svg { width: 26px; height: 26px; }
  .section-title { font-size: 28px; }
  .stat .value { font-size: 26px; }
  nav.main { display: none; }
  .session-strip { margin-left: 0; }
}

/* ─── ANIMATED SHOWCASE SCENES ──────────────────────────────────────── */
.showcase {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-top: 32px;
}

.scene-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
  position: relative;
}
.scene-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.scene-stage {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.scene-info { padding: 16px 20px; border-top: 1px solid var(--line); }
.scene-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.scene-tag { font-size: 12px; color: var(--mute); margin-top: 2px; }

/* ── Scene: CAR DRIVING ── */
.stage-car {
  background: linear-gradient(180deg, #fef3c7 0%, #fed7aa 70%, #92400e 70%, #78350f 100%);
}
.stage-car::before { /* sun */
  content: ''; position: absolute; top: 18px; right: 24px;
  width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle, #fbbf24, #f59e0b);
  box-shadow: 0 0 32px rgba(251, 191, 36, 0.7);
  animation: sun-glow 3s ease-in-out infinite;
}
@keyframes sun-glow {
  0%, 100% { box-shadow: 0 0 32px rgba(251, 191, 36, 0.7); }
  50%      { box-shadow: 0 0 48px rgba(251, 191, 36, 1); }
}
.stage-car::after { /* mountain silhouette */
  content: ''; position: absolute; bottom: 30%; left: 0; right: 0; height: 30px;
  background: linear-gradient(180deg, transparent, rgba(120, 53, 15, 0.4));
  clip-path: polygon(0 100%, 15% 60%, 30% 80%, 50% 40%, 70% 70%, 85% 50%, 100% 80%, 100% 100%);
}
.car-svg {
  width: 78%; max-width: 220px;
  position: relative; z-index: 2;
  animation: car-bob 0.7s ease-in-out infinite alternate;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.15));
}
@keyframes car-bob { to { transform: translate(-2px, -3px); } }
.car-body { fill: #ef4444; }
.car-window { fill: #1e293b; opacity: 0.4; }
.car-wheel {
  transform-origin: center;
  transform-box: fill-box;
  animation: wheel-spin 0.45s linear infinite;
}
@keyframes wheel-spin { to { transform: rotate(360deg); } }
.car-road-line {
  stroke: white; stroke-width: 3; stroke-dasharray: 14 12;
  animation: road-move 0.55s linear infinite;
}
@keyframes road-move { to { stroke-dashoffset: -26; } }

/* ── Scene: PLANE FLYING ── */
.stage-plane {
  background: linear-gradient(180deg, #dbeafe 0%, #93c5fd 100%);
}
.plane-svg {
  position: absolute; left: 10%; top: 40%;
  width: 92px; z-index: 3;
  animation: plane-fly 7s ease-in-out infinite;
  filter: drop-shadow(0 4px 6px rgba(30, 64, 175, 0.25));
}
@keyframes plane-fly {
  0%   { left: -25%; top: 55%; transform: rotate(-4deg); }
  50%  { left: 35%; top: 25%; transform: rotate(3deg); }
  100% { left: 110%; top: 45%; transform: rotate(-2deg); }
}
.cloud {
  position: absolute; background: white; border-radius: 50px;
  opacity: 0.95; z-index: 1;
}
.cloud::before, .cloud::after {
  content: ''; position: absolute; background: white; border-radius: 50%;
}
.cloud-1 { width: 50px; height: 14px; top: 30%; animation: cloud-drift 9s linear infinite; }
.cloud-1::before { width: 22px; height: 22px; top: -10px; left: 10px; }
.cloud-1::after { width: 16px; height: 16px; top: -7px; right: 6px; }
.cloud-2 { width: 38px; height: 11px; top: 70%; animation: cloud-drift 13s linear infinite -4s; }
.cloud-2::before { width: 18px; height: 18px; top: -8px; left: 6px; }
.cloud-2::after { width: 14px; height: 14px; top: -6px; right: 4px; }
.cloud-3 { width: 44px; height: 12px; top: 20%; animation: cloud-drift 11s linear infinite -7s; }
.cloud-3::before { width: 20px; height: 20px; top: -9px; left: 8px; }
.cloud-3::after { width: 15px; height: 15px; top: -6px; right: 5px; }
@keyframes cloud-drift {
  from { left: -60px; }
  to   { left: calc(100% + 60px); }
}

/* ── Scene: HOUSE BEING BUILT ── */
.stage-house {
  background: linear-gradient(180deg, #fce7f3 0%, #fbcfe8 60%, #65a30d 60%, #4d7c0f 100%);
}
.house-svg {
  width: 68%; max-width: 180px; height: auto;
  position: relative; z-index: 2;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.12));
}
.house-foundation, .house-wall, .house-roof, .house-door, .house-window-1, .house-window-2, .house-chimney {
  opacity: 0; transform-origin: center bottom;
}
.house-foundation { animation: build-pop 8s 0s infinite; }
.house-wall       { animation: build-up  8s 1s infinite; transform-origin: bottom; }
.house-roof       { animation: build-drop 8s 2.5s infinite; }
.house-chimney    { animation: build-pop 8s 3.5s infinite; }
.house-door       { animation: build-fade 8s 4.5s infinite; }
.house-window-1   { animation: build-fade 8s 5.2s infinite; }
.house-window-2   { animation: build-fade 8s 5.6s infinite; }
@keyframes build-pop {
  0%, 5%   { opacity: 0; transform: scaleY(0); }
  10%, 88% { opacity: 1; transform: scaleY(1); }
  95%,100% { opacity: 0; transform: scaleY(0); }
}
@keyframes build-up {
  0%, 5%   { opacity: 0; transform: translateY(20px); }
  10%, 88% { opacity: 1; transform: none; }
  95%,100% { opacity: 0; transform: translateY(20px); }
}
@keyframes build-drop {
  0%, 5%   { opacity: 0; transform: translateY(-30px); }
  12%      { opacity: 1; transform: translateY(2px); }
  16%, 88% { opacity: 1; transform: none; }
  95%,100% { opacity: 0; transform: translateY(-30px); }
}
@keyframes build-fade {
  0%, 5%   { opacity: 0; transform: scale(0.5); }
  10%, 88% { opacity: 1; transform: none; }
  95%,100% { opacity: 0; transform: scale(0.5); }
}
.house-lawn-1, .house-lawn-2 {
  position: absolute; bottom: 8%;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 10px solid #4d7c0f;
}
.house-lawn-1 { left: 18%; }
.house-lawn-2 { right: 18%; }

/* ── Scene: LAPTOP CODING ── */
.stage-laptop {
  background: linear-gradient(180deg, #ede9fe 0%, #ddd6fe 100%);
  perspective: 800px;
}
.laptop-svg {
  width: 70%; max-width: 200px;
  filter: drop-shadow(0 12px 16px rgba(76, 29, 149, 0.2));
}
.laptop-screen-bg { fill: #0f172a; }
.code-line {
  stroke-linecap: round; stroke-width: 2.5;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: type-line 5s linear infinite;
}
.code-line.cl-1 { stroke: #f9a8d4; animation-delay: 0s; }
.code-line.cl-2 { stroke: #93c5fd; animation-delay: 0.4s; }
.code-line.cl-3 { stroke: #86efac; animation-delay: 0.8s; }
.code-line.cl-4 { stroke: #fcd34d; animation-delay: 1.2s; }
.code-line.cl-5 { stroke: #f9a8d4; animation-delay: 1.6s; }
@keyframes type-line {
  0%   { stroke-dashoffset: 100; }
  30%  { stroke-dashoffset: 0; }
  85%  { stroke-dashoffset: 0; opacity: 1; }
  90%  { opacity: 0; }
  100% { stroke-dashoffset: 100; opacity: 0; }
}
.code-cursor {
  fill: white;
  animation: cursor-blink 0.8s steps(2) infinite;
}
@keyframes cursor-blink { 50% { opacity: 0; } }

/* ── Scene: ROCKET LAUNCH ── */
.stage-rocket {
  background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 60%, #4c1d95 100%);
  overflow: hidden;
}
.star {
  position: absolute; width: 3px; height: 3px;
  background: white; border-radius: 50%;
  box-shadow: 0 0 6px white;
  animation: star-twinkle 2s ease-in-out infinite;
}
.star.s1 { top: 12%; left: 18%; animation-delay: 0s; }
.star.s2 { top: 22%; left: 75%; animation-delay: 0.4s; width: 2px; height: 2px; }
.star.s3 { top: 38%; left: 12%; animation-delay: 0.8s; width: 4px; height: 4px; }
.star.s4 { top: 18%; left: 55%; animation-delay: 1.2s; }
.star.s5 { top: 48%; left: 85%; animation-delay: 0.6s; width: 2px; height: 2px; }
.star.s6 { top: 8%;  left: 40%; animation-delay: 1.5s; }
.star.s7 { top: 32%; left: 92%; animation-delay: 0.2s; width: 2px; height: 2px; }
@keyframes star-twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50%      { opacity: 1; transform: scale(1.4); }
}
.rocket-svg {
  width: 60px;
  position: relative; z-index: 2;
  animation: rocket-launch 5s ease-in-out infinite;
}
@keyframes rocket-launch {
  0%       { transform: translateY(40px) rotate(0deg); }
  10%, 14% { transform: translateY(40px) translateX(-1px) rotate(-1deg); }
  12%, 16% { transform: translateY(40px) translateX(1px) rotate(1deg); }
  30%      { transform: translateY(0) rotate(0deg); }
  70%      { transform: translateY(-160px) rotate(0deg); opacity: 1; }
  85%      { transform: translateY(-220px) rotate(0deg); opacity: 0; }
  100%     { transform: translateY(40px) rotate(0deg); opacity: 0; }
}
.rocket-flame {
  fill: url(#flame-grad);
  transform-origin: top center;
  animation: flame-flicker 0.18s ease-in-out infinite alternate;
}
@keyframes flame-flicker {
  from { transform: scaleY(0.85) scaleX(0.9); }
  to   { transform: scaleY(1.15) scaleX(1.05); }
}
.rocket-trail {
  position: absolute; bottom: -10px;
  width: 8px; height: 80px;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.8), transparent);
  border-radius: 50%;
  opacity: 0;
  animation: trail-show 5s ease-in-out infinite;
}
@keyframes trail-show {
  0%, 25% { opacity: 0; height: 0; }
  30%, 70% { opacity: 0.7; height: 120px; }
  85%, 100% { opacity: 0; height: 80px; }
}

/* ── Scene: COIN STACK ── */
.stage-coins {
  background: linear-gradient(180deg, #d1fae5 0%, #6ee7b7 100%);
  align-items: flex-end;
  padding-bottom: 10px;
}
.coin-falling {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #6ee7b7, #059669);
  border: 3px solid #047857;
  display: grid; place-items: center;
  color: white; font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 22px;
  box-shadow: 0 4px 8px rgba(5, 150, 105, 0.4);
}
.coin-falling::before {
  content: '₮';
}
.coin-c1 { left: 30%; animation: coin-drop 3s 0s infinite; }
.coin-c2 { left: 50%; animation: coin-drop 3s 0.8s infinite; }
.coin-c3 { left: 40%; animation: coin-drop 3s 1.6s infinite; }
.coin-c4 { left: 60%; animation: coin-drop 3s 2.4s infinite; }
@keyframes coin-drop {
  0%   { top: -60px; opacity: 0; transform: rotate(0deg) scale(0.6); }
  10%  { opacity: 1; }
  60%  { top: 65%; transform: rotate(360deg) scale(1); }
  70%  { top: 60%; transform: rotate(360deg) scale(1); } /* bounce */
  80%  { top: 65%; transform: rotate(360deg) scale(1); }
  100% { top: 65%; opacity: 0; transform: rotate(360deg) scale(1); }
}
.coin-stack-base {
  position: absolute; bottom: 8%; left: 50%;
  transform: translateX(-50%);
  display: grid; gap: 2px;
}
.coin-stack-item {
  width: 90px; height: 14px; border-radius: 50px;
  background: linear-gradient(180deg, #34d399, #059669);
  border: 2px solid #047857;
  box-shadow: 0 1px 0 #065f46;
}

/* Sparkles overlay (used on several scenes) */
.sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkle {
  position: absolute; width: 6px; height: 6px;
  background: white; opacity: 0;
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
  animation: sparkle-pop 2.5s ease-in-out infinite;
}
.sparkle.sk1 { top: 20%; left: 25%; animation-delay: 0s; }
.sparkle.sk2 { top: 60%; right: 18%; animation-delay: 0.8s; }
.sparkle.sk3 { top: 75%; left: 40%; animation-delay: 1.6s; }
@keyframes sparkle-pop {
  0%, 100% { opacity: 0; transform: scale(0); }
  50%      { opacity: 1; transform: scale(1) rotate(180deg); }
}

@media (prefers-reduced-motion: reduce) {
  .car-svg, .car-wheel, .car-road-line, .plane-svg, .cloud,
  .house-foundation, .house-wall, .house-roof, .house-door, .house-window-1, .house-window-2, .house-chimney,
  .code-line, .code-cursor, .rocket-svg, .rocket-flame, .rocket-trail, .star,
  .coin-falling, .sparkle, .stage-car::before {
    animation: none !important;
  }
  .house-foundation, .house-wall, .house-roof, .house-door, .house-window-1, .house-window-2, .house-chimney {
    opacity: 1;
  }
}

/* ─── LANGUAGE SWITCHER ──────────────────────────────────────────────── */
.lang-switch {
  position: relative;
  display: inline-block;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease;
}
.lang-btn:hover {
  color: var(--ink);
  border-color: var(--violet);
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.12);
}
.lang-btn .flag {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--line-strong);
  display: block;
}
.lang-btn .caret {
  font-size: 9px;
  color: var(--ink-3, #94a3b8);
  transition: transform .18s ease;
}
.lang-switch:hover .lang-btn .caret,
.lang-switch:focus-within .lang-btn .caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 184px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(15, 23, 42, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 200;
}
/* Open on hover OR when focus is inside (keyboard friendly) */
.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: background .12s ease, color .12s ease;
}
.lang-menu a .flag {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--line-strong);
  display: block;
}
.lang-menu a:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--ink);
}
.lang-menu a.active {
  background: var(--grad-primary);
  color: #fff;
  font-weight: 600;
}
.lang-menu a.active .flag { box-shadow: 0 0 0 1px rgba(255,255,255,0.6); }
/* RTL support (future languages) */
[dir="rtl"] .lang-menu { left: 0; right: auto; transform-origin: top left; }
