/* ─────────────────────────────────────────────
   PÁGINA DE LINKS  (/links)
   Usa os tokens de css/styles.css (--bg, --accent, --fh…)
───────────────────────────────────────────── */

.links-body { background: var(--bg); }

/* fundo: orbs fixos atrás do conteúdo */
.lk-orbs { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.lk-orbs .orb-1 { top: -220px; right: -180px; }
.lk-orbs .orb-2 { bottom: -160px; left: -120px; }

/* ── ESTRUTURA ────────────────────────────── */
.lk-shell {
  position: relative; z-index: 2;
  width: 100%; max-width: 560px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 5.5rem;
  text-align: center;
}

/* ── PERFIL ───────────────────────────────── */
/* foto recortada (mesma do hero da home), sem círculo */
.lk-photo {
  position: relative; width: min(270px, 72%); margin: 0 auto .4rem;
  filter: drop-shadow(0 26px 44px rgba(0,0,0,.62));
  opacity: 0; animation: fadeup .7s .1s ease forwards;
}
.lk-photo img {
  position: relative; z-index: 1;
  width: 100%; height: auto; display: block;
  filter: saturate(.98) contrast(1.03);
  /* Sombra de baixo para cima: escurece e dissolve a base na cor do fundo.
     Para mais sombra, baixa a primeira porcentagem (42%);
     para menos, sobe. */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 42%, rgba(0,0,0,.92) 56%, rgba(0,0,0,.66) 70%, rgba(0,0,0,.36) 84%, rgba(0,0,0,.12) 93%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 42%, rgba(0,0,0,.92) 56%, rgba(0,0,0,.66) 70%, rgba(0,0,0,.36) 84%, rgba(0,0,0,.12) 93%, transparent 100%);
}
/* véu escuro subindo da base, reforçando a sombra sobre a foto */
.lk-photo::after {
  content: ''; position: absolute; z-index: 2; inset: auto 0 0 0; height: 62%;
  background: linear-gradient(to top,
    var(--bg) 0%,
    rgba(8,8,8,.86) 24%,
    rgba(8,8,8,.55) 48%,
    rgba(8,8,8,.24) 72%,
    transparent 100%);
  pointer-events: none;
}

.lk-status {
  align-self: center;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem; margin-bottom: 1.1rem;
  border: 1px solid rgba(192,255,0,.28); border-radius: 999px;
  background: rgba(192,255,0,.06);
  font-family: var(--fh); font-weight: 600; font-size: .62rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  opacity: 0; animation: fadeup .7s .2s ease forwards;
}
.lk-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: lk-pulse 2.4s ease-out infinite; }

.lk-shell h1 {
  font-family: var(--fh); font-weight: 800;
  font-size: clamp(1.9rem, 7vw, 2.5rem); line-height: 1; letter-spacing: -.045em;
  color: #fff;
  opacity: 0; animation: fadeup .7s .3s ease forwards;
}
.lk-handle {
  margin-top: .55rem; font-size: .78rem; letter-spacing: .06em; color: var(--accent);
  opacity: 0; animation: fadeup .7s .38s ease forwards;
}
.lk-bio {
  margin: .9rem auto 0; max-width: 420px;
  font-size: .88rem; font-weight: 300; line-height: 1.75; color: var(--muted2);
  opacity: 0; animation: fadeup .7s .46s ease forwards;
}

/* números (reaproveita .stat-n / .stat-l do styles.css) */
.lk-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 1.8rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); overflow: hidden;
  opacity: 0; animation: fadeup .7s .54s ease forwards;
}
.lk-stats .stat { padding: 1rem .5rem; }
.lk-stats .stat + .stat { border-left: 1px solid var(--border); }
.lk-stats .stat-n { font-size: 1.5rem; margin-bottom: .15rem; }
.lk-stats .stat-l { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* faixa deslizante (variação compacta do marquee do site) */
.lk-marquee {
  margin-top: 1.6rem; padding: .75rem 0;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  opacity: 0; animation: fadeup .7s .6s ease forwards;
}
.lk-marquee .marquee-item { padding: 0 1.4rem; gap: 1rem; font-size: .64rem; }

/* ── LISTA DE LINKS ───────────────────────── */
.lk-list { display: grid; gap: .7rem; margin-top: 1.8rem; text-align: left; }

.lk-item {
  position: relative; display: flex; align-items: center; gap: .9rem;
  padding: .95rem 1.05rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); overflow: hidden;
  opacity: 0; transform: translateY(16px);
  animation: fadeup .55s ease forwards;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
/* entrada escalonada — cobre também links adicionados depois */
.lk-item:nth-child(1) { animation-delay: .56s; }
.lk-item:nth-child(2) { animation-delay: .63s; }
.lk-item:nth-child(3) { animation-delay: .70s; }
.lk-item:nth-child(4) { animation-delay: .77s; }
.lk-item:nth-child(5) { animation-delay: .84s; }
.lk-item:nth-child(n+6) { animation-delay: .91s; }

.lk-item::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(192,255,0,.12) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.lk-item:hover {
  border-color: rgba(192,255,0,.34); background: var(--surface2);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.38), 0 0 26px rgba(192,255,0,.08);
}
.lk-item:hover::after { transform: translateX(120%); }
.lk-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.lk-ico {
  flex-shrink: 0; width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 9px;
  background: var(--bg2); color: var(--accent);
  transition: border-color var(--transition), transform var(--transition);
}
.lk-ico svg { width: 18px; height: 18px; }
.lk-item:hover .lk-ico { border-color: rgba(192,255,0,.3); transform: translateY(-1px); }

