:root {
  --bg: #050505;
  --panel: #111111;
  --panel-strong: #191919;
  --text: #ffffff;
  --muted: #b8b8b8;
  --soft: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.14);
  --verify: #0095f6;
  --green: #22c55e;
  --gold: #ffc247;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

.bio-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  padding: 0;
}

.profile {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 35%),
    var(--bg);
}

.profile::before {
  content: "";
  position: absolute;
  inset: 210px -18% auto;
  height: 120px;
  background: var(--bg);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: rotate(4deg);
  z-index: 2;
}

.profile::after {
  content: "";
  position: absolute;
  inset: 240px 8% auto;
  height: 150px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.055), transparent 64%);
  filter: blur(28px);
  opacity: 0.42;
  pointer-events: none;
  z-index: 1;
}

.cover {
  position: relative;
  height: 246px;
  overflow: hidden;
  background: #151515;
}

.cover__photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.76)),
    url("imagem/banner.jpg");
  background-position: center 62%;
  background-size: cover;
  transform: scale(1.03);
}

.cover__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.45), transparent 46%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 24px
    );
  mix-blend-mode: overlay;
}

.profile__content {
  position: relative;
  z-index: 5;
  margin-top: -86px;
  padding: 0 24px 36px;
  text-align: center;
}

.avatar-wrap {
  display: grid;
  place-items: center;
}

.avatar-ring {
  width: 118px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 3px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.62),
    0 0 0 8px rgba(255, 255, 255, 0.035);
}

.avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-image:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35)),
    url("imagem/perfil.jpg");
  background-position: center;
  background-size: cover;
}

.headline {
  margin-top: 16px;
}

h1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: clamp(2.15rem, 10vw, 2.85rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none;
  text-transform: none;
}

.verified-badge {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.verified-badge path:first-child {
  fill: var(--verify);
}

.verified-badge path:last-child {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.headline p:last-child {
  max-width: 340px;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.55;
  text-transform: uppercase;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 26px;
}

.socials a {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.socials .tiktok-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.links {
  display: grid;
  gap: 12px;
}

.link-card {
  position: relative;
  min-height: 78px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(14, 14, 14, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 32px rgba(0, 0, 0, 0.24);
  text-align: left;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.08), transparent 38%);
  transform: translateX(-120%);
  animation: cardShine 4.8s ease-in-out infinite;
  transition: transform 420ms ease;
}

.link-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(18, 18, 18, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 36px rgba(0, 0, 0, 0.3);
}

.link-card:hover::before {
  transform: translateX(110%);
}

.link-card--featured {
  grid-template-columns: 56px minmax(0, 1fr) auto;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 48%),
    rgba(15, 15, 15, 0.94);
  animation:
    buttonBreath 3.4s ease-in-out infinite,
    buttonShake 4.2s ease-in-out infinite;
}

.link-card > * {
  position: relative;
  z-index: 1;
}

.link-card__thumb {
  width: 56px;
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background-color: #202020;
  background-position: center;
  background-size: cover;
}

.thumb-method {
  background-image:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.32)),
    url("imagem/banner.jpg");
}

.link-card__text {
  min-width: 0;
}

.link-card__text strong,
.link-card__text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-card__text strong {
  font-size: 0.9rem;
  font-weight: 900;
}

.link-card__text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.link-card svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  z-index: 1;
  animation: arrowNudge 2.8s ease-in-out infinite;
}

@keyframes cardShine {
  0%,
  42% {
    transform: translateX(-120%);
  }

  58%,
  100% {
    transform: translateX(115%);
  }
}

@keyframes arrowNudge {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(2px, -2px);
  }
}

@keyframes buttonBreath {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 16px 32px rgba(0, 0, 0, 0.24);
  }

  50% {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.09),
      0 18px 38px rgba(0, 0, 0, 0.34);
  }
}

@keyframes buttonShake {
  0%,
  72%,
  100% {
    transform: translateX(0);
  }

  76% {
    transform: translateX(-2px) rotate(-0.25deg);
  }

  80% {
    transform: translateX(2px) rotate(0.25deg);
  }

  84% {
    transform: translateX(-1px) rotate(-0.15deg);
  }

  88% {
    transform: translateX(1px) rotate(0.15deg);
  }

  92% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-card--featured,
  .link-card::before,
  .link-card svg {
    animation: none;
  }
}

@media (max-width: 430px) {
  body {
    display: block;
    background: var(--bg);
  }

  .bio-shell {
    width: 100%;
    min-height: 100vh;
    padding: 0;
  }

  .profile {
    min-height: 100vh;
  }
}

@media (max-width: 360px) {
  .profile__content {
    padding-inline: 18px;
  }

  .headline p:last-child {
    font-size: 0.76rem;
  }
}
