:root {
  --bg: #03140b;
  --bg-glow: #008542;
  --fg: #f1f7f2;
  --muted: #a9c4b1;
  --btn: #5EF0A8;
  --btn-hover: #8DF6C2;
  --btn-fg: #032412;
  --btn-sub: #0b4a28;
  --accent: #00DC76;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at top, var(--bg-glow), var(--bg) 60%) fixed;
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main {
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 16px 64px;
  text-align: center;
}
#avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 0 32px rgba(0, 220, 118, .35);
}
h1 { margin: 14px 0 6px; font-size: 1.6rem; letter-spacing: .02em; }
#bio { margin: 0 0 6px; color: var(--muted); }
#contact { margin: 0 0 8px; font-size: .9rem; }
.mail { color: var(--accent); text-decoration: none; }
.mail:hover { text-decoration: underline; }
h2 {
  margin: 32px 0 12px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 52px;
  background: var(--btn);
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--btn-fg);
  text-decoration: none;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.link:hover, .link:focus-visible {
  transform: translateY(-2px);
  background: var(--btn-hover);
  box-shadow: 0 6px 20px rgba(0, 220, 118, .3);
  outline: none;
}
.label { font-weight: 600; }
.sub { font-size: .85rem; color: var(--btn-sub); }
.icon {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat;
  mask: var(--src) center / contain no-repeat;
}
.icon.tile {
  left: 14px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: none;
}
main { opacity: 0; transition: opacity .2s; }
.ready main { opacity: 1; }
