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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  background: #000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem 4rem;
}

.page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 2rem;
  gap: 0;
}

/* Avatar */
.avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.avatar-wrap--placeholder {
  background: rgba(255, 255, 255, 0.15);
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Profile text */
.profile-name {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.4rem;
}

.profile-bio {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  max-width: 360px;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: color 0.15s, background 0.15s;
}

.social-icon:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.5rem;
}

.link-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.9rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, transform 0.1s, border-color 0.15s;
  backdrop-filter: blur(4px);
}

.link-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.link-btn:active {
  transform: translateY(0);
}

.link-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.link-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.no-links {
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
}

@media (max-width: 520px) {
  body {
    padding: 1.5rem 1rem 3rem;
  }

  .card {
    padding: 2rem 1.25rem;
  }
}
