*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #111111;
  --accent: #43C97E;
  --text: #d4d4d4;
  --muted: #666;
  --card: #1a1a1a;
  --border: #222;
  --nav-height: 64px;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1e1e1e;
  z-index: 100;
}
.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem; font-weight: 700; color: #fff;
  text-decoration: none; letter-spacing: -0.02em; transition: color .2s;
}
.nav-logo:hover { color: var(--accent); }
.nav-links { display: flex; gap: .25rem; list-style: none; }
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: .82rem; color: var(--muted); text-decoration: none;
  padding: .4rem .85rem; border-radius: 6px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--accent); background: rgba(67,201,126,.07); }

.page {
  position: relative; z-index: 1;
  max-width: 540px; margin: 0 auto;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 4rem;
}
header { text-align: center; margin-bottom: 2rem; }
header h1 {
  font-size: 1.4rem; font-weight: 700; color: #fff;
  letter-spacing: -0.02em; margin-bottom: .4rem;
  animation: fadeUp .6s ease both;
}
header p {
  font-size: .78rem; color: var(--muted);
  animation: fadeUp .6s .08s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.grid { display: flex; flex-direction: column; gap: .5rem; }

.btn {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: .88rem; font-weight: 400;
  opacity: 0;
  animation: fadeUp .5s ease forwards;
  transition: border-color .2s, color .2s, background .2s;
}
.btn:hover { border-color: var(--accent); color: #fff; background: #1e1e1e; }
.btn img {
  width: 20px; height: 20px; object-fit: contain;
  filter: invert(1); flex-shrink: 0;
}
.btn:hover img { filter: invert(1) sepia(1) saturate(3) hue-rotate(90deg) brightness(1.1); }

footer {
  position: relative; z-index: 1;
  display: flex; justify-content: center; gap: 2rem;
  padding: 1.5rem 2.5rem; border-top: 1px solid #1e1e1e;
}
footer a {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem; color: #666; text-decoration: none; transition: color .2s;
}
footer a:hover { color: var(--accent); }

@media (max-width: 600px) {
  nav { padding: 0 1.2rem; }
  .nav-links a { padding: .35rem .5rem; font-size: .75rem; }
  .page { padding-left: 1rem; padding-right: 1rem; }
}
