:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
  background: #5d7a86;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.18), transparent 36rem),
    linear-gradient(190deg, rgba(124, 161, 173, 0.95) 0%, rgba(45, 62, 68, 0.98) 100%);
  background-attachment: fixed;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(145deg, transparent 0 36%, rgba(0, 0, 0, 0.18) 100%),
    radial-gradient(circle at 75% 15%, rgba(255, 255, 255, 0.12), transparent 32rem);
  pointer-events: none;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 6rem 4rem;
}

.profile {
  width: min(100%, 27rem);
}

.profile-photo {
  display: block;
  width: 6.75rem;
  height: 6.75rem;
  margin: 0 auto 2rem;
  padding: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.57);
  border-radius: 50%;
  object-fit: cover;
  animation: rise 700ms ease both;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 600;
  line-height: 0.9;
  text-align: center;
  letter-spacing: -0.04em;
  animation: rise 800ms 80ms ease both;
}

.intro {
  margin: 1.25rem 0 2rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
  animation: rise 800ms 140ms ease both;
}

.link-panel {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 1.25rem;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.22));
  box-shadow: 0 1.25rem 4rem rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(0.3rem);
  -webkit-backdrop-filter: blur(0.3rem);
  animation: rise 850ms 200ms ease both;
}

.link-card {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.37);
  border-radius: 0.625rem;
  color: #fff;
  background:
    linear-gradient(221deg, rgba(255, 255, 255, 0.12) 3%, transparent 96%),
    rgba(255, 255, 255, 0.07);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.link-card:hover {
  transform: translateY(-1px) scale(1.025);
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.18);
}

.link-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.icon {
  width: 1.5rem;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.icon-word {
  font-size: 1rem;
  font-weight: 700;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 736px) {
  .page-shell {
    padding: 2.5rem 1.25rem;
  }

  .profile {
    width: min(100%, 31rem);
  }

  .link-panel {
    gap: 1rem;
  }

  .link-card {
    min-height: 3.5rem;
  }
}
