:root {
  --nv-bg: #04141f;
  --nv-panel: #092336;
  --nv-panel-soft: #0d2e46;
  --nv-text: #d7fff6;
  --nv-acid: #2ee6c4;
  --nv-line: #1e607a;
  --nv-hot: #88ffe9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  color: var(--nv-text);
  background:
    linear-gradient(180deg, rgba(5, 20, 31, 0.96), rgba(2, 10, 16, 0.98)),
    repeating-linear-gradient(0deg, rgba(32, 95, 120, 0.18) 0, rgba(32, 95, 120, 0.18) 1px, transparent 1px, transparent 34px),
    repeating-linear-gradient(90deg, rgba(32, 95, 120, 0.16) 0, rgba(32, 95, 120, 0.16) 1px, transparent 1px, transparent 34px);
  min-height: 100vh;
}

.nv-shell {
  width: min(1480px, 97vw);
  margin: 0 auto;
}

.nv-header {
  position: sticky;
  top: 0;
  z-index: 85;
  background: rgba(4, 17, 26, 0.9);
  border-bottom: 1px solid var(--nv-line);
}

.nv-header .nv-shell {
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nv-logo img {
  width: 236px;
  max-width: 74vw;
}

.nv-burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--nv-acid);
  border-radius: 8px;
  background: #082636;
  color: var(--nv-hot);
  font-size: 1.2rem;
}

.nv-nav {
  display: flex;
  gap: 0.55rem;
}

.nv-nav a {
  text-decoration: none;
  color: var(--nv-text);
  border: 1px solid var(--nv-line);
  padding: 0.42rem 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nv-nav a:hover,
.nv-nav a[aria-current="page"] {
  border-color: var(--nv-acid);
  color: #03151e;
  background: linear-gradient(90deg, #31ffd7, #95ffed);
}

.nv-main {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1rem;
}

.nv-section,
.nv-sidebar,
.nv-cube,
.nv-policy {
  background: linear-gradient(180deg, var(--nv-panel), var(--nv-panel-soft));
  border: 1px solid var(--nv-line);
  border-radius: 14px;
  padding: 1rem;
}

h1,
h2,
h3 {
  font-family: "Exo 2", sans-serif;
  margin-top: 0;
  color: #e8fffb;
}

.nv-alert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.nv-alert-grid article {
  border: 1px solid #2d6d86;
  border-radius: 10px;
  padding: 0.75rem;
  background: rgba(3, 15, 24, 0.45);
}

.nv-stage {
  margin-top: 1rem;
  border: 2px solid var(--nv-acid);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(46, 230, 196, 0.18);
}

.nv-stage iframe {
  width: 100%;
  height: min(78vh, 720px);
  border: 0;
  display: block;
  background: #02070a;
}

.nv-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}

.nv-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--nv-line);
  background: rgba(3, 13, 21, 0.96);
}

.nv-footer .nv-shell {
  padding: 1rem 0 1.4rem;
}

.nv-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.nv-links a {
  color: #8ffff0;
}

.nv-gate {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(2, 10, 16, 0.88);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.nv-gate[hidden] {
  display: none;
}

.nv-gate-panel {
  width: min(520px, 95vw);
  border: 1px solid var(--nv-acid);
  border-radius: 14px;
  background: #072233;
  padding: 1rem;
}

.nv-gate-buttons {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.nv-gate-buttons button {
  flex: 1;
  border: 0;
  border-radius: 8px;
  padding: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.nv-allow {
  background: #31ffd7;
  color: #06242f;
}

.nv-deny {
  background: #17384d;
  color: #defdf7;
}

@media (max-width: 1030px) {
  .nv-main {
    grid-template-columns: 1fr;
  }

  .nv-alert-grid,
  .nv-widgets {
    grid-template-columns: 1fr;
  }

  .nv-burger {
    display: inline-block;
  }

  .nv-nav {
    display: none;
    position: absolute;
    top: 74px;
    right: 2vw;
    width: min(290px, 92vw);
    flex-direction: column;
    background: #082636;
    border: 1px solid var(--nv-acid);
    border-radius: 10px;
    padding: 0.6rem;
  }

  .nv-nav.open {
    display: flex;
  }
}