:root {
  --bg: #0A1F1F;
  --accent: #50E3C2;
  --text: #F8F9FA;
  --link: #2BAF95;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg);
  font-family: 'JetBrains Mono', monospace;
  color: var(--text);
}

/* ⬆ Topbar hover zone */
.topbar-hover-zone {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 16px;
  z-index: 999;
}

/* ⬆ Topbar itself */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  background-color: #061616;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 600;
  opacity: 0;
  pointer-events: none; 
  transition: opacity 0.3s ease;
}

.topbar-hover-zone:hover + .topbar,
.topbar:hover {
  opacity: 1;
  pointer-events: auto;
}

.nav-links a {
  color: var(--link);
  text-decoration: none;
  margin-right: 2rem;
  font-weight: bold;
}

.nav-links a:last-child {
  margin-right: 0;
}

.nav-links a:hover {
  color: var(--accent);
}

.site-name {
  color: var(--accent);
  font-size: 1.1rem;
  user-select: none;
}