.lk-txt { flex: 1; min-width: 0; }
.lk-txt strong {
  display: block; font-family: var(--fh); font-weight: 700; font-size: .92rem;
  letter-spacing: -.015em; color: #fff;
}
.lk-txt > span {
  display: block; margin-top: .15rem;
  font-size: .74rem; font-weight: 300; line-height: 1.45; color: var(--muted);
}
.lk-arrow {
  margin-left: auto; flex-shrink: 0;
  font-size: .85rem; color: var(--muted);
  transition: transform var(--transition), color var(--transition);
}
.lk-item:hover .lk-arrow { color: var(--accent); transform: translateX(4px); }

/* destaque verde */
.lk-item.is-featured {
  border-color: rgba(192,255,0,.45);
  background: linear-gradient(135deg, rgba(192,255,0,.14), rgba(8,8,8,.72) 55%, rgba(0,229,255,.1));
  box-shadow: 0 16px 34px rgba(0,0,0,.3), 0 0 26px rgba(192,255,0,.12);
}
.lk-item.is-featured .lk-ico { background: var(--accent); color: #000; border-color: transparent; }
.lk-item.is-featured .lk-txt strong { color: var(--accent); }
.lk-item.is-featured .lk-arrow { color: var(--accent); }
.lk-item.is-featured:hover {
  background: linear-gradient(135deg, rgba(192,255,0,.2), rgba(8,8,8,.7) 55%, rgba(0,229,255,.14));
  box-shadow: 0 18px 38px rgba(0,0,0,.34), 0 0 34px rgba(192,255,0,.2);
}

/* ── BOTÕES DAS REDES ─────────────────────── */
.lk-socials {
  display: flex; justify-content: center; gap: .6rem; margin-top: 2.2rem;
  opacity: 0; animation: fadeup .55s .98s ease forwards;
}
.lk-social {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 50%;
  background: var(--surface); color: var(--muted2);
  transition: color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.lk-social svg { width: 17px; height: 17px; }
.lk-social:hover {
  color: var(--accent); border-color: rgba(192,255,0,.4);
  transform: translateY(-3px); box-shadow: 0 0 22px rgba(192,255,0,.14);
}

/* ── COMPARTILHAR ─────────────────────────── */
.lk-share {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; margin-top: 1.4rem; padding: .9rem 1.2rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: transparent; color: var(--muted2);
  font-family: var(--fh); font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; animation: fadeup .55s 1.05s ease forwards;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.lk-share svg { width: 15px; height: 15px; }
.lk-share:hover { color: var(--accent); border-color: rgba(192,255,0,.3); background: rgba(192,255,0,.04); }

.lk-toast {
  position: fixed; left: 50%; bottom: 2rem; z-index: 600;
  transform: translate(-50%, 16px);
  padding: .7rem 1.3rem; border-radius: 999px;
  background: var(--accent); color: #000;
  font-family: var(--fh); font-weight: 700; font-size: .7rem;
  letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.lk-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── RESPONSIVO ───────────────────────────── */
@media (max-width: 480px) {
  .lk-shell { padding: 2.8rem 1.1rem 5rem; }
  .lk-photo { width: min(215px, 66%); }
  .lk-stats .stat-n { font-size: 1.3rem; }
  .lk-item { padding: .85rem .9rem; gap: .75rem; }
  .lk-ico { width: 38px; height: 38px; }
  .lk-txt strong { font-size: .86rem; }
  .lk-txt > span { font-size: .7rem; }
}

/* sem cursor customizado em toque */
@media (hover: none) {
  #cur, #cur-ring { display: none; }
  .links-body.has-custom-cursor,
  .links-body.has-custom-cursor a { cursor: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .lk-photo, .lk-status, .lk-shell h1, .lk-handle, .lk-bio,
  .lk-stats, .lk-marquee, .lk-item, .lk-socials, .lk-share {
    opacity: 1; transform: none; animation: none;
  }
  .lk-status i, .lk-marquee .marquee-track, .lk-orbs .orb { animation: none; }
  .lk-item::after { display: none; }
}

@keyframes lk-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(192,255,0,.5); }
  70%  { box-shadow: 0 0 0 9px rgba(192,255,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(192,255,0,0); }
}
