/* MSPNexus placeholder styles */

:root {
  color-scheme: dark;
  --bg-image: url('mspnexus-bg-WithLogo.png');
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --text: #eaf2ff;
  --text-dim: #c9d6ea;
  --shadow: rgba(0, 0, 0, 0.35);
  --shadow-strong: rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --container: 1100px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: #0b0f14;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Full-viewport background */
.bg {
  position: fixed;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);
  will-change: transform;
}

/* Transparent center with smoked edges */
.overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 32%,
      rgba(0,0,0,0.28) 60%,
      rgba(0,0,0,0.48) 100%),
    linear-gradient(rgba(0,0,0,0.08), rgba(0,0,0,0.08));
}

/* Contained, glassy navbar */
.nav-wrap {
  position: fixed;
  top: 24px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  z-index: 10;
}

.nav {
  width: 100%;
  max-width: var(--container);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px var(--shadow);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 1px 2px var(--shadow-strong);
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 180ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 147, 255, 0.6);
}

/* Center stage left transparent on purpose to showcase the art */
.center-stage {
  min-height: 100svh;
}

/* Responsive tweaks */
@media (max-width: 560px) {
  .nav {
    padding: 10px 12px;
  }
  .brand {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
  }
  .nav-link {
    padding: 6px 10px;
  }
}

/* Screen-reader utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
