/* matt-links — minimal dark linktree */

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

:root {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --surface-hover: #252525;
  --text: #f0f0f0;
  --text-muted: #888;
  --accent: #e0e0e0;
  --radius: 12px;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

main {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* ---- Profile ---- */

.profile {
  text-align: center;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---- Links ---- */

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

.link-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s, transform 0.15s;
}

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

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

.icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
}

.label {
  font-size: 1rem;
  font-weight: 500;
}

/* ---- Footer ---- */

footer {
  padding-top: 0.5rem;
}

footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
}
