:root {
  --bg: #f5f5f5;
  --card: rgba(255, 255, 255, 0.72);
  --text: #1f1f1f;
  --muted: #555;
  --link: #3056d3;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Finlandica", sans-serif;
  background:
    radial-gradient(circle at top, #ffffff 0%, #f6f6f6 55%, #ededed 100%);
  color: var(--text);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.card {
  width: min(90%, 900px);
  text-align: center;
  padding: 28px 22px 30px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--card);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.avatar-wrap {
  width: 210px;
  height: 210px;
  margin: 0 auto 26px;
  padding: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #e9e9e9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 30px rgba(0,0,0,.08);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.bio p {
  margin: 0 0 6px;
}

.bio a {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}

.bio a:hover {
  text-decoration: underline;
}

.social {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-link {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  background: #fafafa;
}

@media (max-width: 480px) {
  .card {
    padding: 24px 16px 26px;
    border-radius: 22px;
  }

  .avatar-wrap {
    width: 170px;
    height: 170px;
  }

  .bio {
    font-size: 0.97rem;
  }
}