/* =========================================================
   thro — link bio (thro.com/links)
   ========================================================= */
body { min-height: 100vh; min-height: 100dvh; background: var(--hero-bg); background-attachment: fixed; }
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.sky::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(520px 360px at 15% 8%, var(--glow-orange), transparent 70%), radial-gradient(560px 420px at 90% 92%, var(--glow-blue), transparent 70%);
}
.bio { position: relative; z-index: 1; width: 100%; max-width: 540px; margin: 0 auto; padding: 18px 16px 36px; }

/* barra superior */
.bio__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }

/* perfil */
.profile { display: flex; flex-direction: column; align-items: center; text-align: center; }
.avatar { position: relative; width: 116px; height: 116px; display: grid; place-items: center; margin-bottom: 18px; }
.avatar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--orbit); }
.avatar::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle at 30% 50%, rgba(242, 92, 0, .55), transparent 62%), radial-gradient(circle at 70% 50%, rgba(47, 127, 224, .6), transparent 62%); filter: blur(18px); }
.avatar svg { position: relative; z-index: 1; width: 84px; height: 84px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }
.profile__name { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.profile__name .th { color: var(--orange); }
.profile__name .ro { color: var(--logo-ro); }
.profile__tag { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.profile__desc { max-width: 400px; margin-top: 12px; color: var(--text-2); font-size: .9375rem; }

.socials { display: flex; justify-content: center; gap: 10px; margin: 20px 0 26px; }
.socials .round-btn:hover { color: #fff; border-color: transparent; background: linear-gradient(180deg, #FF7E2E, #E85600); }
.socials li:nth-child(even) .round-btn:hover { background: linear-gradient(180deg, #3D8BEA, #0055A4); }

/* links */
.links { display: flex; flex-direction: column; gap: 12px; }
.link {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr 20px; align-items: center; gap: 14px;
  min-height: 76px; padding: 16px 20px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.link:hover { transform: translateY(-4px); border-color: transparent; box-shadow: inset 0 1px 0 var(--glass-hi), 0 20px 40px -20px rgba(242, 92, 0, .55); }
.link.spot--b:hover { box-shadow: inset 0 1px 0 var(--glass-hi), 0 20px 40px -20px rgba(47, 127, 224, .7); }
/* ícone ampliado no fundo, à direita, mesclado ao card (como em "Para quem é") */
.link__art {
  --art-color: #F25C00;
  position: absolute; z-index: -1; top: 50%; right: 28px; width: 118px; height: 118px; margin-top: -59px; pointer-events: none;
  color: var(--art-color); opacity: .24; filter: drop-shadow(0 0 18px var(--art-color));
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 74%); mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 74%);
  transition: transform .7s var(--ease), opacity .4s;
}
.link__art svg { width: 100%; height: 100%; stroke-width: 1.25; }
.link.spot--b .link__art { --art-color: #3D8BEA; }
:root[data-theme="light"] .link.spot--b .link__art { --art-color: #0055A4; }
:root[data-theme="light"] .link__art { opacity: .2; }
.link:hover .link__art { opacity: .4; transform: rotate(-8deg) scale(1.08); }
.link__text { display: flex; flex-direction: column; min-width: 0; }
.link__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.link__sub { font-size: .8125rem; color: var(--text-3); line-height: 1.4; }
.link__badge { font-family: var(--font-body); font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; color: var(--blue-text); background: var(--blue-soft); }
.link__arrow { width: 18px; height: 18px; color: var(--text-3); transition: transform .35s var(--ease), color .3s; }
.link:hover .link__arrow { transform: translateX(4px); color: var(--text); }
/* brilho que atravessa o card */
.link__shine { position: absolute; top: -40%; bottom: -40%; left: -70%; width: 40%; z-index: 2; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg); opacity: 0; }

/* destaque: diagnóstico */
.link--featured {
  color: #fff; border-color: rgba(255, 255, 255, .22);
  background: linear-gradient(135deg, rgba(255, 126, 46, .95), rgba(221, 82, 0, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 18px 36px -18px rgba(242, 92, 0, .9);
}
.link--featured::after { display: none; }
.link--featured .link__art { --art-color: #fff; opacity: .3; }
.link--featured .link__sub { color: rgba(255, 255, 255, .82); }
.link--featured .link__arrow { color: #fff; }
.link--featured:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 24px 44px -18px rgba(242, 92, 0, 1); }

.group-label { display: flex; align-items: center; gap: 10px; margin: 18px 4px 2px; font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.group-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent); }

.bio__foot { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 36px; font-size: .8125rem; color: var(--text-3); }
.bio__foot a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text-2); }
.bio__foot svg { width: 16px; height: 16px; }

@media (prefers-reduced-motion: no-preference) {
  .avatar::before { animation: spin 22s linear infinite; }
  .link:hover .link__shine { animation: shimmer 1s var(--ease); }
  .link--featured .link__shine { animation: shimmerLoop 4.8s var(--ease) 1.4s infinite; }
}
