/* Homepage navigation base. Shared theme-refresh.css supplies the current brand and controls. */
:root { --black:#0a0a0a; --black-2:#111111; --black-3:#1a1a1a; --lime:#c8f53e; --lime-dark:#a8d42e; --white:#f5f2eb; --white-dim:rgba(245,242,235,.6); --white-faint:rgba(245,242,235,.1); --border:rgba(245,242,235,.1); }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  height: 62px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; flex-shrink: 0; }
.logo span { color: var(--lime); }
.nav-links {
  list-style: none; display: flex; align-items: center; gap: 0.45rem;
  margin: 0 auto; padding: 0 2rem;
}
.nav-links li a {
  color: var(--white-dim); text-decoration: none; font-size: 0.8rem;
  padding: 0.48rem 0.82rem; line-height: 1; display: block;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-links li a:hover {
  color: var(--white);
  border-color: rgba(245,242,235,0.14);
  background: rgba(245,242,235,0.055);
  transform: translateY(-1px);
}
.nav-links li a.nav-highlight {
  color: var(--black);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 22px rgba(200,245,62,0.12);
}
.nav-links li a.nav-highlight:hover { color: var(--black); background: var(--lime-dark); }
.menu-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle span {
  width: 15px;
  height: 2px;
  border-radius: 100px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 101;
  background: rgba(10,10,10,0.97);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
}
.mobile-menu.open { display: grid; gap: 0.5rem; }
.mobile-menu a,
.mobile-menu button {
  width: 100%;
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--white);
  text-align: left;
  text-decoration: none;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
}
.mobile-menu .mobile-auth-link,
.mobile-menu .mobile-admin,
.mobile-menu .mobile-logout { display: none; }
.mobile-menu.signed-in .mobile-auth-link,
.mobile-menu.signed-in .mobile-logout { display: block; }
.mobile-menu.signed-in.admin .mobile-admin { display: block; }
.nav-divider {
  width: 1px; height: 18px; background: var(--border);
  margin: 0 0.5rem; flex-shrink: 0;
}
.nav-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.nav-cta {
  background: var(--lime); color: var(--black);
  padding: 0.5rem 1.2rem; border-radius: 100px;
  font-weight: 600; font-size: 0.85rem; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--lime-dark); transform: scale(1.03); }
.nav-user, .nav-account, .nav-admin {
  display: none;
  color: var(--white-dim);
  border: 1px solid var(--border);
  background: var(--white-faint);
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-account:hover, .nav-admin:hover { color: var(--white); border-color: var(--white-dim); }
.profile-icon {
  width: 38px;
  height: 38px;
  justify-content: center;
  padding: 0;
  font-size: 0;
  border-color: rgba(195, 255, 43, 0.35);
  background: radial-gradient(circle at 35% 25%, rgba(195, 255, 43, 0.22), rgba(255,255,255,0.05) 58%);
  box-shadow: 0 0 18px rgba(195, 255, 43, 0.08);
}
.profile-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background: var(--lime);
  -webkit-mask: url("/assets/profile-svgrepo-com.svg") center / contain no-repeat;
  mask: url("/assets/profile-svgrepo-com.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 7px rgba(195, 255, 43, 0.38));
}
.profile-icon:hover {
  border-color: var(--lime);
  background: rgba(195, 255, 43, 0.16);
  box-shadow: 0 0 22px rgba(195, 255, 43, 0.16);
}
.nav-right.signed-in .nav-user,
.nav-right.signed-in .nav-account { display: inline-flex; }
.nav-right.signed-in.admin .nav-admin { display: inline-flex; }
.nav-right.signed-in .get-started-link { display: none; }
.nav-logout {
  display: none;
  background: transparent;
  color: var(--white-dim);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-logout:hover { color: var(--white); border-color: var(--white-dim); background: var(--white-faint); }
.nav-right.signed-in .nav-logout { display: inline-flex; }

@media (max-width: 860px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-right { gap: 0.5rem; margin-left: auto; }
  .nav-user, .nav-account, .nav-admin, .nav-logout { display: none !important; }
  .nav-cta { padding: 0.48rem 0.85rem; font-size: 0.8rem; }
}


nav, .site-footer { line-height: normal; }
