/* ═══════════════════════════════════════════
   nav.css — Navigation & Cursor
   RainByte Studios
═══════════════════════════════════════════ */

/* ── Custom Cursor ── */
#cursor-ring {
  position: fixed; top: 0; left: 0;
  z-index: 9999;
  width: 32px; height: 32px;
  border: 1.5px solid var(--blue-glow);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-smooth),
              height 0.3s var(--ease-smooth),
              border-color 0.3s,
              background 0.3s;
  mix-blend-mode: screen;
}
#cursor-dot {
  position: fixed; top: 0; left: 0;
  z-index: 9999;
  width: 5px; height: 5px;
  background: var(--blue-glow);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}
body.cursor-hover #cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--accent);
  background: rgba(74, 144, 217, 0.07);
}
body.cursor-vp #cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--vp-violet);
  background: rgba(176, 106, 255, 0.07);
}

/* ── Nav ── */
nav#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-pad);
  transition: background 0.5s, backdrop-filter 0.5s, border-bottom 0.5s;
}
nav#main-nav.scrolled {
  background: rgba(7, 7, 9, 0.88);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--silver);
}
.nav-logo .drop-icon { width: 36px; height: 36px; }
.nav-logo .logo-text-wrap { display: flex; flex-direction: column; }
.nav-logo .studios {
  font-size: 0.52rem;
  letter-spacing: 0.35em;
  color: var(--silver-dim);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--silver-dim);
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--blue-glow);
  transition: width 0.4s var(--ease-smooth);
}
.nav-links a:hover { color: var(--ice); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.vp-link { color: var(--vp-violet); }
.nav-links a.vp-link::after { background: var(--vp-violet); }
.nav-links a.vp-link:hover { color: #d4aaff; }

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--ice);
  border: 1px solid rgba(74, 144, 217, 0.45);
  padding: 10px 22px;
  border-radius: 2px;
  background: rgba(74, 144, 217, 0.08);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav-cta:hover {
  background: rgba(74, 144, 217, 0.2);
  border-color: var(--blue-glow);
  box-shadow: 0 0 24px rgba(74, 144, 217, 0.3);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
}
