* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, pink, #000);
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px;
  color: #eaeaea;
} 

.card {
  width: 360px;
  padding: 28px;
  background: #0b0b0b;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.profile {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid pink;
  margin-bottom: 16px;
}

h1 {
  font-size: 1.6rem;
  font-weight: 600;
}

.alias {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 4px;
}

.alias span {
  font-family: serif;
}

hr {
  border: none;
  height: 1px;
  background: #222;
  margin: 18px 0;
}

.bio {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ccc;
  margin-bottom: 22px;
}

.links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.links a, .links .link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: pink;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: transform .12s ease, background .12s ease;
  justify-content: center;
  text-align: center;
}

.links a:hover, .links .link-btn:hover {
  transform: translateY(-2px);
  background: #ff85d1;
}

/* Linked in Button */
.links .link-center {
  grid-column: 1 / -1;
  justify-self: center;
  width: auto;
  padding: 8px 16px;
}
/* Icon inside link buttons */
.link-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

/* Main layout: card + projects */
.main {
  display: flex;
  gap: 20px;
  align-items: stretch; /* allow the projects panel to match card height */
}

/* Fix card width and make projects a compact column */
.card {
  flex: 0 0 360px; /* fixed column for the card */
}

.projects {
  flex: 0 0 300px; /* compact column width */
  width: 300px;
  background: #0b0b0b;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.03);
  margin-top: 0;
  text-align: left;
}

/* Page-level projects title centered at the top */
.page-title {
  text-align: center;
  width: 100%;
  margin: 8px 0 18px;
  font-size: 1.45rem;
  letter-spacing: 0.2px;
}


.projects-list {
  display: grid;
  gap: 8px;
}

.project {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.02);
}

.project-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.project h3 {
  margin: 0;
  font-size: 0.95rem;
}

.project.empty {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 12px 8px;
  background: transparent;
  border: none;
}

.project .empty em {
  color: #bbb;
  font-style: italic;
}

.project .link-btn {
  padding: 6px 8px;
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  .main {
    flex-direction: column;
  }

  .projects {
    width: 100%;
    flex: 1 1 auto;
    padding: 18px;
  }

  .card {
    width: 100%;
    flex: 1 1 auto;
  }
}