:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --border: #e7e9ee;
  --border-hover: #d4d8e0;
  --text: #15181e;
  --text-soft: #5b626f;
  --text-mute: #8a909c;
  --accent: #2f6df6;
  --accent-soft: #eaf1ff;
  --shadow: 0 1px 2px rgba(20, 24, 30, 0.04), 0 8px 24px rgba(20, 24, 30, 0.06);
  --shadow-hover: 0 2px 4px rgba(20, 24, 30, 0.06), 0 16px 40px rgba(47, 109, 246, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

/* Background decoration */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 24, 30, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 24, 30, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  z-index: 0;
}

.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(47, 109, 246, 0.14) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

/* Layout */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  padding: 64px 24px;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 44px;
  animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), #6b9aff);
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(47, 109, 246, 0.3);
}

.name {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.name .accent {
  color: var(--accent);
}

.tagline {
  margin: 16px auto 0;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #1a7a4a;
  background: #e8f7ee;
  border: 1px solid #c8ecd6;
  border-radius: 999px;
}

.status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25b169;
  box-shadow: 0 0 0 0 rgba(37, 177, 105, 0.5);
  animation: pulse 2s infinite;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.2s ease, border-color 0.2s ease;
  animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.card:nth-child(1) { animation-delay: 0.08s; }
.card:nth-child(2) { animation-delay: 0.16s; }
.card:nth-child(3) { animation-delay: 0.24s; }

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.card-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--accent-soft);
  border-radius: 12px;
}

.card-body {
  flex: 1;
  min-width: 0;
}

.card-body h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body p {
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-mute);
}

.badge {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 7px;
  border-radius: 6px;
}

.card-arrow {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--text-mute);
  transition: transform 0.2s ease, color 0.2s ease;
}

.card:hover .card-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* Footer */
.footer {
  margin-top: 44px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
}

.footer a {
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.footer a:hover {
  border-bottom-color: var(--text-soft);
}

/* Animations */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 177, 105, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(37, 177, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 177, 105, 0); }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 48px 18px; }
  .name { font-size: 34px; }
  .card { padding: 16px; }
}
