.fancy-btn {
  position: relative;
  background: #000;
  color: white;
  font-size: 1.2rem;
  padding: 0.8em 2em;
  border: none;
  clip-path: polygon(
    0 10%, 4% 10%, 4% 0, 96% 0, 96% 10%, 100% 10%, 
    100% 90%, 96% 90%, 96% 100%, 4% 100%, 4% 90%, 0 90%
  );
  cursor: pointer;
  transition: all 0.3s ease;
}

.fancy-btn::before {
  content: "";
  position: absolute;
    border: 2px solid black;
  clip-path: inherit;
  pointer-events: none;
}

.fancy-btn:hover {
  background: #333;
  transform: translateY(-2px);
}