/* 右侧固定导航菜单样式 */

.sidebar-nav {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 9999 !important;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 15px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  backdrop-filter: blur(10px);
  cursor: move;
  user-select: none;
  transition: box-shadow 0.3s ease;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.sidebar-nav:hover {
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 6px 20px rgba(0, 0, 0, 0.1);
}

.nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 15px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  color: #666666;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 80px;
  font-family: 'Noto Serif SC', serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-btn:hover {
  background: #f8f9fa;
  border-color: #4a90e2;
  color: #4a90e2;
  transform: translateX(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.nav-btn span:first-child {
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.nav-btn:hover span:first-child {
  transform: scale(1.1);
}

.nav-btn span:last-child {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .sidebar-nav {
    right: 15px;
    padding: 15px 12px;
  }
  
  .nav-btn {
    padding: 10px 12px;
    min-width: 70px;
    font-size: 0.75rem;
  }
  
  .nav-btn span:first-child {
    font-size: 1.2rem;
  }
  
  .nav-btn span:last-child {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .sidebar-nav {
    position: fixed;
    bottom: 20px;
    right: 20px;
    top: auto;
    transform: none;
    border-radius: 20px;
    padding: 12px 10px;
    z-index: 9999 !important;
  }
  
  .sidebar-nav:hover {
    transform: scale(1.05);
  }
  
  .nav-buttons {
    flex-direction: row;
    gap: 10px;
  }
  
  .nav-btn {
    padding: 8px 10px;
    min-width: auto;
    font-size: 0.7rem;
    border-radius: 15px;
    flex-direction: column;
  }
  
  .nav-btn span:first-child {
    font-size: 1.1rem;
  }
  
  .nav-btn span:last-child {
    display: none;
  }
  
  .nav-btn:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 480px) {
  .sidebar-nav {
    bottom: 15px;
    right: 15px;
    padding: 10px 8px;
  }
  
  .nav-buttons {
    gap: 8px;
  }
  
  .nav-btn {
    padding: 6px 8px;
    font-size: 0.65rem;
  }
  
  .nav-btn span:first-child {
    font-size: 1rem;
  }
} 