:root {
  --mf-nav-glass: rgba(7, 12, 26, 0.58);
  --mf-nav-glass-2: rgba(15, 23, 42, 0.82);
  --mf-nav-glass-border: rgba(255, 255, 255, 0.18);
  --mf-nav-text: #e2e8f0;
  --mf-nav-text-muted: #9fb0cc;
  --mf-nav-grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 42%, #ec4899 100%);
  --mf-nav-shadow: 0 18px 48px rgba(2, 6, 23, 0.52);
  --mf-nav-shadow-soft: 0 8px 24px rgba(2, 6, 23, 0.35);
  --mf-nav-ring: 0 0 0 3px rgba(99, 102, 241, 0.35);
}

#navbar-container {
  position: relative;
  z-index: 1200;
}

/* Navbar page-enter animation */
.mf-navbar.mf-navbar-enter {
  opacity: 0;
  transform: translateY(-22px) scale(0.97);
  transition: opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.mf-navbar.mf-navbar-enter .mf-nav-shell {
  opacity: 0.45;
  transform: translateY(-10px) scale(0.99);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) 60ms,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 60ms;
}

/* Navbar içi link/aksiyon elemanları için kademeli giriş */
.mf-navbar.mf-navbar-enter .mf-brand,
.mf-navbar.mf-navbar-enter .mf-nav-link,
.mf-navbar.mf-navbar-enter .mf-auth-btn,
.mf-navbar.mf-navbar-enter .mf-profile-btn,
.mf-navbar.mf-navbar-enter .mf-notification-btn {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mf-navbar.mf-navbar-enter .mf-brand {
  transition-delay: 120ms;
}

.mf-navbar.mf-navbar-enter .mf-nav-center > *:nth-child(1) .mf-nav-link,
.mf-navbar.mf-navbar-enter .mf-nav-center > *:nth-child(1).mf-nav-link {
  transition-delay: 180ms;
}

.mf-navbar.mf-navbar-enter .mf-nav-center > *:nth-child(2) .mf-nav-link,
.mf-navbar.mf-navbar-enter .mf-nav-center > *:nth-child(2).mf-nav-link {
  transition-delay: 240ms;
}

.mf-navbar.mf-navbar-enter .mf-nav-center > *:nth-child(3) .mf-nav-link,
.mf-navbar.mf-navbar-enter .mf-nav-center > *:nth-child(3).mf-nav-link {
  transition-delay: 300ms;
}

.mf-navbar.mf-navbar-enter .mf-nav-center > *:nth-child(4) .mf-nav-link,
.mf-navbar.mf-navbar-enter .mf-nav-center > *:nth-child(4).mf-nav-link {
  transition-delay: 360ms;
}

.mf-navbar.mf-navbar-enter .mf-nav-right .mf-auth-btn,
.mf-navbar.mf-navbar-enter .mf-nav-right .mf-profile-btn,
.mf-navbar.mf-navbar-enter .mf-nav-right .mf-notification-btn {
  transition-delay: 420ms;
}

.mf-navbar.mf-navbar-enter.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mf-navbar.mf-navbar-enter.is-visible .mf-nav-shell,
.mf-navbar.mf-navbar-enter.is-visible .mf-brand,
.mf-navbar.mf-navbar-enter.is-visible .mf-nav-link,
.mf-navbar.mf-navbar-enter.is-visible .mf-auth-btn,
.mf-navbar.mf-navbar-enter.is-visible .mf-profile-btn,
.mf-navbar.mf-navbar-enter.is-visible .mf-notification-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .mf-navbar.mf-navbar-enter,
  .mf-navbar.mf-navbar-enter .mf-nav-shell,
  .mf-navbar.mf-navbar-enter .mf-brand,
  .mf-navbar.mf-navbar-enter .mf-nav-link,
  .mf-navbar.mf-navbar-enter .mf-auth-btn,
  .mf-navbar.mf-navbar-enter .mf-profile-btn,
  .mf-navbar.mf-navbar-enter .mf-notification-btn,
  .mf-navbar.mf-navbar-enter.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.mf-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1300;
  padding: 0.5rem 1rem 0;
}

.mf-nav-shell {
  position: relative;
  isolation: isolate;
  max-width: 1260px;
  margin: 0 auto;
  border: 1px solid var(--mf-nav-glass-border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgb(7 12 26 / 35%), rgb(15 23 42 / 37%));
  min-height: 49px;
  padding: 0.5rem 0.95rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
}

.mf-nav-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.08) 25%,
      rgba(99, 102, 241, 0.28) 50%,
      rgba(236, 72, 153, 0.24) 75%,
      rgba(255, 255, 255, 0.35) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.mf-nav-shell::after {
  content: '';
  position: absolute;
  top: -120%;
  left: -20%;
  width: 40%;
  height: 300%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 45%, transparent 100%);
  transform: rotate(12deg);
  animation: mfNavSheen 9s linear infinite;
  pointer-events: none;
}

