/* ============================================================
   Atleta do Vôlei — /links (link na bio)
   Pasta autocontida: não depende do styles.css da landing.
   Cores e fontes são as mesmas do app e do site.
   ============================================================ */

:root {
  --orange: #cc5f31;
  --orange-bright: #f0641e;
  --gold: #dfa61c;
  --gold-light: #f8bd43;
  --blue: #3c5198;

  --bg: #060e24;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.2);

  --text: #eef2ff;
  --text-dim: #aab4d4;
  --text-soft: #7e89ad;

  --grad: linear-gradient(100deg, var(--gold-light) 0%, var(--orange-bright) 55%, var(--orange) 100%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 44px 20px 40px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.bg-aurora {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 12% 8%, rgba(204, 95, 49, 0.22), transparent 60%),
    radial-gradient(55% 45% at 92% 12%, rgba(223, 166, 28, 0.16), transparent 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(60, 81, 152, 0.28), transparent 60%),
    var(--bg);
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.bio { width: 100%; max-width: 520px; }

/* ---------- Cabeçalho ---------- */
.bio-head { text-align: center; margin-bottom: 26px; }

.bio-avatar {
  width: 104px; height: 104px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 46px -18px rgba(240, 100, 30, 0.75);
  overflow: hidden;
}
.bio-avatar img { width: 100%; height: 100%; object-fit: cover; }

.bio-name { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.01em; }
.bio-handle {
  display: inline-block; margin-top: 2px; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--gold-light);
}
.bio-tagline { margin: 10px auto 0; max-width: 380px; color: var(--text-dim); font-size: 0.97rem; }

/* ---------- Ícones sociais (topo) ---------- */
.bio-socials { display: flex; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.bio-socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
  transition: transform 0.25s var(--ease), color 0.25s, border-color 0.25s, background 0.25s;
}
.bio-socials a:hover, .bio-socials a:focus-visible {
  transform: translateY(-3px); color: var(--text);
  background: var(--surface-2); border-color: var(--orange-bright);
}

/* ---------- Lista de links ---------- */
.bio-links { display: flex; flex-direction: column; gap: 12px; }

.link-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.link-row:hover, .link-row:focus-visible {
  transform: translateY(-3px);
  background: var(--surface-2); border-color: var(--border-strong);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.9);
}

.link-icon {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); color: var(--text);
}
.link-icon img { width: 26px; height: 26px; object-fit: contain; }

.link-label { flex: 1; font-weight: 700; font-size: 1rem; }
.link-label small {
  display: block; font-weight: 500; font-size: 0.78rem;
  color: var(--text-soft); letter-spacing: 0.01em;
}
.link-arrow { flex: none; color: var(--text-soft); transition: transform 0.25s var(--ease), color 0.25s; }
.link-row:hover .link-arrow { transform: translateX(3px); color: var(--orange-bright); }

/* Link em destaque (download do app) */
.link-row.is-featured {
  background: var(--grad); border-color: transparent; color: #1a0e06;
  box-shadow: 0 16px 38px -12px rgba(240, 100, 30, 0.62);
}
.link-row.is-featured:hover { box-shadow: 0 22px 46px -12px rgba(240, 100, 30, 0.8); }
.link-row.is-featured .link-icon { background: rgba(26, 14, 6, 0.14); color: #1a0e06; }
.link-row.is-featured .link-label small { color: rgba(26, 14, 6, 0.72); }
.link-row.is-featured .link-arrow { color: rgba(26, 14, 6, 0.6); }
.link-row.is-featured:hover .link-arrow { color: #1a0e06; }

/* Cores de marca no ícone, no hover */
.link-row:hover .ic-instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); color: #fff; }
.link-row:hover .ic-facebook { background: #1877f2; color: #fff; }
.link-row:hover .ic-tiktok { background: #010101; color: #fff; }
.link-row:hover .ic-youtube { background: #ff0000; color: #fff; }
.link-row:hover .ic-site { background: rgba(255, 255, 255, 0.16); }

/* ---------- Rodapé ---------- */
.bio-foot { margin-top: 30px; text-align: center; font-size: 0.82rem; color: var(--text-soft); }
.bio-foot nav { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.bio-foot nav a { color: var(--text-dim); }
.bio-foot nav a:hover { color: var(--orange-bright); }
.bio-foot nav span { opacity: 0.4; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

@media (max-width: 380px) {
  .bio-socials a { width: 38px; height: 38px; }
  .link-label { font-size: 0.94rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
