/* Container header */
header.site-header {
  position: sticky;
  top: 12px;
  z-index: 40;
}

/* Main nav glass card */
.nav {         
display: flex; 
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(
      to bottom right,
      rgba(30, 60, 120, 0.18),
      rgba(10, 20, 40, 0.18)
    );
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(120, 180, 255, 0.18);
  padding: 12px 18px;
  border-radius: 14px;
  /* backdrop-filter: blur(6px); */
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.14);
  position: relative;
  overflow: hidden;
}

/* .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  padding: 12px 18px;
  border-radius: 14px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.14);
  position: relative;
  overflow: hidden;
} */

/* Shine swipe effect */
.nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
      110deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.25) 50%,
      rgba(255,255,255,0) 100%
  );
  mix-blend-mode: overlay;
  animation: shineMove 3s linear infinite;
  pointer-events: none;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #031026;
  font-size: 18px;
  box-shadow: 0 4px 18px rgba(9, 12, 20, 0.6);
}

.brand h1 {
  font-size: 16px;
  margin: 0;
}

/* Links */
nav a {
  margin-left: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: .15s ease;
}

nav a:hover {
  color: var(--accent-2);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

@keyframes shineMove {
  0% {
    left: -120%;
  }
  100% {
    left: 120%;
  }
}

@media (max-width: 620px) {

  .nav {
    flex-direction: row;         
    justify-content: space-between;
    align-items: center;

    padding: 8px 12px;           
    border-radius: 10px;
    gap: 8px;

    width: 100%;
  }

  .brand {
    gap: 8px;
  }

  .logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .brand h1 {
    font-size: 4px;
  }

  .brand .small {
    font-size: 8px;
  }

  nav {
    display: flex;
    flex-direction: row;          /* row hi rakhna */
    gap: 10px;
  }

  nav a {
    margin-left: 0 !important;
    font-size: 14px;
  }
}
