:root {
  --accent: #fc4c02; /* Strava-ish orange, nods to the cycling theme */
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
  --link-bg: rgba(20, 22, 28, 0.26);
  --link-bg-hover: rgba(20, 22, 28, 0.5);
  --border: rgba(255, 255, 255, 0.28);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 0 18px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  text-align: center;
  background: #0e1116 url("/images/background.jpg") center / cover no-repeat fixed;
}

/* Soft scrim concentrated behind the content for legibility,
   feathering out so the photo stays visible toward the edges. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 65% 55% at 50% 44%,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.28) 45%,
      rgba(0, 0, 0, 0.08) 75%,
      rgba(0, 0, 0, 0) 100%);
}

/* Just a centering container now — no panel covering the photo. */
.card {
  width: 100%;
  max-width: 22rem;
  padding: 0;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

.name {
  margin: 1rem 0 0.25rem;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: var(--shadow);
}

.creds {
  font-weight: 500;
  color: var(--muted);
}

.tagline {
  margin: 0 0 1.75rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--muted);
  text-shadow: var(--shadow);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
  background: var(--link-bg);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.link:hover,
.link:focus-visible {
  background: var(--link-bg-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
  outline: none;
}

.link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.link span { flex: 1; text-align: left; }

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

.footer p { margin: 0; }

@media (max-width: 380px) {
  .name { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .link { transition: none; }
  .link:hover, .link:focus-visible { transform: none; }
}
