/* ================================================================
   LINK NA BIO — estética herdada do site (roxo + Geist/Instrument),
   porém 100% self-contained e sem marca. Suba esta pasta em qualquer
   domínio. Edite os textos e links no topo do bio.js.
   ================================================================ */
:root {
  --bg: #050506;
  --card: #0b0b0d;
  --card-2: #101013;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f5f6;
  --muted: rgba(255, 255, 255, 0.54);
  --dim: rgba(255, 255, 255, 0.38);
  --accent: #7b00ff;
  --accent-2: #a855f7;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@property --pillang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ---------- fundo: linhas + brilho ---------- */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bglines { position: absolute; inset: 0; width: 100%; height: 100%; }
.glow {
  position: absolute; left: 50%; top: -12%; transform: translateX(-50%);
  width: 680px; height: 680px; max-width: 130vw;
  background: radial-gradient(circle, rgba(123, 0, 255, 0.22), rgba(123, 0, 255, 0) 62%);
  filter: blur(8px);
}
.cursorfx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 80; pointer-events: none; }

/* ---------- coluna central ---------- */
.wrap {
  position: relative; z-index: 2;
  width: 100%; max-width: 480px;
  margin: 0 auto; padding: clamp(52px, 9vh, 92px) 22px 60px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

/* ---------- avatar ---------- */
.avatar { position: relative; width: 108px; height: 108px; margin-bottom: 20px; }
.avatar__ring {
  position: absolute; inset: -6px; border-radius: 50%;
  background: conic-gradient(from 0deg, #7b00ff, #c08bff, #7b00ff, #5a00c0, #7b00ff);
  animation: spin 6s linear infinite;
  filter: blur(0.4px);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}
@keyframes spin { to { transform: rotate(360deg); } }
.avatar__img, .avatar__fb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover; object-position: center 26%;
  border: 3px solid #0a0a0c;
  box-shadow: 0 12px 40px -10px rgba(123, 0, 255, 0.8);
}
.avatar__fb {
  display: none; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #7b00ff, #3a0090);
  font-size: 40px; font-weight: 600; color: #fff; letter-spacing: -0.02em;
}

/* ---------- pílula de status (anel animado) ---------- */
.statuspill {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  padding: 8px 15px 8px 13px; border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.22);
  background: linear-gradient(180deg, rgba(123, 0, 255, 0.14), rgba(123, 0, 255, 0.05));
  backdrop-filter: blur(8px);
  box-shadow: 0 0 28px rgba(123, 0, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  margin-bottom: 20px;
}
.statuspill::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--pillang),
    transparent 0turn, transparent 0.52turn,
    rgba(201, 162, 255, 0.9) 0.7turn, #7b00ff 0.79turn,
    transparent 0.92turn, transparent 1turn);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  animation: pillRing 5s linear infinite; pointer-events: none;
}
@keyframes pillRing { to { --pillang: 360deg; } }
.statuspill i {
  position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #f0e2ff, #b47cff 55%, #7b00ff);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.9); animation: pulseDot 2.6s ease-out infinite;
}
.statuspill i::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 1px solid rgba(180, 124, 255, 0.65); animation: pillPing 2.6s ease-out infinite;
}
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 8px rgba(168, 85, 247, 0.7); } 50% { box-shadow: 0 0 15px rgba(190, 140, 255, 1); } }
@keyframes pillPing { 0% { transform: scale(0.65); opacity: 0.85; } 75% { opacity: 0; } 100% { transform: scale(2.4); opacity: 0; } }

/* ---------- textos ---------- */
.name { font-size: clamp(26px, 6vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.handle { color: var(--accent-2); font-size: 14.5px; margin-top: 7px; }
.bio { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 34ch; line-height: 1.55; }
.bio em { font-style: italic; font-family: "Instrument Serif", serif; color: #e7d6ff; font-size: 1.12em; }

/* ---------- redes ---------- */
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: #fff;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.socials a:hover {
  transform: translateY(-3px); background: rgba(123, 0, 255, 0.16);
  border-color: rgba(168, 85, 247, 0.5); box-shadow: 0 0 0 4px rgba(123, 0, 255, 0.08);
}
.socials svg { width: 18px; height: 18px; }

/* ---------- lista de links ---------- */
.links { width: 100%; display: flex; flex-direction: column; gap: 13px; margin-top: 30px; }
.link {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 15px;
  padding: 15px 16px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--card);
  transition: transform 0.28s var(--ease), border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.link:hover {
  transform: translateY(-3px); border-color: rgba(168, 85, 247, 0.45);
  background: var(--card-2); box-shadow: 0 18px 40px -22px rgba(123, 0, 255, 0.9);
}
/* faixa de luz que atravessa no hover (igual aos botões do site) */
.link::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(168, 85, 247, 0.14) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform 0.8s var(--ease);
}
.link:hover::after { transform: translateX(130%); }
.link__ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 22px;
  background: rgba(123, 0, 255, 0.12); border: 1px solid rgba(168, 85, 247, 0.22);
  overflow: hidden;
}
.link__ic img { width: 100%; height: 100%; object-fit: cover; }
.link__ic img.link__logo { width: 74%; height: 74%; object-fit: contain; }
.link__tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; text-align: left; }
.link__tx b { font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.link__tx span { font-size: 12.5px; color: var(--dim); line-height: 1.45; }
.link__go {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); color: var(--muted); font-size: 15px;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.link:hover .link__go { transform: translateX(3px); background: rgba(123, 0, 255, 0.3); color: #fff; }

/* link em destaque: degradê roxo cheio */
.link--featured {
  border-color: rgba(190, 130, 255, 0.4); color: #fff;
  background: linear-gradient(135deg, #7b00ff 0%, #9a2bff 55%, #6a00e0 100%);
  box-shadow: 0 16px 40px -14px rgba(123, 0, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.link--featured:hover { background: linear-gradient(135deg, #8611ff 0%, #a63bff 55%, #7400f0 100%); box-shadow: 0 22px 50px -14px rgba(123, 0, 255, 1); }
.link--featured .link__ic { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.2); }
.link--featured .link__tx span { color: rgba(255, 255, 255, 0.72); }
.link--featured .link__go { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* ---------- rodapé ---------- */
.foot {
  margin-top: 34px; font-size: 12px; color: var(--dim); letter-spacing: 0.02em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.foot__logo { height: 15px; width: auto; display: block; opacity: 0.72; transition: opacity 0.25s var(--ease); }
.foot a:hover .foot__logo { opacity: 1; }

/* ---------- reveal (entrada escalonada) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.link.reveal { transition-delay: calc(var(--i, 0) * 55ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .avatar__ring, .statuspill::before, .statuspill i, .statuspill i::after { animation: none; }
}
