/* ZENDRA – Site-wide Top Nav (Injected) */
.z-nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0b0b14;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  transform: translateZ(0);
}
.z-nav-inner{
  max-width: 1155px;
  margin: 0 auto;
  padding: 13px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.z-brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.z-badge{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(170,120,255,0.60);
  background: rgba(170,120,255,0.18);
  box-shadow:
    0 0 22px rgba(170,120,255,0.22),
    inset 0 0 10px rgba(170,120,255,0.10);
  font-weight: 900;
  letter-spacing: 0.5px;
}
.z-badge svg{
  filter: drop-shadow(0 0 8px rgba(190,150,255,0.55));
}
.z-brand span{
  font-weight: 800;
  letter-spacing: 0.5px;
  opacity: 1;
  text-shadow: 0 0 10px rgba(170,120,255,0.28);
}
.z-links{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
}
.z-links a{
  text-decoration:none;
  font-size: 0.92em;
  opacity: 0.85;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: 0.18s ease;
}
.z-links a:hover{
  opacity: 1;
  border-color: rgba(150,100,255,0.25);
  background: rgba(150,100,255,0.08);
}
.z-links a.active{
  opacity: 1;
  border-color: rgba(150,100,255,0.38);
  background: rgba(150,100,255,0.12);
}


/* === v53 Original Badge Polish === */

.badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
}

.badge.original,
.badge-original,
.badge[data-badge="original"] {
  background: linear-gradient(135deg, #6f42ff, #9b6dff);
  box-shadow: 0 0 14px rgba(143, 92, 255, 0.35);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  transition: box-shadow 0.3s ease;
}

.badge.original:hover,
.badge-original:hover,
.badge[data-badge="original"]:hover {
  box-shadow: 0 0 18px rgba(143, 92, 255, 0.45);
}

@keyframes originalGlow {
  0% { box-shadow: 0 0 10px rgba(143, 92, 255, 0.25); }
  50% { box-shadow: 0 0 16px rgba(143, 92, 255, 0.40); }
  100% { box-shadow: 0 0 10px rgba(143, 92, 255, 0.25); }
}

.badge.original,
.badge-original,
.badge[data-badge="original"] {
  animation: originalGlow 8s ease-in-out infinite;
}



/* === v54 Badge Inline Fix === */

.badge-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap !important;
  overflow-x: auto;
}

.badge-row::-webkit-scrollbar {
  height: 6px;
}

.badge-row::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
}



/* v159 – Mobile header tighten + remove blur/blue-line artifacts */
@media (max-width: 560px){
  .z-nav-inner{ padding: 10px 12px; gap: 10px; }
  .z-links{ gap: 10px; }
  .z-links a{ padding: 8px 9px; font-size: 0.90em; }
  .z-badge{ width: 32px; height: 32px; border-radius: 11px; }
}

/* v13: Mobile header blend + centered hamburger row */
@media (max-width: 720px){
  /* Remove the hard cut/line under the header and blend into page */
  .z-nav{
    box-shadow: none !important;
    border-bottom: 0 !important;
    position: relative;
  }
  .z-nav::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -22px;
    height: 22px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(11,11,20,0.95), rgba(11,11,20,0));
  }
}

/* v14: Remove mobile divider line under the *site* header (public pages) + blend into hero */
@media (max-width: 760px){
  .site-header{
    border-bottom: 0 !important;
    /* Fade the header into the hero so there’s no harsh “cut” */
    background: linear-gradient(to bottom,
      rgba(8,10,18,.98) 0%,
      rgba(8,10,18,.94) 45%,
      rgba(8,10,18,.70) 78%,
      rgba(8,10,18,0) 100%) !important;
    position: sticky;
  }
  .site-header::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -26px;
    height: 26px;
    pointer-events: none;
    /* Subtle diffusion so the gradient feels continuous */
    background: linear-gradient(to bottom, rgba(8,10,18,.55), rgba(8,10,18,0));
  }
}