.mf-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 0.25rem 0.4rem;
  transition: transform 220ms ease, filter 220ms ease, background 220ms ease;
}

.mf-brand:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  background: rgba(255, 255, 255, 0.04);
}

.mf-brand:focus-visible {
  outline: none;
  box-shadow: var(--mf-nav-ring);
}

.mf-brand-logo {
  width: auto;
  height: 44px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(99, 102, 241, 0.32));
}

.mf-nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.mf-nav-link,
.mf-auth-btn,
.mf-dropdown-link,
.mf-dropdown-logout {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.mf-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--mf-nav-text-muted);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 999px;
  padding: 0.68rem 1rem;
  position: relative;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mf-nav-dropdown {
  position: relative;
}

.mf-nav-dropdown-toggle {
  border: none;
  cursor: pointer;
  background: transparent;
}

.mf-dropdown-caret {
  font-size: 0.72rem;
  opacity: 0.85;
  transition: transform 180ms ease;
}

.mf-nav-dropdown-toggle[aria-expanded="true"] .mf-dropdown-caret {
  transform: rotate(180deg);
}

.mf-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.94));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--mf-nav-shadow-soft);
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transition: all 180ms ease;
  z-index: 25;
}

.mf-nav-dropdown-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mf-nav-dropdown-link {
  width: 100%;
  justify-content: flex-start;
  padding: 0.72rem 0.86rem;
}

.mf-nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.28rem;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--mf-nav-grad);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.65);
  transform: translateX(-50%);
  transition: none;
}

.mf-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.mf-nav-link:hover::after,
.mf-nav-link.is-active::after {
  width: 62%;
}

.mf-nav-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(236, 72, 153, 0.2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 8px 20px rgba(2, 6, 23, 0.34);
}

.mf-nav-link:focus-visible {
  outline: none;
  box-shadow: var(--mf-nav-ring);
}

.mf-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.mf-auth-btn {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  background: var(--mf-nav-grad);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 0.65rem 1.05rem;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.36);
}

.mf-auth-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 34px rgba(99, 102, 241, 0.45);
}

.mf-auth-btn:focus-visible {
  outline: none;
  box-shadow: var(--mf-nav-ring);
}

.mf-profile-wrap {
  position: relative;
}

.mf-profile-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  padding: 2px;
  cursor: pointer;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.mf-profile-btn:hover {
  transform: translateY(-1px) scale(1.045);
  box-shadow: 0 16px 38px rgba(99, 102, 241, 0.42);
}

.mf-profile-btn:focus-visible {
  outline: none;
  box-shadow: var(--mf-nav-ring), 0 16px 38px rgba(99, 102, 241, 0.42);
}

.mf-profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.mf-profile-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  min-width: 204px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.94));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--mf-nav-shadow-soft);
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.42rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transition: all 180ms ease;
  transform-origin: top center;
}

.mf-profile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mf-dropdown-link,
.mf-dropdown-logout {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--mf-nav-text-muted);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 999px;
  padding: 0.76rem 0.88rem;
  cursor: pointer;
  position: relative;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mf-dropdown-link::after,
.mf-dropdown-logout::after {
  content: '';
  position: absolute;
  left: 2.45rem;
  bottom: 0.35rem;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--mf-nav-grad);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.65);
  transition: none;
}

.mf-dropdown-link:hover,
.mf-dropdown-logout:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.mf-dropdown-link:hover::after,
.mf-dropdown-link.is-active::after,
.mf-dropdown-logout:hover::after,
.mf-dropdown-logout.is-active::after {
  width: 62%;
}

.mf-dropdown-link.is-active,
.mf-dropdown-logout.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(236, 72, 153, 0.2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 8px 20px rgba(2, 6, 23, 0.34);
}

.mf-dropdown-link:focus-visible,
.mf-dropdown-logout:focus-visible {
  outline: none;
  box-shadow: var(--mf-nav-ring);
}

.mf-dropdown-logout {
  color: #fecaca;
}

.mf-link-icon {
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.46), rgba(236, 72, 153, 0.35));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 5px 12px rgba(2, 6, 23, 0.34);
}

.mf-link-text {
  display: inline-block;
}

.mf-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.mf-hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.mf-hamburger:focus-visible {
  outline: none;
  box-shadow: var(--mf-nav-ring);
}

.mf-hamburger span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 10px;
}


/* Ultra Premium Notification Bell Styles */
.mf-notification-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 0.75rem;
}

.mf-notification-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 0;
}

