:root {
  --card-bg: rgba(255, 255, 255, 0.88);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --linkedin: #0a66c2;
  --x: #111827;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;

  background: linear-gradient(
    120deg,
    #bfdbfe,
    #93c5fd,
    #67e8f9,
    #bfdbfe
  );
  background-size: 300% 300%;
  animation: gradientMove 18s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  max-width: 420px;
  width: 100%;
  text-align: center;
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  padding: 2.75rem 2rem;
  border-radius: 22px;
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.18);

  opacity: 0;
  transform: translateY(20px);
  animation: cardIn 0.8s ease forwards;

  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Avatar with gradient halo */
.avatar {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  z-index: 1;

  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}

.avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #38bdf8, #67e8f9);
  z-index: -1;
}

h1 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  color: var(--text-primary);
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
}

.link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.link:hover {
  transform: translateY(-2px);
}

.link.linkedin:hover {
  background: var(--linkedin);
  color: white;
  box-shadow: 0 10px 25px rgba(10, 102, 194, 0.35);
}

.link.x:hover {
  background: var(--x);
  color: white;
  box-shadow: 0 10px 25px rgba(17, 24, 39, 0.35);
}

@media (max-width: 480px) {
  .container {
    padding: 2.25rem 1.5rem;
  }
}
