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

:root {
  --bg: #0e0e10;
  --surface: #1a1a1e;
  --border: #2e2e35;
  --accent: #c8ff00;
  --text: #f0f0f0;
  --muted: #888;
  --radius: 12px;
}

html {
  font-size: 16px;
}

body {
  background-color: var(--bg);
  background-image: url('diag-blue.png');
  background-repeat: repeat;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.container {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ── Hero ── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.photo-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), #00d4ff);
}

.photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 3px solid var(--bg);
}

.name {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.tagline {
  color: var(--muted);
  font-size: 1rem;
  max-width: 380px;
}

/* ── Bio ── */

.bio {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  line-height: 1.7;
  color: #ccc;
  font-size: 0.95rem;
}

/* ── Links ── */

.links-heading {
  font-size: 0.75rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.link-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.link-card:hover {
  border-color: var(--accent);
  background: #1e1e22;
  transform: translateY(-2px);
}

.link-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-card-icon svg {
  width: 22px;
  height: 22px;
}

.link-card-icon svg path {
  fill: #563dc9;
}

.link-card-icon img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: contain;
}

.link-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.link-card-label {
  font-weight: 600;
  font-size: 1rem;
}

.link-card-desc {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: 'Space Mono', monospace;
}

.link-card-arrow {
  font-size: 1.1rem;
  color: var(--muted);
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.link-card:hover .link-card-arrow {
  color: var(--accent);
}

/* ── Responsive ── */

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

  .photo-wrap {
    width: 130px;
    height: 130px;
  }
}
