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

:root {
  --bg: #08080a;
  --card-bg: #111114;
  --card-hover: #16161b;
  --border: #1e1e24;
  --border-hover: #33333d;
  --text-main: #ffffff;
  --text-muted: #80808e;
  --font-main: "Figtree", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.25rem 3rem;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--border);
  padding: 3px;
  margin-bottom: 1.25rem;
  background: var(--card-bg);
}

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

.name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.motto {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 40ch;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}

.links-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.link-card:hover {
  background: var(--card-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.link-card.highlight {
  border-color: rgba(255, 255, 255, 0.3);
}

.link-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.link-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.link-title {
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 1px;
}

.link-action {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.link-card:hover .link-action {
  color: var(--text-main);
}

footer {
  margin-top: 3.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

footer a {
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px dashed var(--border-hover);
  padding-bottom: 1px;
}
