:root {
  color-scheme: dark;
  --bg: #050505;
  --zinc-900: #18181b;
  --zinc-800: #27272a;
  --accent: #10b981;
  --text: #ffffff;
  --text-muted: #a1a1aa;
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.03);
  --radius: 20px;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Geist Sans", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100dvh;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(10px);
}

.wrapper {
  max-width: 420px;
  margin: 0 auto;
  padding: 64px 24px;
  position: relative;
  z-index: 2;
}

.section-block {
  margin-bottom: 40px;
}

@media (prefers-reduced-motion: no-preference) {
  .section-block {
    animation: fade-up 0.5s ease-out both;
  }

  .section-block:nth-of-type(2) {
    animation-delay: 0.1s;
  }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-header {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-left: 10px;
  border-left: 2px solid var(--accent);
}

.title-block {
  margin-bottom: 8px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

@media (prefers-reduced-motion: no-preference) {
  .dot {
    animation: pulse 2s infinite;
  }
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 1; }
  50%  { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1);   opacity: 1; }
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  display: block;
}

h1 {
  font-size: clamp(2.2rem, 14vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1 .muted {
  color: var(--text-muted);
}

.bio-text {
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 45ch;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-height: 48px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border-color 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (prefers-reduced-motion: no-preference) {
  .link-btn {
    opacity: 0;
    animation: fade-up 0.4s ease-out forwards;
    animation-delay: calc(0.15s + var(--i, 0) * 0.06s);
  }
}

.link-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(16, 185, 129, 0.14), transparent);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .link-btn::before {
    transition: transform 0.5s ease-out;
  }

  .link-btn:hover::before,
  .link-btn:focus-visible::before {
    transform: translateX(260%);
  }
}

.link-btn:hover,
.link-btn:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .link-btn:hover,
  .link-btn:focus-visible {
    transform: scale(0.98);
  }
}

.link-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.link-icon {
  position: relative;
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.link-btn:hover .link-icon,
.link-btn:focus-visible .link-icon {
  color: var(--accent);
}

.link-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.link-title {
  position: relative;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}

footer {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 8px;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-family: "Geist Sans", sans-serif;
  font-size: 14px;
}

.stats-table th,
.stats-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.stats-table th {
  font-family: "Geist Mono", monospace;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 480px) {
  .wrapper {
    padding: 40px 16px;
  }
}
