/* ── Links Page ─────────────────────────── */
.links-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 60px 20px 40px;
}

.links-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}

/* Profile */
.links-profile {
  text-align: center;
}

.links-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid rgba(49, 107, 255, 0.18);
  box-shadow: 0 8px 28px rgba(49, 107, 255, 0.15);
}

.links-name {
  margin: 16px 0 0;
  font-size: 1.5rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.links-bio {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Social Icons */
.links-socials {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid rgba(94, 122, 176, 0.22);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(49, 107, 255, 0.18);
  border-color: rgba(49, 107, 255, 0.35);
}

/* Link Cards */
.links-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid rgba(94, 122, 176, 0.22);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(17, 195, 255, 0.15),
    transparent 52%
  );
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(65, 110, 197, 0.4);
  box-shadow: 0 12px 28px rgba(49, 107, 255, 0.16);
}

.link-card:hover::before {
  opacity: 1;
}

.link-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, rgba(49, 107, 255, 0.15), rgba(17, 195, 255, 0.1));
  border: 1px solid rgba(83, 116, 180, 0.2);
  color: var(--electric-blue);
}

.link-label {
  flex: 1;
  font-weight: 590;
  font-size: 1rem;
  letter-spacing: -0.005em;
}

.link-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.link-card:hover .link-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* Footer */
.links-footer {
  padding-top: 12px;
}

.links-footer-brand {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.links-footer-brand:hover {
  color: var(--text);
}

/* Mobile tweaks */
@media (max-width: 520px) {
  .links-page {
    padding: 40px 16px 32px;
  }

  .links-container {
    gap: 22px;
  }

  .links-name {
    font-size: 1.3rem;
  }

  .link-card {
    padding: 14px 16px;
  }
}
