  .dynamic-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 33, 75, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px; /* شکل بیضی آیلند */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 25px;
    width: 92%;
    max-width: 1000px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    font-family: 'Vazirmatn', sans-serif;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .dynamic-header:hover {
    background: rgba(8, 33, 75, 0.85);
    border-color: rgba(59, 130, 246, 0.3);
  }


  .brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
    color: #f8fafc;
    letter-spacing: -0.5px;
  }
  
  .island-dot {
    width: 6px; height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
  }
  
  .brand-logo .text-blue { color: #3b82f6; }

 
  .desktop-nav {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }

 
  .nav-link.active, .mobile-menu .btn-sm.active {
    color: #60a5fa !important;
    background: rgba(59, 130, 246, 0.15) !important;
    border: 1px solid rgba(59, 130, 246, 0.3);
  }

  
  .auth-actions {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .btn-sm {
    padding: 9px 22px;
    border-radius: 30px; 
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .btn-primary-sm { background: #3b82f6; color: #fff; border: 1px solid transparent; }
  .btn-primary-sm:hover { background: #2563eb; transform: translateY(-2px); }

  .btn-outline-sm { border: 1px solid rgba(255, 255, 255, 0.15); color: #f8fafc; background: rgba(255, 255, 255, 0.03); }
  .btn-outline-sm:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }

  .btn-danger-sm { background: rgba(239, 68, 68, 0.1); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
  .btn-danger-sm:hover { background: rgba(239, 68, 68, 0.2); transform: translateY(-2px); }

  
  .mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
  }

 
  .mobile-menu {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-15px);
    width: 90%;
    max-width: 350px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  }

  .mobile-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  /* رسپانسیو */
  @media (max-width: 768px) {
    .desktop-nav, .auth-actions { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    .dynamic-header { top: 15px; width: 95%; padding: 12px 20px; }
    .mobile-menu { top: 85px; }
  }