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

:root {
  --brand: #4f46e5;
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --text: #f5f5f5;
  --subtext: #a3a3a3;
  --radius: 14px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 20px 80px;
}

#app {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  text-align: center;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.profile-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.profile-tagline {
  font-size: 14px;
  color: var(--subtext);
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 20px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.07);
  transition: background 0.15s, transform 0.1s, border-color 0.15s;
  position: relative;
}

.link-btn:hover {
  background: color-mix(in srgb, var(--brand) 15%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
  transform: translateY(-1px);
}

.link-btn:active {
  transform: translateY(0);
}

.link-btn-accent {
  background: var(--brand);
  border-color: transparent;
}

.link-btn-accent:hover {
  background: color-mix(in srgb, var(--brand) 85%, #fff);
  border-color: transparent;
}

.error {
  text-align: center;
  color: var(--subtext);
  margin-top: 80px;
}

.error h2 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}

.error p {
  font-size: 14px;
}
