* {
  box-sizing: border-box;
}

:root {
  --bg: #08080d;
  --card: rgba(15, 15, 24, 0.78);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f5f5f7;
  --muted: #9a9aa6;
  --accent: #8b5cf6;
  --accent-2: #4f46e5;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(99, 102, 241, 0.11), transparent 42%),
    var(--bg);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.glow {
  position: fixed;
  width: 330px;
  height: 330px;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.18;
  pointer-events: none;
}

.glow-one {
  top: -90px;
  left: -90px;
  background: var(--accent);
}

.glow-two {
  right: -100px;
  bottom: -120px;
  background: var(--accent-2);
}

.card {
  position: relative;
  width: min(100%, 520px);
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--card);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
  animation: enter 700ms ease both;
}

.status {
  position: absolute;
  top: 22px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 14px #22c55e;
}

.avatar {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.34);
}

h1 {
  margin: 22px 0 6px;
  font-size: clamp(36px, 8vw, 56px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.tagline {
  margin: 0 0 26px;
  color: var(--muted);
}

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

.links a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.links a:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.12);
}

section {
  margin-top: 28px;
}

h2 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

section p {
  margin: 0;
  color: #c9c9d0;
  line-height: 1.7;
}

.project {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.project:last-child {
  border-bottom: 0;
}

.project span {
  color: var(--muted);
  text-align: right;
}

footer {
  margin-top: 28px;
  color: #6f6f7a;
  font-size: 13px;
  text-align: center;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 520px) {
  .card {
    padding: 26px;
    border-radius: 22px;
  }

  .links {
    grid-template-columns: 1fr;
  }

  .project {
    flex-direction: column;
    gap: 4px;
  }

  .project span {
    text-align: left;
  }
}
