:root {
  --bg: #0b0c0f;
  --bg-elev: #14161b;
  --border: #23262d;
  --text: #e9ecef;
  --text-dim: #9097a1;
  --accent: #7c5cff;
  --accent-soft: rgba(124, 92, 255, 0.12);
  --radius: 12px;
  --max-width: 640px;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 48px;
}

.hero {
  text-align: center;
  margin-bottom: 48px;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 24px;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  position: relative;
}

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

.avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
}

h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.tagline {
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 400;
}

.bio {
  margin-bottom: 32px;
}

.bio p {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 15px;
}

.bio p:last-child {
  margin-bottom: 0;
}

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.panel h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.panel p {
  font-size: 15px;
  color: var(--text);
}

.panel a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

.panel a:hover {
  border-bottom-color: var(--accent);
}

.trades {
  list-style: none;
}

.trades li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.trades li:last-child {
  border-bottom: none;
}

.trades strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 4px;
}

.links .social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.links .social li a {
  display: inline-block;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.links .social li a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact {
  font-size: 14px;
  color: var(--text-dim);
}

.contact a {
  color: var(--text);
}

footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

@media (max-width: 600px) {
  main {
    padding: 48px 20px 32px;
  }
  h1 {
    font-size: 28px;
  }
  .avatar {
    width: 100px;
    height: 100px;
  }
  .panel {
    padding: 20px;
  }
}
