:root {
  --base: #1e1e2e;
  --mantle: #181825;
  --crust: #11111b;
  --text: #cdd6f4;
  --subtext1: #bac2de;
  --subtext0: #a6adc8;
  --surface0: #313244;
  --surface1: #45475a;
  --surface2: #585b70;
  --overlay0: #6c7086;
  --lavender: #b4befe;
  --blue: #89b4fa;
  --mauve: #cba6f7;
  --pink: #f5c2e7;
  --green: #a6e3a1;
  --peach: #fab387;
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: radial-gradient(circle at top, var(--mantle), var(--crust));
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.card {
  background: var(--base);
  border: 1px solid var(--surface0);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--mauve);
  box-shadow: 0 0 0 6px var(--surface0), 0 8px 24px rgba(0,0,0,0.5);
  margin-bottom: 1.25rem;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--lavender);
  letter-spacing: 0.01em;
}

.tagline {
  margin: 0 0 1.75rem;
  color: var(--subtext0);
  font-size: 0.9rem;
  line-height: 1.6;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-btn {
  --accent: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 5rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  background: var(--surface0);
  border: 1px solid var(--surface1);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.22s ease,
              background 0.22s ease,
              border-color 0.22s ease;
}

.link-btn:hover,
.link-btn:focus-visible {
  transform: scale(1.06);
  background: var(--surface1);
  border-color: var(--accent);
  box-shadow: 0 10px 26px -6px var(--accent);
}

.link-btn:active {
  transform: scale(0.98);
}

.link-btn .icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}

.link-btn .icon svg {
  width: 100%;
  height: 100%;
}

/* Single-color icons get tinted by the button's accent variable */
.link-btn:not(.icon-multicolor) .icon svg {
  fill: var(--accent);
  transition: fill 0.22s ease;
}

.link-btn .label {
  text-align: center;
}

footer {
  margin-top: 1.5rem;
  color: var(--overlay0);
  font-size: 0.78rem;
}

@media (max-width: 400px) {
  .card { padding: 2rem 1.25rem; }
  .avatar { width: 110px; height: 110px; }
}