:root {
  --bg-1: #090312;
  --bg-2: #1b0a35;
  --bg-3: #3a1368;
  --surface: rgba(22, 11, 41, 0.72);
  --text: #f5efff;
  --muted: #c9b5ee;
  --accent: #d74dff;
  --accent-2: #8d5bff;
  --border: rgba(215, 77, 255, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 12%, rgba(215, 77, 255, 0.34), transparent 44%),
    radial-gradient(circle at 86% 18%, rgba(141, 91, 255, 0.35), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(69, 20, 122, 0.55), transparent 55%),
    linear-gradient(140deg, var(--bg-1), var(--bg-2) 58%, var(--bg-3));
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  opacity: 0.14;
}

.card {
  width: min(100%, 430px);
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--surface);
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(215, 77, 255, 0.18),
    0 20px 55px rgba(0, 0, 0, 0.42),
    0 0 45px rgba(160, 72, 255, 0.28);
  text-align: center;
  position: relative;
  animation: pop-in 550ms ease both;
}

.avatar {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 999px;
  border: 3px solid rgba(215, 77, 255, 0.62);
  box-shadow:
    0 0 0 4px rgba(141, 91, 255, 0.22),
    0 0 36px rgba(215, 77, 255, 0.3),
    0 10px 26px rgba(0, 0, 0, 0.4);
}

.eyebrow {
  margin: 14px 0 4px;
  letter-spacing: 0.15em;
  font-size: 0.74rem;
  text-transform: uppercase;
  color: #ddc6ff;
}

h1 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 2.55rem);
  letter-spacing: 0.03em;
  text-shadow: 0 0 18px rgba(215, 77, 255, 0.42);
}

.status {
  margin: 8px auto 10px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(215, 77, 255, 0.5);
  background: rgba(215, 77, 255, 0.15);
  color: #f2d9ff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(215, 77, 255, 0.24);
}

.tagline {
  margin: 10px auto 24px;
  color: var(--muted);
  max-width: 26ch;
  font-size: 0.98rem;
  line-height: 1.45;
}

.links {
  display: grid;
  gap: 11px;
}

.actions {
  display: grid;
  gap: 11px;
}

.link-btn {
  display: block;
  text-decoration: none;
  color: var(--text);
  border-radius: 14px;
  border: 1px solid rgba(215, 77, 255, 0.38);
  background: linear-gradient(135deg, rgba(215, 77, 255, 0.16), rgba(141, 91, 255, 0.12));
  padding: 14px 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transform: translateY(8px);
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  animation: rise 420ms ease forwards;
}

.link-btn:nth-child(1) { animation-delay: 90ms; }
.link-btn:nth-child(2) { animation-delay: 150ms; }
.link-btn:nth-child(3) { animation-delay: 210ms; }
.link-btn:nth-child(4) { animation-delay: 270ms; }
.link-btn:nth-child(5) { animation-delay: 330ms; }

.link-btn:hover,
.link-btn:focus-visible {
  outline: none;
  transform: translateY(-2px) scale(1.01);
  border-color: var(--accent);
  box-shadow:
    0 0 0 2px rgba(215, 77, 255, 0.28),
    0 0 25px rgba(215, 77, 255, 0.34);
  background: linear-gradient(135deg, rgba(215, 77, 255, 0.24), rgba(141, 91, 255, 0.2));
}

footer {
  margin-top: 22px;
  color: var(--muted);
}

.text-link {
  color: #e9d4ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 212, 255, 0.35);
  transition: color 180ms ease, border-color 180ms ease, text-shadow 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 12px rgba(215, 77, 255, 0.45);
  outline: none;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .card {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .avatar {
    width: 98px;
    height: 98px;
  }

  .link-btn {
    padding: 13px 14px;
  }
}
