/* Shared demo-only tweaks (intentionally minimal). */

/* ============================== */
/* Top navigation (demo header)   */
/* ============================== */

.site-header {
  color: #fff;
}

.navbar {
  background-color: #0b1020 !important;
  background-image: radial-gradient(1200px 700px at 12% 10%, rgba(124, 58, 237, 0.35), rgba(0, 0, 0, 0) 60%),
    radial-gradient(1000px 600px at 88% 18%, rgba(34, 167, 240, 0.22), rgba(0, 0, 0, 0) 62%),
    radial-gradient(900px 600px at 70% 85%, rgba(99, 102, 241, 0.2), rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 220px);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 15px 0;
}

.navbar-brand {
  color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-brand:hover {
  color: #fff !important;
}

.navbar-title {
  color: #fff !important;
  cursor: default;
}

.nav-item,
.nav-link {
  transition: color 0.12s ease, background 0.12s ease;
  cursor: pointer;
}

/* Center nav text vertically inside pills */
.navbar .nav-item {
  display: flex;
  align-items: center;
}

.navbar .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  line-height: 1;
  padding-top: 8px;
  padding-bottom: 8px;
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none !important;
}

.nav-item.active:hover,
.nav-link.active:hover {
  cursor: default;
  color: #fff;
  background: transparent;
  border-color: transparent;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-link--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff !important;
}

.nav-link--icon img {
  filter: brightness(0) invert(1);
}

.demo-shell .navbar {
  max-width: 900px;
  margin: 20px auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.18);
}

.navbar .nav-link.active,
.navbar .nav-link.is-active {
  color: #ffffff !important;
  background: transparent !important;
  border-color: transparent !important;
  font-weight: 600;
}

.ttt-page + .site-footer {
  margin-top: 12px;
}
