:root {
  --accent: #fff27e;
  --accent-soft: #fae04e3d;
  --accent-glow: #fae04e3d;
  --bg-deep: #0f0e0b;
  --bg-deep-2: #191813;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.09);
  --text-primary: #f5f5f7;
  --text-secondary: #aaa8a1;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  position: relative;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.aurora {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 35% at 20% 20%, var(--accent-glow), transparent 60%),
    radial-gradient(ellipse 45% 40% at 80% 30%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse 55% 45% at 50% 85%, var(--accent-soft), transparent 65%),
    linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-deep-2) 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  animation: auroraShift 22s ease-in-out infinite alternate;
  filter: blur(40px);
}

@keyframes auroraShift {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0%; }
  50%  { background-position: 30% 40%, 70% 60%, 40% 70%, 0% 0%; }
  100% { background-position: 10% 20%, 90% 10%, 60% 90%, 0% 0%; }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  .aurora { animation: none; }
}

.card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 40px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.02) inset;
  animation: cardRise 0.7s cubic-bezier(.16,1,.3,1) both;
}

@keyframes cardRise {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.avatar-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), transparent 40%, var(--accent));
  animation: spin 6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .avatar-ring { animation: none; }
}

@keyframes spin { to { transform: rotate(360deg); } }

.avatar {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--bg-deep-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--accent);
  border: 3px solid var(--bg-deep);
  object-fit: cover;
  overflow: hidden;
}

.avatar img { width: 100%; height: 100%; object-fit: cover; }

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2ecc71;
  border: 3px solid var(--bg-deep-2);
}

.name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.tagline {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 280px;
}

.badge {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  padding: 5px 12px;
  border-radius: 999px;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.links {
  width: 100%;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.link-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.link-item:hover, .link-item:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent-glow);
  background: rgba(255,255,255,0.06);
}

.link-item:hover::before, .link-item:focus-visible::before {
  opacity: 1;
}

.link-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.link-icon {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.link-icon svg { width: 100%; height: 100%; }

.link-label {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: left;
}

.link-arrow {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  font-size: 14px;
  transition: transform 0.25s ease;
}

.link-item:hover .link-arrow {
  transform: translateX(3px);
  color: var(--accent);
}

.footer {
  margin-top: 26px;
  font-size: 12px;
  color: var(--text-secondary);
  opacity: 0.6;
  letter-spacing: 0.02em;
}

@media (max-width: 380px) {
  .card { padding: 32px 20px 26px; }
}