/* iammiti99 — minimalist link page
   Light + dark via prefers-color-scheme. No JS toggle. */

:root {
  --bg: #f7f7f7;
  --fg: #1b1b1e;
  --muted: #5b6068;
  --card: #ffffff;
  --button-bg: #ffffff;
  --button-bg-hover: #efefef;
  --border: #e3e5e8;
  --accent: #1b1b1e;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --fg: #e6edf3;
    --muted: #8b949e;
    --card: #161b22;
    --button-bg: #21262d;
    --button-bg-hover: #30363d;
    --border: #30363d;
    --accent: #e6edf3;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.card {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  margin: 0 auto 12px;
  display: block;
}

.name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 8px 0 4px;
}

.tagline {
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.6;
}

.links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--button-bg);
  color: var(--fg);
  text-decoration: none;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 500;
  transition: background 0.15s ease, transform 0.15s ease;
}

.links a:hover {
  background: var(--button-bg-hover);
  transform: translateY(-1px);
}

.links a:active {
  transform: translateY(0);
}

.links a i {
  font-size: 18px;
  width: 22px;
  text-align: center;
}

.links a .meta {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 32px;
}

.socials a {
  color: var(--fg);
  font-size: 22px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.15s ease, transform 0.15s ease;
}

.socials a:hover {
  color: var(--muted);
  transform: scale(1.08);
}

.footer {
  color: var(--muted);
  font-size: 0.875rem;
}

.footer p {
  margin: 0 0 6px;
}

.copyright {
  display: block;
  font-size: 0.75rem;
}

@media (max-width: 360px) {
  .links a {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  .links a .meta {
    display: none;
  }
}
