/* ====================================================================
   Linktree — Kenia Serrano
   ==================================================================== */

.lt-body {
  min-height: 100dvh;
  color: var(--white);
  background:
    radial-gradient(120% 80% at 50% -10%, #1d3f86 0%, rgba(29,63,134,0) 55%),
    radial-gradient(90% 60% at 90% 110%, rgba(231,167,40,.16) 0%, rgba(231,167,40,0) 60%),
    linear-gradient(180deg, #0d2153 0%, #0a1530 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* Halo dorado que respira detrás del perfil */
.lt-aurora {
  position: fixed;
  top: -180px; left: 50%;
  width: 520px; height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(231,167,40,.28) 0%, rgba(231,167,40,0) 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
  z-index: 0;
}
@keyframes breathe { 0%,100%{opacity:.55; transform:translateX(-50%) scale(1);} 50%{opacity:.9; transform:translateX(-50%) scale(1.08);} }

.lt-wrap {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: 56px 22px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Perfil --- */
.lt-avatar {
  width: 124px; height: 124px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold-deep) 100%);
  box-shadow: 0 0 0 6px rgba(231,167,40,.10), var(--shadow-lift);
}
.lt-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--navy-800);
  border: 3px solid var(--navy-900);
}

.lt-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 6vw, 2.05rem);
  letter-spacing: 1px;
  margin: 20px 0 4px;
  text-align: center;
}
.lt-title {
  font-size: .72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}
.lt-bio {
  text-align: center;
  max-width: 360px;
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255,255,255,.86);
}

/* --- Iconos sociales --- */
.lt-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 26px 0 30px;
}
.lt-social {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  backdrop-filter: blur(8px);
  transition: transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}
.lt-social svg { width: 21px; height: 21px; }
.lt-social:hover {
  transform: translateY(-3px);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-800);
}

/* --- Tarjeta destacada --- */
.lt-featured {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lift);
  margin-bottom: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.lt-featured:hover { transform: translateY(-4px); }
.lt-featured-img { position: relative; }
.lt-featured-img::before {
  content:""; position:absolute; inset:0 0 auto 0; height:5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  z-index: 2;
}
.lt-featured-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.lt-featured-cap {
  padding: 13px 18px;
  font-size: .78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}

/* --- Lista de enlaces --- */
.lt-links { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.lt-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.lt-link::before {
  content:""; position:absolute; left:0; top:0; bottom:0; width:0;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  transition: width .22s ease;
}
.lt-link:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.10);
  border-color: rgba(231,167,40,.5);
}
.lt-link:hover::before { width: 5px; }
.lt-link-thumb {
  width: 52px; height: 52px; flex: 0 0 52px;
  border-radius: 14px; object-fit: cover;
  background: var(--navy-600);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.lt-link-body { flex: 1; min-width: 0; }
.lt-link-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}
.lt-link-sub {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lt-link-chev { flex: 0 0 auto; color: rgba(255,255,255,.45); transition: transform .2s ease, color .2s ease; }
.lt-link:hover .lt-link-chev { color: var(--gold); transform: translateX(3px); }

/* --- Pie --- */
.lt-footer {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lt-footer img { height: 26px; opacity: .9; }
.lt-cta-landing {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-800);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .3px;
  box-shadow: 0 8px 22px rgba(231,167,40,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.lt-cta-landing:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(231,167,40,.45); }
.lt-credit { font-size: .72rem; color: rgba(255,255,255,.4); letter-spacing: .5px; }
.lt-credit a { color: rgba(255,255,255,.55); }

/* Aparición escalonada */
.lt-wrap > * { animation: rise .6s ease both; }
.lt-wrap > *:nth-child(2){animation-delay:.05s}
.lt-wrap > *:nth-child(3){animation-delay:.10s}
.lt-wrap > *:nth-child(4){animation-delay:.15s}
.lt-wrap > *:nth-child(5){animation-delay:.20s}
.lt-wrap > *:nth-child(6){animation-delay:.25s}
@keyframes rise { from{opacity:0; transform:translateY(14px);} to{opacity:1; transform:none;} }
