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

:root {
  --bg: #2a2d3e;
  --card: #1a1a1a;
  --border: #2a2a2a;
  --accent: #00d4ff;
  --text: #f0f0f0;
  --muted: #888;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 4rem;
}

.page {
  width: 100%;
  max-width: 480px;
  background: #141414;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.25rem;
  align-self: flex-start;
}

/* Profil */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.profile-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.profile-photo-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
}

.profile-name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.625rem 1rem 0.625rem 0.625rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.link-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
}

.link-thumb {
  width: 96px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.link-thumb-empty {
  background: var(--border);
}

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

.link-title {
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
}

.link-domain {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
}

/* Footer */
.footer {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
}