.mf-notification-btn:hover,
.mf-notification-btn[aria-expanded="true"] {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.mf-notification-btn .mf-link-icon {
  font-size: 1.35rem !important;
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mf-notification-btn:hover .mf-link-icon,
.mf-notification-btn[aria-expanded="true"] .mf-link-icon {
  transform: rotate(15deg) scale(1.1);
}

.mf-notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #ff007f, #ff7e5f);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0f1016;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  padding: 0;
  animation: mfNeonPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: 2;
}

@keyframes mfNeonPulse {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.5), 0 0 20px rgba(255, 0, 127, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  }

  50% {
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.8), 0 0 35px rgba(255, 0, 127, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  }
}

.mf-notification-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: -50px;
  width: 360px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, rgba(15, 20, 35, 0.95), rgba(8, 12, 25, 0.98));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: top 85%;
  z-index: 100;
  overflow: hidden;
}

.mf-notification-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.mf-notification-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mf-notification-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.mf-notification-header span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(to right, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.mf-notification-view-all {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.mf-notification-view-all:hover {
  color: #fff;
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.mf-notification-list {
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.mf-notification-list::-webkit-scrollbar {
  width: 5px;
}

.mf-notification-list::-webkit-scrollbar-track {
  background: transparent;
}

.mf-notification-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
  border-radius: 10px;
}

.mf-notification-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.8), rgba(236, 72, 153, 0.8));
}

.mf-notification-item {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem .25rem;
  margin: 0 0.85rem;
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.mf-notification-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #8b5cf6, #ec4899);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scaleY(0.3);
  border-radius: 4px 0 0 4px;
}

.mf-notification-item:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.05));
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 15px rgba(139, 92, 246, 0.1);
  padding-left: 1.5rem;
}

.mf-notification-item:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.mf-notification-item img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  background-origin: border-box;
  background-clip: content-box, border-box;
  background-image: linear-gradient(#0f1016, #0f1016), linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mf-notification-item:hover img {
  transform: scale(1.1) rotate(5deg);
  background-image: linear-gradient(#0f1016, #0f1016), linear-gradient(135deg, #8b5cf6, #ec4899);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
}

.mf-noti-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  font-family: 'Outfit', sans-serif;
  margin-top: 2px;
  padding: 0 5px;
}

.mf-noti-sender {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.mf-notification-item:hover .mf-noti-sender {
  background: linear-gradient(to right, #ffffff, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mf-noti-text {
  text-align: left;
  font-size: 0.85rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.mf-notification-item:hover .mf-noti-text {
  color: #e2e8f0;
}

.mf-noti-time {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.25rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mf-noti-time::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #64748b;
  opacity: 0.5;
  transition: background 0.3s ease, opacity 0.3s ease;
}

.mf-notification-item:hover .mf-noti-time::before {
  background: #ec4899;
  opacity: 1;
  box-shadow: 0 0 8px #ec4899;
}

.mf-notification-empty {
  padding: 3.5rem 2rem;
  text-align: center;
  color: #64748b;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}

.mf-notification-empty::before {
  content: '📭';
  font-size: 3.5rem;
  opacity: 0.8;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.4));
  animation: mfFloatEmpty 4s ease-in-out infinite;
}

@keyframes mfFloatEmpty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes mfNavSheen {
  0% {
    transform: translateX(-220%) rotate(12deg);
    opacity: 0;
  }

  12% {
    opacity: 0.7;
  }

  25% {
    opacity: 0;
  }

  100% {
    transform: translateX(360%) rotate(12deg);
    opacity: 0;
  }
}

@media (max-width: 968px) {

  .mf-nav-shell {
    grid-template-columns: auto auto 1fr;
    min-height: 66px;
  }

  .mf-hamburger {
    display: inline-flex;
  }

  .mf-nav-center {
    position: absolute;
    top: calc(100% + -1px);
    left: 0.6rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.94));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--mf-nav-shadow-soft);
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.42rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition: all 180ms ease;
    transform-origin: top center;
  }

  .mf-nav-center.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mf-nav-link {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 0.76rem 0.88rem;
  }

  .mf-nav-dropdown {
    width: 100%;
  }

  .mf-nav-dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
  }

  .mf-nav-dropdown-menu {
    position: static;
    min-width: 100%;
    margin-top: 0.25rem;
    border-radius: 12px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transform: none;
    padding: 0;
  }

  .mf-nav-dropdown-menu.is-open {
    opacity: 1;
    max-height: 320px;
    pointer-events: auto;
    padding: 0.45rem;
  }

  .mf-nav-link::after {
    left: 2.45rem;
    transform: none;
    bottom: 0.35rem;
  }

}

@media (prefers-reduced-motion: reduce) {

  .mf-nav-shell::after,
  .mf-nav-link,
  .mf-auth-btn,
  .mf-profile-btn,
  .mf-profile-menu,
  .mf-hamburger,
  .mf-nav-center {
    animation: none !important;
    transition: none !important;
  }
}