/* ======================================================================
   THEME — tweak these to restyle the whole page
   ====================================================================== */
:root {
  --bg:          #e9e3d9;
  --text:        #2b2620;
  --muted:       #6b6358;
  --link-bg:     #f7f3ec;
  --link-shadow: 0 4px 14px rgba(60, 50, 35, 0.10);
  --link-hover-shadow: 0 8px 22px rgba(60, 50, 35, 0.16);
  --thumb-bg:    #ece6dc;
  --maxw:        640px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  display: flex;
  justify-content: center;
  padding: 48px 20px 60px;
}

.page {
  width: 100%;
  max-width: var(--maxw);
}

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

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  background: var(--thumb-bg);
}

.name {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-top: 20px;
}

/* Socials (row under name) */
.socials {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 18px;
}

.social {
  color: var(--text);
  display: inline-flex;
  transition: color 0.2s ease, transform 0.15s ease;
}

.social:hover,
.social:focus-visible {
  color: var(--muted);
  transform: translateY(-2px);
  outline: none;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
}

.link {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--text);
  background: var(--link-bg);
  border-radius: 12px;
  padding: 14px 22px 14px 14px;
  box-shadow: var(--link-shadow);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--link-hover-shadow);
  outline: none;
}

.link-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--thumb-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.link-label {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 480px) {
  body { padding-top: 36px; }
  .name { font-size: 1.9rem; }
  .link-thumb { width: 60px; height: 60px; }
  .link-label { font-size: 1rem; }
}
