/* ==========================================================================
   Dr. Paulo Henrique — Página de Links (estilo "link na bio")
   Reaproveita variáveis e tokens de css/style.css
   ========================================================================== */

body.links-page {
  background: var(--ink);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.links-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.links-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}
.links-glow--1 {
  width: 520px; height: 520px;
  top: -180px; right: -160px;
  background: radial-gradient(circle, rgba(143,224,112,0.20) 0%, rgba(143,224,112,0) 70%);
}
.links-glow--2 {
  width: 460px; height: 460px;
  bottom: -200px; left: -160px;
  background: radial-gradient(circle, rgba(77,217,232,0.14) 0%, rgba(77,217,232,0) 70%);
}

.links-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 56px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.links-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  animation: linksFadeUp 0.9s var(--ease) forwards;
  animation-delay: 0.1s;
}
@keyframes linksFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.links-avatar {
  width: 168px;
  height: 210px;
  margin-bottom: 20px;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,0.5)) drop-shadow(0 0 26px rgba(143,224,112,0.22));
}
.links-avatar svg { width: 100%; height: 100%; overflow: visible; }

.links-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--white);
  margin-bottom: 6px;
}
.links-role {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.links-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}
.links-badge i { color: var(--accent); margin-right: 2px; }
.links-badge__divider { width: 1px; height: 12px; background: rgba(255,255,255,0.2); }

.links-tagline {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 360px;
  margin-bottom: 30px;
}

.links-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  text-align: left;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.link-btn:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.22);
}
.link-btn--accent {
  background: var(--accent);
  border-color: var(--accent);
}
.link-btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 14px 30px rgba(143, 224, 112, 0.35);
}
.link-btn--accent .link-btn__icon { background: rgba(18,51,18,0.16); color: var(--accent-ink); }
.link-btn--accent strong, .link-btn--accent small, .link-btn--accent .link-btn__arrow { color: var(--accent-ink); }
.link-btn--accent small { opacity: 0.75; }

.link-btn__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.link-btn__icon--instagram { background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); color: var(--white); }

.link-btn__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.link-btn__text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--white);
}
.link-btn__text small {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-btn__arrow {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  transition: transform 0.25s var(--ease);
}
.link-btn:hover .link-btn__arrow { transform: translateX(4px); color: rgba(255,255,255,0.7); }
.link-btn--accent .link-btn__arrow { color: rgba(18,51,18,0.5); }
.link-btn--accent:hover .link-btn__arrow { color: var(--accent-ink); }

.links-hours {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 26px;
  text-align: center;
}
.links-hours i { color: var(--accent); }

.links-social {
  display: flex;
  gap: 14px;
}
.links-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.links-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-3px);
}

.links-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px 20px 30px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.links-footer a {
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}
.links-footer a:hover { color: var(--accent); }

@media (max-width: 420px) {
  .links-wrap { padding: 44px 16px 20px; }
  .links-avatar { width: 148px; height: 185px; }
  .links-name { font-size: 1.45rem; }
  .link-btn { padding: 14px 16px; gap: 13px; }
  .link-btn__icon { width: 42px; height: 42px; font-size: 1.1rem; }
}
