* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #60a5ff;
  font-family: 'Segoe UI', sans-serif;
}

.nav-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: #FFFFFF;
  border-radius: 10px;
}

.notch {
  position: absolute;
  top: -5px;
  width: 70px;
  height: 32px;
  background: #60a5ff;
  transform: rotate(180deg);  
  z-index: 10;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  clip-path: path('M0,28 L10,28 C20,28 20,10 35,8 C50,10 50,28 60,28 L70,28 Z');
}

.notch .circle {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 110px;
  padding: 0 20px;
  position: relative;
  z-index: 1
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 16px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.2s ease,
              box-shadow 0.35s ease;
  overflow: hidden;
}

.nav-item:hover:not(.active) {
  background: rgba(10, 132, 255, 0.07);
  transform: translateY(-2px);
}

.nav-item svg {
  width: 30px;
  height: 30px;
  min-width: 30px;
  fill: #B0BAC9;
  transition: fill 0.35s ease, transform 0.3s ease;
}

.nav-item .label {
  font-size: 15px;
  font-weight: 700;
  color: #0A84FF;
  letter-spacing: 0.6px;
  white-space: nowrap;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(4px);
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease 0.05s,
              transform 0.3s ease 0.05s;
}

.nav-item.active svg {
  fill: #0A84FF;
  filter: drop-shadow(0 2px 6px rgba(10,132,255,0.25));
}

.nav-item.active .label {
  max-height: 29px;
  opacity: 1;
  transform: translateY(0);
}