/* ============================================================
   nav.css — Navbar & Cursor
   ============================================================ */

/* ── Custom Cursor ── */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245, 245, 240, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.1s ease;
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor,
body:has(.card:hover) .cursor {
  transform: translate(-50%, -50%) scale(2.5);
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring,
body:has(.card:hover) .cursor-ring {
  width: 60px;
  height: 60px;
  opacity: 0.3;
}

/* ── Navbar ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 10, 0.8);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--white);
}
.nav-logo span {
  color: var(--grey-3);
}

.nav-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--grey-3);
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--grey-2);
  padding: 6px 14px;
  border-radius: 2px;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--grey-3);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
  }
  .nav-tag {
    display: none;
  }
}
