/* Persistent site navigation, shared by every static page.
   Deliberately self-contained: most pages load seo-page.css, but a couple
   carry their own inline styles instead, so this file assumes nothing about
   the variables or resets the host page defines. */
.site-nav {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(8, 8, 18, 0.92);
  border-bottom: 1.5px solid rgba(255, 217, 102, 0.24);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.6rem 1.1rem;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
}

.site-nav-brand {
  align-items: center;
  color: #ffd966;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 0.4rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.site-nav-links a {
  border-radius: 0.45rem;
  color: rgba(243, 235, 218, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.6rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav-links a:hover {
  background: rgba(255, 217, 102, 0.08);
  color: #ffd966;
}

/* Marks the page the visitor is already on. */
.site-nav-links a[aria-current="page"] {
  background: rgba(255, 217, 102, 0.12);
  color: #ffd966;
}

.site-nav-links a.site-nav-play,
.site-nav-links a.site-nav-play:hover {
  background: linear-gradient(135deg, #ffd966, #c9a84c);
  color: #171000;
}

.site-nav-links a.site-nav-play:hover {
  filter: brightness(1.06);
}

@media (max-width: 560px) {
  .site-nav {
    gap: 0.4rem;
    padding: 0.5rem 0.7rem;
  }

  .site-nav-brand {
    font-size: 0.9rem;
  }

  .site-nav-links a {
    font-size: 0.76rem;
    padding: 0.35rem 0.45rem;
  }
}
