.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 8px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--c-border);
  
}

.navbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  border-radius: var(--r-md);
  color: var(--c-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s var(--ease-out);
  cursor: pointer;
  position: relative;
}

.navbar__item.is-active {
  color: var(--c-accent);
}


.navbar__item {
  position: relative;
}

.navbar__unread-dot {
  position: absolute;
  top: 2px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
  border: 1.5px solid var(--c-bg);
}


.navbar__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.navbar__icon svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s var(--ease-spring);
}

.navbar__item.is-active .navbar__icon svg {
  transform: scale(1.1);
}


.navbar__item.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c-accent);
}


.navbar__post {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080808;
  transition: all 0.2s var(--ease-spring);
  cursor: pointer;
  border: none;
  flex-shrink: 0;
}

.navbar__post:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px var(--c-accent-glow);
}

.navbar__post:active {
  transform: scale(0.95);
}

.navbar__post svg {
  width: 22px;
  height: 22px;
}


.navbar__badge {
  position: absolute;
  top: 0px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-danger);
  border: 1.5px solid var(--c-bg);
}
.navbar__unread-dot {
  position: absolute;
  top: 2px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent); 
  border: 1.5px solid var(--c-bg);
  z-index: 1;
}


.navbar__icon-wrapper {
  position: relative;
}
.navbar__icon-wrapper {
  position: relative;
}
.navbar__item[data-screen="wallet"].is-guest,
.navbar__item[data-screen="inbox"].is-guest,
.navbar__item[data-screen="profile"].is-guest {
  opacity: 0.5;
  cursor: not-allowed;
  position: relative;
}

.navbar__item[data-screen="wallet"].is-guest:hover::after {
  content: "Sign in for Wallet";
}
.navbar__item[data-screen="inbox"].is-guest:hover::after {
  content: "Sign in for Messages";
}
.navbar__item[data-screen="profile"].is-guest:hover::after {
  content: "Sign in for Profile";
}

.navbar__item.is-guest:hover::after {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-surface3);
  color: var(--c-text);
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}
