@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #090a0b;
  --card: rgba(22, 24, 24, .82);
  --card-hover: rgba(29, 32, 31, .94);
  --text: #f4f7f2;
  --muted: #8d948d;
  --line: rgba(255, 255, 255, .09);
  --green: #53fc18;
  --green-dark: #38bd0d;
  --green-soft: rgba(83, 252, 24, .12);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 35% at 50% -5%, rgba(83, 252, 24, .10), transparent 70%),
    linear-gradient(180deg, #0c0e0d 0%, #090a0b 45%, #070808 100%);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.glow { position: fixed; z-index: -2; border-radius: 50%; filter: blur(100px); opacity: .13; pointer-events: none; }
.glow-one { width: 260px; height: 260px; top: 28%; left: -130px; background: var(--green); }
.glow-two { width: 300px; height: 300px; right: -190px; top: 65%; background: #695cff; }

.page {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 20px max(38px, env(safe-area-inset-bottom));
}
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 42px; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  transition: color .2s ease;
}
.back:hover { color: var(--text); }
.back svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.share {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.share:hover { transform: translateY(-2px); background: rgba(255,255,255,.09); }
.share svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero { padding: 32px 0 35px; text-align: center; }
.avatar-wrap { position: relative; width: fit-content; margin: 0 auto 22px; }
.avatar {
  display: grid;
  width: 104px;
  height: 104px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 31px;
  background: linear-gradient(145deg, #1c211e, #0c0e0d);
  box-shadow: 0 18px 50px rgba(0,0,0,.45), 0 0 0 7px rgba(255,255,255,.025);
  transform: rotate(-2deg);
}
.avatar img { width: 82%; height: 82%; object-fit: contain; transform: rotate(2deg); }
.live-dot {
  position: absolute;
  right: -3px;
  bottom: 4px;
  width: 20px;
  height: 20px;
  border: 5px solid var(--bg);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(83,252,24,.65);
}
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
h1 { margin: 0; font-size: clamp(40px, 10vw, 58px); line-height: 1; letter-spacing: -.065em; font-weight: 800; }
.bio { margin: 16px 0 22px; color: #abb0aa; font-size: 14px; line-height: 1.65; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social-link {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255,255,255,.045);
  transition: color .2s ease, border-color .2s ease, transform .2s ease, background .2s ease;
}
.social-link:hover { color: var(--green); border-color: rgba(83,252,24,.35); background: var(--green-soft); transform: translateY(-3px); }
.social-link svg { width: 20px; height: 20px; fill: currentColor; }

.section { min-width: 0; margin: 0 0 30px; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin: 0 2px 12px; }
.section-title { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-note { overflow: hidden; max-width: 68%; color: var(--muted); font-size: 10px; font-weight: 600; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.link-list { display: grid; min-width: 0; gap: 10px; }
.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 34px;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 78px;
  padding: 12px 15px 12px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  color: var(--text);
  background: var(--card);
  box-shadow: 0 10px 35px rgba(0,0,0,.14);
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.link-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 45%, rgba(255,255,255,.04), transparent 68%); transform: translateX(-110%); transition: transform .55s ease; }
.link-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.17); background: var(--card-hover); }
.link-card:hover::before { transform: translateX(110%); }
.link-card.featured { border-color: rgba(83,252,24,.24); background: linear-gradient(100deg, rgba(83,252,24,.13), rgba(21,24,22,.94) 58%); }
.link-card.featured:hover { border-color: rgba(83,252,24,.45); }
.card-icon, .wallet-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  color: var(--icon-color, var(--green));
  background: rgba(0,0,0,.24);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.card-icon svg { width: 23px; height: 23px; fill: currentColor; }
.card-copy { position: relative; z-index: 1; min-width: 0; padding: 0 12px; }
.card-copy strong { display: block; overflow: hidden; font-size: 14px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.card-copy small { display: block; overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.arrow { position: relative; z-index: 1; color: #697069; font-size: 20px; text-align: right; transition: color .2s ease, transform .2s ease; }
.link-card:hover .arrow { color: var(--green); transform: translateX(2px); }

.wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wallet {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 34px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(19,21,20,.78);
  transition: border-color .2s ease, background .2s ease;
}
.wallet:hover { border-color: rgba(255,255,255,.17); background: rgba(26,29,27,.94); }
.wallet-icon { width: 40px; height: 40px; border-radius: 13px; font-size: 11px; }
.wallet-copy { min-width: 0; padding: 0 10px; }
.wallet-name { display: block; font-size: 12px; font-weight: 800; }
.wallet-address { display: block; overflow: hidden; margin-top: 3px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: #929892;
  background: rgba(255,255,255,.055);
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.copy-btn:hover { color: var(--green); background: var(--green-soft); transform: scale(1.05); }
.copy-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 3px 0; color: #626762; font-size: 10px; letter-spacing: .06em; }
.footer-mark { color: #8d938d; font-weight: 800; letter-spacing: -.04em; }
.footer-mark span { color: var(--green); }
.toast {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: max(26px, env(safe-area-inset-bottom));
  padding: 11px 17px;
  border: 1px solid rgba(83,252,24,.25);
  border-radius: 12px;
  color: var(--text);
  background: rgba(17,20,18,.94);
  box-shadow: 0 15px 45px rgba(0,0,0,.5);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.section, .hero { animation: rise .55s both; }
.section:nth-of-type(2) { animation-delay: .08s; }
.section:nth-of-type(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: none; } }

@media (max-width: 540px) {
  .page { padding-inline: 14px; }
  .hero { padding-top: 25px; }
  .wallets { grid-template-columns: 1fr; }
  .link-card { min-height: 74px; border-radius: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
