:root {
  --bg: #2c375d;
  --bg-soft: #131a35;
  --ink: #ecedf7;
  --ink-dim: #9aa0c7;
  --ink-faint: #5b618a;
  --coral: #ff6b9d;
  --teal: #4ecdc4;
  --gold: #ffd166;
  --line: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(18, 23, 49, 0.62);
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --radius: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(78, 205, 196, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(255, 107, 157, 0.10), transparent 60%),
    var(--bg);
}

a { color: inherit; }

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

/* ---------- Landing card ---------- */

.card {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0 auto;
  padding: 48px 36px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 209, 102, 0.35), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(255, 107, 157, 0.35), transparent 55%),
    linear-gradient(140deg, #1d2750, #2a1d44);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow), inset 0 0 0 4px rgba(255, 255, 255, 0.03);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.photo:hover { transform: rotate(-3deg) scale(1.03); }

.photo__initials {
  font-family: var(--mono);
  font-size: 32px;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.85;
}
.photo__hint {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

h1 {
  font-size: clamp(36px, 6vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 4px 0 0;
  background: linear-gradient(120deg, var(--ink), #ffd9e8 60%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bio {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
.bio__aside {
  color: var(--ink-dim);
  font-style: italic;
}

.facts {
  list-style: none;
  padding: 18px 20px;
  margin: 4px 0 0;
  background: var(--card-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
}
.facts li {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: baseline;
  gap: 12px;
}
.facts__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.facts__value {
  font-size: 16px;
  color: var(--ink);
}

.link {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px dashed rgba(78, 205, 196, 0.5);
  transition: color 0.2s, border-color 0.2s;
}
.link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), #ff8e7c);
  color: #1a0f1f;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px -10px rgba(255, 107, 157, 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(255, 107, 157, 0.8);
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--line);
}
.button--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.08);
}

@media (max-width: 480px) {
  .card { padding: 36px 22px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .photo, .button { transition: none; }
}
