:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --accent: #4f46e5;
  --accent-soft: #eef2ff;
  --border: #e5e7eb;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 40px;
  width: 100%;
  max-width: 520px;
  text-align: center;
  animation: rise 0.6s ease both;
}

.avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.name {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 4px 0 20px;
  color: var(--accent);
  font-weight: 500;
}

.links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-bee {
  background: #fbbf24;
  border-color: #fbbf24;
  color: #1a1a2e;
}

.btn-bee:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #1a1a2e;
}

.btn-yahtzee {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

.btn-yahtzee:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.btn-cycling {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.btn-cycling:hover {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.btn-linkedin {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #ffffff;
}

.btn-linkedin:hover {
  background: #084e93;
  border-color: #084e93;
  color: #ffffff;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.projects {
  margin-top: 32px;
}

.projects-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
  text-align: center;
}

.project-links {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer {
  margin-top: 28px;
  font-size: 0.8rem;
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .card {
    padding: 36px 24px;
  }

  .name {
    font-size: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card {
    animation: none;
  }
}
