/* 底部导航栏样式 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
/*  padding: 8px 0;*/
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 12px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  border-radius: var(--radius-md);
  min-width: 60px;
}

.nav-item:hover {
  background: var(--bg-pink-light);
}

.nav-item-icon {
  width: 24px;
  height: 24px;
  transition: all var(--transition-fast);
}

.nav-item-label {
  font-size: var(--font-xs);
  font-weight: var(--font-medium);
  transition: all var(--transition-fast);
}

/* 激活状态 */
.nav-item.active {
  color: var(--primary-color);
  color: #ff5e7b;
}

.nav-item.active .nav-item-icon {
  stroke: var(--primary-color);
  transform: scale(1.1);
}

.nav-item.active .nav-item-label {
  color: var(--primary-color);
  color: #ff5e7b;
}

/* 发布按钮特殊样式 */
.nav-item.nav-publish {
  position: relative;
}

.nav-item.nav-publish .nav-item-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgb(252 10 10 / 40%), #ff69b4);
  border-radius: var(--radius-full);
  padding: 12px;
  box-shadow: var(--shadow-md);
/*  margin-top: -20px;*/
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 5px solid #ffffff;
    position: absolute;
    bottom: 10px;
}

.nav-item.nav-publish .nav-item-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(252 10 10 / 60%) 0%, rgba(248 164 10 / 68%) 50%, #ff7373 100%);
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
  }
  
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
      opacity: 0.3;
    }
    50% {
      transform: scale(1.15);
      opacity: 0;
    }
  }

.nav-item.nav-publish .nav-item-icon svg {
  stroke: var(--white);
}

.nav-item.nav-publish:hover .nav-item-icon {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.fbsapn{
  top: 11px;
    position: absolute;
}
/* 为页面底部留出空间 */
body {
  padding-bottom: 90px;
}