:root {
  color-scheme: dark;
  --ink: #f9f6f7;
  --muted: #bdb3bb;
  --stroke: #ffffff1c;
  --panel: #17151d;
  --accent: #ff5b61;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse 40rem 27rem at 50% 0%, #36121c 0%, transparent 85%),
    #0b0b10;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.bio { width: min(100% - 32px, 548px); margin: auto; padding: 35px 0 18px; }
.profile { text-align: center; margin-bottom: 25px; }
.profile-logo {
  width: 82px; height: 82px; margin: auto; display: grid; place-items: center;
  border: 1px solid #ff6e745e; border-radius: 24px;
  background: #120d13; box-shadow: 0 10px 28px #0008, 0 0 28px #f8344e20;
}
.profile img { border-radius: 19px; object-fit: contain; display: block; }
.profile h1 { margin: 8px 0 5px; font-size: clamp(34px, 8vw, 43px); letter-spacing: -.064em; line-height: 1.15; }
.profile p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.bio-feature {
  position: relative; isolation: isolate; display: grid; overflow: hidden; align-content: center;
  min-height: 140px; padding: 19px; margin-bottom: 9px;
  border: 1px solid #ff5b6194; border-radius: 21px; background: #811f2b;
  box-shadow: 0 13px 36px #f1323f25; color: #fff; text-decoration: none;
}
.bio-feature:hover { border-color: #ffa5aa; }
.bio-feature::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    linear-gradient(90deg, #531822 2%, #6f202c 38%, #5c1822d9 62%, #5a1c2859 100%),
    url("/assets/bio/destaque.webp") right 38% / auto 145% no-repeat;
}
.bio-feature .bio-feature-icon { width: 28px; height: 28px; margin-bottom: 8px; }
.bio-feature-title { display: block; width: min(100%, 22ch); font-size: clamp(21px, 6vw, 27px); line-height: 1.12; letter-spacing: -.04em; font-weight: 800; }
.bio-feature-description { display: block; margin-top: 4px; width: min(100%, 31ch); font-size: 13px; color: #fff3f3; }
.bio-feature .bio-arrow { position: absolute; right: 16px; bottom: 16px; width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #fff4; border-radius: 50%; background: #170d1470; }
.bio-feature-title, .bio-feature-description { padding-right: 24px; }

.bio-section { margin-top: 22px; }
.bio-section h2 { font-size: 15px; font-weight: 700; line-height: 1.4; margin: 0 0 8px 2px; color: #efdee4; }
.bio-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.bio-list.is-pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
.bio-link {
  display: flex; align-items: center; gap: 11px; min-height: 53px; height: 100%;
  padding: 9px 12px; border: 1px solid var(--stroke); border-radius: 14px; background: var(--panel);
  color: inherit; text-decoration: none; transition: border-color .16s, background-color .16s;
}
.bio-link:hover { background: #231c26; border-color: #ff66716b; }
.bio-link:focus-visible, .bio-feature:focus-visible { outline: 2px solid #ffd776; outline-offset: 3px; }
.bio-icon-box {
  flex: 0 0 33px; width: 33px; height: 33px; border-radius: 9px; display: grid; place-items: center;
  background: #371e29; border: 1px solid #ff74792b;
}
.bio-icon-box img { width: 19px; height: 19px; }
.bio-link[data-icon="premium"] .bio-icon-box,
.bio-link[data-icon="diamante"] .bio-icon-box { background: #3e3020; border-color: #efc16a43; }
.bio-link[data-icon="suporte"] .bio-icon-box { background: #1e332b; border-color: #56c69544; }
.bio-link[data-icon="instagram"] .bio-icon-box { background: #362144; border-color: #da85d447; }
.bio-link-text { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 14px; line-height: 1.28; font-weight: 670; }
.bio-link-text small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 450; }
.bio-arrow::before { content: ""; display: block; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateX(-1px) rotate(45deg); }
.bio-link > .bio-arrow { color: var(--accent); padding: 3px; }
.bio-apps { display: flex; align-items: center; margin-left: auto; padding-left: 3px; }
.bio-apps img { margin-left: -3px; border: 1px solid #ffffff35; width: 25px; height: 25px; border-radius: 7px; object-fit: contain; background: #120e15; }
.bio-footer { text-align: center; color: #a098a0; font-size: 12px; margin-top: 24px; }
@media (max-width: 365px) {
  .bio { width: calc(100% - 24px); padding-top: 24px; }
  .bio-apps img:nth-child(n+2) { display: none; }
  .bio-list.is-pair .bio-link { padding-inline: 8px; gap: 7px; }
}
@media (max-width: 300px) { .bio-list.is-pair { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .bio-link { transition: none; } }
